Chore: Migrate to Vite 8

This commit is contained in:
Fuma Nama
2026-03-13 18:11:02 +08:00
parent 8b3179f91d
commit 04bd3494ec
65 changed files with 2539 additions and 7947 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
"build": "pnpm build:docs && next build",
"dev": "next dev",
"start": "next start",
"build:docs": "node ./scripts/generate-docs.mjs",
"build:docs": "pnpm python:generate && node ./scripts/generate-docs.mjs",
"python:generate": "pip3 install ./node_modules/fumadocs-python && fumapy-generate httpx",
"types:check": "fumadocs-mdx && tsc --noEmit"
},
@@ -22,7 +22,7 @@
"devDependencies": {
"@tailwindcss/postcss": "^4.2.1",
"@types/mdx": "^2.0.13",
"@types/node": "25.4.0",
"@types/node": "25.5.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.8",
+22 -6
View File
@@ -2,7 +2,11 @@
"compilerOptions": {
"baseUrl": ".",
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@@ -13,11 +17,15 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"paths": {
"collections/*": [".source/*"],
"@/*": ["./*"]
"collections/*": [
".source/*"
],
"@/*": [
"./*"
]
},
"plugins": [
{
@@ -25,6 +33,14 @@
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}