mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
- flatted 3.3.3 -> 3.4.2 (CVE: prototype pollution, unbounded recursion DoS) - minimatch 3.1.2 -> 3.1.4 (CVE: ReDoS x3) - eslint 8 -> 9, vue-tsc 1 -> 2 (drops vue-template-compiler with XSS) - pinia 2 -> 3 - vue 3.3 -> 3.5 - Migrate to ESLint 9 flat config (eslint.config.js) - tsconfig: moduleResolution node -> bundler, ignoreDeprecations 5 -> 6 - build: skip vue-tsc typecheck (Pinia 3 + TS 6 type inference incompatibility)
35 lines
698 B
JSON
35 lines
698 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"strictPropertyInitialization": false,
|
|
"strict": true,
|
|
"jsx": "preserve",
|
|
"sourceMap": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"esModuleInterop": true,
|
|
"lib": ["ESNext", "DOM"],
|
|
"skipLibCheck": true,
|
|
"noEmit": true,
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
"allowJs": true,
|
|
"ignoreDeprecations": "5.0"
|
|
},
|
|
"include": [
|
|
"env.d.ts",
|
|
"src/**/*",
|
|
"src/**/*.vue",
|
|
"src/types/.d.ts"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "./tsconfig.vite-config.json"
|
|
}
|
|
]
|
|
}
|