forked from smithy-lang/smithy-typescript
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use a common tsconfig for the monorepo (#1297)
* feat: add common root tsconfig for es and cjs builds * feat: apply common root tsconfig to a single package * feat: propagate common tsconfig to interesting packages * feat: propogate common tsconfig to all packages * Update tsconfig.json
- Loading branch information
1 parent
f48ce92
commit e6b8a4c
Showing
148 changed files
with
1,368 additions
and
879 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"compilerOptions": { | ||
"lib": ["es5", "es2015.collection"], | ||
"strict": true, | ||
"sourceMap": false, | ||
"declaration": true, | ||
"stripInternal": true, | ||
"rootDir": "./src", | ||
"outDir": "./dist/cjs", | ||
"importHelpers": true, | ||
"noEmitHelpers": true, | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"baseUrl": "." | ||
}, | ||
"extends": "../../tsconfig.cjs.json", | ||
"include": ["src/"] | ||
} |
14 changes: 8 additions & 6 deletions
14
packages/abort-controller/tsconfig.json → packages/abort-controller/tsconfig.es.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"target": "es5", | ||
"lib": ["es5", "es2015.collection"], | ||
"strict": true, | ||
"sourceMap": true, | ||
"sourceMap": false, | ||
"declaration": true, | ||
"stripInternal": true, | ||
"rootDir": "./src", | ||
"outDir": "./build", | ||
"outDir": "./dist/es", | ||
"importHelpers": true, | ||
"noEmitHelpers": true, | ||
"incremental": true | ||
} | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"baseUrl": "." | ||
}, | ||
"extends": "../../tsconfig.es.json", | ||
"include": ["src/"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"compilerOptions": { | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": false, | ||
"downlevelIteration": true, | ||
"importHelpers": true, | ||
"noEmitHelpers": true, | ||
"lib": [ | ||
"dom", | ||
"es5", | ||
"es2015.promise", | ||
"es2015.collection", | ||
"es2015.iterable", | ||
"es2015.symbol.wellknown" | ||
], | ||
"rootDir": "./src", | ||
"outDir": "./dist/cjs", | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"baseUrl": "." | ||
}, | ||
"extends": "../../tsconfig.cjs.json", | ||
"include": ["src/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"compilerOptions": { | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": false, | ||
"downlevelIteration": true, | ||
"importHelpers": true, | ||
"noEmitHelpers": true, | ||
"lib": [ | ||
"dom", | ||
"es5", | ||
"es2015.promise", | ||
"es2015.collection", | ||
"es2015.iterable", | ||
"es2015.symbol.wellknown" | ||
], | ||
"rootDir": "./src", | ||
"outDir": "./dist/cjs", | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"baseUrl": "." | ||
}, | ||
"extends": "../../tsconfig.cjs.json", | ||
"include": ["src/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"compilerOptions": { | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": false, | ||
"downlevelIteration": true, | ||
"lib": [ | ||
"es5", | ||
"es2015.promise", | ||
"es2015.collection", | ||
"es2015.iterable", | ||
"es2015.symbol.wellknown" | ||
], | ||
"rootDir": "./src", | ||
"outDir": "./dist/cjs", | ||
"importHelpers": true, | ||
"noEmitHelpers": true, | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"baseUrl": "." | ||
}, | ||
"extends": "../../tsconfig.cjs.json", | ||
"include": ["src/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"compilerOptions": { | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": false, | ||
"importHelpers": true, | ||
"lib": ["es5", "es2015.promise", "es2015.collection"], | ||
"sourceRoot": "./src", | ||
"outDir": "./dist/cjs", | ||
"noEmitHelpers": true, | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"baseUrl": "." | ||
}, | ||
"extends": "../../tsconfig.cjs.json", | ||
"include": ["src/"] | ||
} |
16 changes: 9 additions & 7 deletions
16
packages/util-hex-encoding/tsconfig.json → ...credential-provider-imds/tsconfig.es.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": true, | ||
"sourceMap": false, | ||
"importHelpers": true, | ||
"lib": ["es5", "es2015.promise", "es2015.collection"], | ||
"sourceRoot": "./src", | ||
"outDir": "./build", | ||
"importHelpers": true, | ||
"outDir": "./dist/es", | ||
"noEmitHelpers": true, | ||
"incremental": true | ||
} | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"baseUrl": "." | ||
}, | ||
"extends": "../../tsconfig.es.json", | ||
"include": ["src/"] | ||
} |
Oops, something went wrong.