Adds "types": ["node"] to tsconfig.json — required by TS 6 to resolve Node globals like path and __dirname. Uses tilde pin since TS doesn't follow semver.
19 lines
469 B
JSON
19 lines
469 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"lib": ["ES2020"],
|
|
"types": ["node"],
|
|
"module": "commonjs",
|
|
"declaration": true,
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"noImplicitThis": true,
|
|
"alwaysStrict": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./",
|
|
"experimentalDecorators": true,
|
|
"skipLibCheck": true
|
|
},
|
|
"exclude": ["node_modules", "dist", "src", "listener", "scripts", "cdk.out"]
|
|
}
|