Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/using-stylus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Ian Sinnott <[email protected]>",
"license": "MIT",
"dependencies": {
"gatsby": "^2.0.0",
"gatsby": "^5.14.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This upgrade to Gatsby v5 is a major version change that will introduce breaking changes. The other dependencies in this project are not compatible with Gatsby v5 and must also be updated.

Specifically:

  • react and react-dom must be upgraded from v16 to v18.
  • All gatsby-plugin-* packages (gatsby-plugin-google-analytics, gatsby-plugin-offline, gatsby-plugin-stylus, gatsby-plugin-typography) need to be upgraded to their corresponding major versions compatible with Gatsby v5 (e.g., ^5.14.0).

Without these updates, the project will fail to build. Please update all related dependencies to ensure compatibility.

"gatsby-plugin-google-analytics": "^2.0.5",
"gatsby-plugin-offline": "^2.0.5",
"gatsby-plugin-stylus": "^2.0.1",
Expand Down