mirror of
https://github.com/smogon/sprites.git
synced 2026-08-19 16:28:16 -05:00
Adopt smogon.com tsconfig-base and TS ~7.0.2
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"@smogon/sprite-data": "",
|
||||
"@smogon/sprite-root": "",
|
||||
"@types/node": "^18.15.8"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --build tsconfig-workspace.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.0.2"
|
||||
"typescript": "~7.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,3 +2,5 @@ packages:
|
||||
- 'tools/*'
|
||||
- 'lib/*'
|
||||
- "data/lib"
|
||||
allowBuilds:
|
||||
better-sqlite3: true
|
||||
|
||||
@@ -2,12 +2,18 @@
|
||||
"compilerOptions": {
|
||||
"incremental": true,
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"jsx": "react",
|
||||
"lib": ["es2025"],
|
||||
"module": "nodenext",
|
||||
"strict": true,
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
"isolatedModules": true,
|
||||
"composite": true
|
||||
"composite": true,
|
||||
// Support cross-project goto/rename
|
||||
"declarationMap": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"outDir": "${configDir}/.cache",
|
||||
"emitDeclarationOnly": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"allowImportingTsExtensions": true,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user