File tree 4 files changed +15
-12
lines changed
smithy-typescript-codegen/src/main
java/software/amazon/smithy/typescript/codegen
resources/software/amazon/smithy/typescript/codegen 4 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ class CodegenVisitor extends ShapeVisitor.Default<Void> {
72
72
private static final Map <String , String > STATIC_FILE_COPIES = MapUtils .of (
73
73
"typedoc.json" , "typedoc.json" ,
74
74
"tsconfig.json" , "tsconfig.json" ,
75
+ "tsconfig.cjs.json" , "tsconfig.cjs.json" ,
75
76
"tsconfig.es.json" , "tsconfig.es.json" ,
76
77
"tsconfig.types.json" , "tsconfig.types.json"
77
78
);
Original file line number Diff line number Diff line change 4
4
"version" : " ${packageVersion}" ,
5
5
"scripts" : {
6
6
"build" : " ${packageManager} build:cjs && ${packageManager} build:es && ${packageManager} build:types" ,
7
- "build:cjs" : " tsc -p tsconfig.json" ,
7
+ "build:cjs" : " tsc -p tsconfig.cjs. json" ,
8
8
"build:docs" : " typedoc" ,
9
9
"build:es" : " tsc -p tsconfig.es.json" ,
10
10
"build:types" : " tsc -p tsconfig.types.json" ,
19
19
"tslib" : " ^2.3.0"
20
20
},
21
21
"devDependencies" : {
22
+ "@tsconfig/recommended" : " 1.0.1" ,
22
23
"downlevel-dts" : " 0.7.0" ,
23
24
"rimraf" : " ^3.0.0" ,
24
25
"typedoc" : " ^0.20.0" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig" ,
3
+ "compilerOptions" : {
4
+ "target" : " ES2018" ,
5
+ "module" : " commonjs" ,
6
+ "outDir" : " dist-cjs"
7
+ }
8
+ }
Original file line number Diff line number Diff line change 1
1
{
2
+ "extends" : " @tsconfig/recommended/tsconfig.json" ,
2
3
"compilerOptions" : {
3
- "rootDir" : " ./src" ,
4
- "alwaysStrict" : true ,
5
- "target" : " ES2018" ,
6
- "module" : " commonjs" ,
7
- "strict" : true ,
8
4
"downlevelIteration" : true ,
9
5
"importHelpers" : true ,
10
- "noEmitHelpers" : true ,
11
6
"incremental" : true ,
7
+ "removeComments" : true ,
12
8
"resolveJsonModule" : true ,
13
- "esModuleInterop" : true ,
14
- "outDir" : " dist-cjs" ,
15
- "removeComments" : true
16
- },
17
- "exclude" : [" test/**/*" ]
9
+ "rootDir" : " src"
10
+ }
18
11
}
You can’t perform that action at this time.
0 commit comments