Skip to content

Commit 9df92b6

Browse files
committed
update next.js version
1 parent f3c4e18 commit 9df92b6

4 files changed

Lines changed: 1397 additions & 673 deletions

File tree

examples/demo/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/app/api-reference/config/typescript for more information.

examples/demo/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@
1414
"fumadocs-mdx": "12.0.3",
1515
"fumadocs-ui": "15.8.5",
1616
"lucide-react": "^0.544.0",
17-
"next": "15.5.4",
18-
"react": "^19.0.0",
19-
"react-dom": "^19.0.0",
17+
"next": "^16.2.6",
18+
"react": "^19.2.6",
19+
"react-dom": "^19.2.6",
2020
"schema-dts": "^2.0.0",
2121
"shiki": "3.23.0"
2222
},
2323
"devDependencies": {
24-
"@tailwindcss/postcss": "^4.1.10",
24+
"@tailwindcss/postcss": "^4.3.0",
2525
"@types/mdx": "^2.0.13",
26-
"@types/node": "^20",
27-
"@types/react": "^19",
28-
"@types/react-dom": "^19",
29-
"postcss": "^8.5.5",
30-
"tailwindcss": "^4.1.10",
31-
"typescript": "^5"
26+
"@types/node": "^20.19.41",
27+
"@types/react": "^19.2.15",
28+
"@types/react-dom": "^19.2.3",
29+
"postcss": "^8.5.15",
30+
"tailwindcss": "^4.3.0",
31+
"typescript": "^5.9.3"
3232
}
33-
}
33+
}

examples/demo/tsconfig.json

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"compilerOptions": {
33
"baseUrl": ".",
44
"target": "ESNext",
5-
"lib": ["dom", "dom.iterable", "esnext"],
5+
"lib": [
6+
"dom",
7+
"dom.iterable",
8+
"esnext"
9+
],
610
"allowJs": true,
711
"skipLibCheck": true,
812
"strict": true,
@@ -13,19 +17,34 @@
1317
"moduleResolution": "bundler",
1418
"resolveJsonModule": true,
1519
"isolatedModules": true,
16-
"jsx": "preserve",
20+
"jsx": "react-jsx",
1721
"incremental": true,
1822
"paths": {
19-
"@/.source": ["./.source/index.ts"],
20-
"@/*": ["./*"],
21-
"@zero-ui/attributes": ["./.zero-ui/attributes.js"]
23+
"@/.source": [
24+
"./.source/index.ts"
25+
],
26+
"@/*": [
27+
"./*"
28+
],
29+
"@zero-ui/attributes": [
30+
"./.zero-ui/attributes.js"
31+
]
2232
},
2333
"plugins": [
2434
{
2535
"name": "next"
2636
}
2737
]
2838
},
29-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".zero-ui/**/*.d.ts"],
30-
"exclude": ["node_modules"]
39+
"include": [
40+
"next-env.d.ts",
41+
"**/*.ts",
42+
"**/*.tsx",
43+
".next/types/**/*.ts",
44+
".zero-ui/**/*.d.ts",
45+
".next/dev/types/**/*.ts"
46+
],
47+
"exclude": [
48+
"node_modules"
49+
]
3150
}

0 commit comments

Comments
 (0)