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 docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@heroicons/react": "~1.0.6",
"next": "~12.2.5",
"next-themes": "0.2.0",
"nextra": "2.0.0-alpha.56",
"nextra": "3.0.0",
"nextra-theme-docs": "2.2.18",
Comment on lines 17 to 20

Choose a reason for hiding this comment

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

critical

Upgrading nextra to v3 is a major change with several breaking changes that are not addressed in this PR. This will break the build.

To correctly upgrade to Nextra v3, you need to:

  1. Upgrade next to version 13, as it's a requirement for Nextra v3.
  2. Remove nextra-theme-docs as it's now bundled with nextra.
  3. Update next.config.js, theme.config.js, and pages/_app.js according to the Nextra v3 migration guide.
  4. After making these changes, run pnpm install to update pnpm-lock.yaml.

Here is a suggested update for your dependencies:

Suggested change
"next": "~12.2.5",
"next-themes": "0.2.0",
"nextra": "2.0.0-alpha.56",
"nextra": "3.0.0",
"nextra-theme-docs": "2.2.18",
"next": "^13.0.0",
"next-themes": "0.2.0",
"nextra": "3.0.0",

"react": "~18.2.0",
"react-dom": "~18.2.0",
Expand Down
Loading