Skip to content

Commit 161a28c

Browse files
committed
chore: tsconfig layers
1 parent 44f1e16 commit 161a28c

File tree

4 files changed

+22
-62
lines changed

4 files changed

+22
-62
lines changed

layers/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"test:e2e": "jest --group=e2e"
1818
},
1919
"lint-staged": {
20-
"*.ts": "npm run lint-fix",
21-
"*.js": "npm run lint-fix"
20+
"*.{js,ts}": "npm run lint-fix"
2221
},
2322
"repository": {
2423
"type": "git",

layers/tests/tsconfig.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "../",
5+
"noEmit": true
6+
},
7+
"include": [
8+
"../src/**/*",
9+
"./**/*",
10+
]
11+
}

layers/tsconfig.es.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

layers/tsconfig.json

Lines changed: 10 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,11 @@
11
{
2-
"compilerOptions": {
3-
"experimentalDecorators": true,
4-
"noImplicitAny": true,
5-
"target": "ES2019",
6-
"module": "commonjs",
7-
"declaration": true,
8-
"outDir": "lib",
9-
"strict": true,
10-
"inlineSourceMap": true,
11-
"moduleResolution": "node",
12-
"resolveJsonModule": true,
13-
"pretty": true,
14-
"baseUrl": "src/",
15-
"rootDirs": [ "src/" ],
16-
"esModuleInterop": true
17-
},
18-
"include": [ "src/**/*" ],
19-
"exclude": [ "./node_modules", "cdk.out"],
20-
"watchOptions": {
21-
"watchFile": "useFsEvents",
22-
"watchDirectory": "useFsEvents",
23-
"fallbackPolling": "dynamicPriority"
24-
},
25-
"lib": [ "es2019" ],
26-
"types": [
27-
"jest",
28-
"node"
29-
]
30-
}
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "./lib",
5+
"rootDir": "./",
6+
},
7+
"include": [
8+
"./src/**/*",
9+
"./bin/**/*"
10+
],
11+
}

0 commit comments

Comments
 (0)