Skip to content

Commit 60094d9

Browse files
authored
feat: use @tsconfig/node14 as base (#625)
1 parent d01f439 commit 60094d9

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"tslib": "^2.3.1"
2121
},
2222
"devDependencies": {
23-
"@tsconfig/recommended": "1.0.1",
23+
"@tsconfig/node14": "1.0.3",
2424
"concurrently": "7.0.0",
2525
"downlevel-dts": "0.10.1",
2626
"rimraf": "^3.0.0",
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"extends": "./tsconfig",
33
"compilerOptions": {
4-
"target": "ES2018",
5-
"module": "commonjs",
64
"outDir": "dist-cjs"
75
}
8-
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"extends": "./tsconfig",
33
"compilerOptions": {
4-
"target": "ES2020",
5-
"module": "esnext",
6-
"moduleResolution": "node",
74
"lib": ["dom"],
5+
"module": "esnext",
86
"outDir": "dist-es"
97
}
108
}

smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@tsconfig/recommended/tsconfig.json",
2+
"extends": "@tsconfig/node14/tsconfig.json",
33
"compilerOptions": {
44
"downlevelIteration": true,
55
"importHelpers": true,

0 commit comments

Comments
 (0)