Skip to content

Commit f947553

Browse files
authored
Merge pull request #8 from phucbm/upgrade-nextjs-16
feat(package): nextjs 16
2 parents 5d18e8e + 4928695 commit f947553

File tree

4 files changed

+66
-63
lines changed

4 files changed

+66
-63
lines changed

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/dev/types/routes.d.ts";
44

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"homepage": "https://github.com/phucbm/nextra-docs-starter#readme",
2121
"dependencies": {
2222
"@tailwindcss/postcss": "^4.1.16",
23-
"next": "^15.5.4",
23+
"next": "^16.0.1",
2424
"nextra": "^4.6.0",
2525
"nextra-theme-docs": "^4.6.0",
2626
"postcss": "^8.5.6",

pnpm-lock.yaml

Lines changed: 57 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"moduleResolution": "bundler",
1717
"resolveJsonModule": true,
1818
"isolatedModules": true,
19-
"jsx": "preserve",
19+
"jsx": "react-jsx",
2020
"plugins": [
2121
{
2222
"name": "next"
@@ -25,16 +25,19 @@
2525
"module": "esnext",
2626
"baseUrl": ".",
2727
"paths": {
28-
"@/*": ["./*"]
28+
"@/*": [
29+
"./*"
30+
]
2931
}
3032
},
3133
"include": [
3234
"next-env.d.ts",
3335
".next/types/**/*.ts",
3436
"**/*.ts",
35-
"**/*.tsx"
37+
"**/*.tsx",
38+
".next/dev/types/**/*.ts"
3639
],
3740
"exclude": [
3841
"node_modules"
3942
]
40-
}
43+
}

0 commit comments

Comments
 (0)