The TypeScript, ESLint and Vite configs, .gitignore and .env.development are rewritten with our own notes, with no change to what they do. .gitignore now lets .gitea/ through, so a new workflow file is tracked without git add -f. Gone: upstream's CHANGELOG.md (our releases carry their own notes), the zip build.sh, the Vite template's unused public/icons.svg, the GitLab CI file left from before Gitea, and .github-upstream/, upstream's old workflow kept as a merge reference.
28 lines
800 B
JSON
28 lines
800 B
JSON
{
|
|
// The console's own code, under src/. Vite builds it; tsc only checks it.
|
|
"compilerOptions": {
|
|
"target": "es2023",
|
|
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
"types": ["vite/client"],
|
|
"paths": { "@/*": ["./src/*"] },
|
|
|
|
// Checking only: no output, and imports may name .ts files directly.
|
|
"noEmit": true,
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"erasableSyntaxOnly": true,
|
|
"skipLibCheck": true,
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["src"]
|
|
}
|