3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

chore: centralize common TS config options

This commit is contained in:
Dragory 2024-01-27 12:50:09 +02:00
parent b83f388096
commit 7ba318a6d9
No known key found for this signature in database
4 changed files with 23 additions and 33 deletions

View file

@ -1,28 +1,13 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"moduleResolution": "NodeNext",
"module": "NodeNext",
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"target": "esnext",
"lib": ["es2023"],
"baseUrl": ".",
"resolveJsonModule": true,
"esModuleInterop": true,
"outDir": "./dist",
"paths": {
"@shared/*": ["../shared/src/*"]
},
"sourceMap": true,
"alwaysStrict": true,
"noImplicitThis": true,
"skipLibCheck": true,
"strict": true,
"strictPropertyInitialization": false,
"useUnknownInCatchVariables": false,
"allowJs": true
}
},
"include": ["src/**/*.ts"]
}

View file

@ -1,18 +1,11 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"module": "esnext",
"target": "es2018",
"sourceMap": true,
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"strict": false,
"lib": ["esnext", "dom"],
"baseUrl": ".",
"resolveJsonModule": true,
"esModuleInterop": true,
"allowJs": true,
"paths": {
"@shared/*": ["../shared/src/*"]

View file

@ -1,16 +1,9 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"moduleResolution": "NodeNext",
"module": "NodeNext",
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"target": "es2022",
"lib": ["es2022"],
"baseUrl": "src",
"resolveJsonModule": true,
"esModuleInterop": true,
"outDir": "./dist"
},
"include": ["src/**/*.ts"]

19
tsconfig.json Normal file
View file

@ -0,0 +1,19 @@
{
"compilerOptions": {
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"target": "esnext",
"lib": ["es2023"],
"resolveJsonModule": true,
"esModuleInterop": true,
"sourceMap": true,
"alwaysStrict": true,
"noImplicitThis": true,
"skipLibCheck": true,
"strict": true,
"strictPropertyInitialization": false,
"useUnknownInCatchVariables": false
}
}