File tree Expand file tree Collapse file tree 8 files changed +204
-81
lines changed Expand file tree Collapse file tree 8 files changed +204
-81
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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" ,
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" ,
Original file line number Diff line number Diff line change 1212 "moduleResolution" : " bundler" ,
1313 "resolveJsonModule" : true ,
1414 "isolatedModules" : true ,
15- "jsx" : " preserve " ,
15+ "jsx" : " react-jsx " ,
1616 "incremental" : true ,
1717 "paths" : {
1818 "@/*" : [" ./*" ]
You can’t perform that action at this time.
0 commit comments