standardized tsconfigs

This commit is contained in:
Bojan Kucera 2025-06-03 11:49:45 -04:00
parent 1b71fc87ab
commit 2f5309d80f
17 changed files with 262 additions and 76 deletions

39
tsconfig.json Normal file
View file

@ -0,0 +1,39 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
// JavaScript output target version
"target": "ES2022",
// Module configuration for different project types
"module": "NodeNext",
"moduleResolution": "NodeNext",
// Type checking
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noImplicitThis": true,
"alwaysStrict": true,
// Module interoperability
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
// Additional features
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"sourceMap": true,
"declaration": true,
// Paths and output
"baseUrl": ".",
"paths": {
"@stock-bot/*": ["libs/*/src"]
}
},
"exclude": [
"node_modules",
"dist"
]
}