mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-09 13:47:14 +00:00
d1bfe368a2
TypeScript 6.0 deprecated `baseUrl` (removed in 7.0). The `@/*` alias resolves relative to each tsconfig without it, and Vite resolves `@` via its own resolve.alias, so baseUrl was vestigial. Dropping it removes the need for `ignoreDeprecations: "6.0"`, which editor-bundled TypeScript (5.x) flagged as an invalid value (TS5103). Also drop the dead `@env`/`./env.ts` entry from tsconfig.node.json: the file does not exist and the alias is imported nowhere. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
37 lines
913 B
JSON
37 lines
913 B
JSON
{
|
|
"compilerOptions": {
|
|
/* Base Options: */
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"target": "es2022",
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"moduleDetection": "force",
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true,
|
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
/* Strictness */
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
|
|
/* If transpiling with TypeScript: */
|
|
"module": "NodeNext",
|
|
"outDir": "dist",
|
|
"sourceMap": true,
|
|
|
|
"noEmit": true,
|
|
|
|
/* If your code doesn't run in the DOM: */
|
|
"lib": ["es2022"],
|
|
/* Paths */
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@pkg": ["./package.json"]
|
|
}
|
|
},
|
|
"include": ["types/**/*.d.ts", "vite.config.ts", "scripts"]
|
|
}
|