Skip to content

Commit b45d6d5

Browse files
fix(deps): update nextjs monorepo to v16 (major) (#8870)
* fix(deps): update nextjs monorepo to v16 * Lets go --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
1 parent b67d90f commit b45d6d5

File tree

8 files changed

+204
-81
lines changed

8 files changed

+204
-81
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/dist/server/webpack-plugins/nextra-search.js b/dist/server/webpack-plugins/nextra-search.js
2+
index 6066612e2973274d5c9a76004e0b136d928cafb7..44384bfd742fd25ec0fd8dd782147eaed2af4097 100644
3+
--- a/dist/server/webpack-plugins/nextra-search.js
4+
+++ b/dist/server/webpack-plugins/nextra-search.js
5+
@@ -2,7 +2,7 @@ import { createRequire } from "module";
6+
import { IS_PRODUCTION } from "../constants.js";
7+
const require2 = createRequire(import.meta.url);
8+
const pkg = require2("next/dist/compiled/webpack/webpack.js");
9+
-pkg.init();
10+
+pkg.init?.();
11+
const { sources, webpack } = (
12+
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
13+
pkg

examples/nextjs-apollo-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"apollo-server-micro": "3.13.0",
1818
"graphql": "16.11.0",
1919
"micro": "10.0.1",
20-
"next": "15.5.6",
20+
"next": "16.0.1",
2121
"react": "19.2.0",
2222
"react-dom": "19.2.0"
2323
},

examples/nextjs-sdk-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"apollo-server-micro": "3.13.0",
1919
"graphql": "16.11.0",
2020
"micro": "10.0.1",
21-
"next": "15.5.6",
21+
"next": "16.0.1",
2222
"react": "19.2.0",
2323
"react-dom": "19.2.0"
2424
},

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
"jest-message-util": "patch:jest-message-util@npm%3A29.7.0#~/.yarn/patches/jest-message-util-npm-29.7.0-7f88b6e8d1.patch",
136136
"lru-cache": "patch:lru-cache@11.2.2#~/.yarn/patches/lru-cache-npm-11.2.1-60cdd96af2.patch",
137137
"mermaid": "11.12.1",
138+
"nextra": "patch:nextra@npm%3A3.2.5#~/.yarn/patches/nextra-npm-3.2.5-ab823bf5b2.patch",
138139
"node-fetch": "^2.6.7",
139140
"node-gyp": "^11.0.0",
140141
"nth-check": "^2.0.1",

website/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
/// <reference path="./.next/types/routes.d.ts" />
3+
import './.next/types/routes.d.ts';
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

website/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"private": true,
66
"scripts": {
77
"analyze": "cross-env ANALYZE=true next build",
8-
"build": "next build && next-sitemap",
9-
"dev": "next",
10-
"start": "next start"
8+
"build": "next build --webpack && next-sitemap",
9+
"dev": "next dev --webpack",
10+
"start": "next start --webpack"
1111
},
1212
"dependencies": {
1313
"@theguild/components": "^7.6.0",
14-
"next": "^15.4.1",
14+
"next": "^16.0.0",
1515
"next-sitemap": "^4.2.3",
1616
"react": "^19.0.0",
1717
"react-dom": "^19.0.0",
@@ -24,7 +24,7 @@
2424
"@types/react": "19.2.2",
2525
"cross-env": "10.1.0",
2626
"eslint": "9.38.0",
27-
"eslint-config-next": "15.5.6",
27+
"eslint-config-next": "16.0.1",
2828
"postcss": "8.5.6",
2929
"postcss-import": "16.1.1",
3030
"postcss-lightningcss": "1.0.2",

website/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"moduleResolution": "bundler",
1313
"resolveJsonModule": true,
1414
"isolatedModules": true,
15-
"jsx": "preserve",
15+
"jsx": "react-jsx",
1616
"incremental": true,
1717
"paths": {
1818
"@/*": ["./*"]

0 commit comments

Comments
 (0)