Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions packages/abort-controller/tsconfig.json

This file was deleted.

9 changes: 2 additions & 7 deletions packages/abort-controller/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"extends": "./tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"sourceMap": false,
"inlineSourceMap": true,
"inlineSources": true,
"rootDir": "./src",
"outDir": "./build",
"incremental": true
"outDir": "./build"
}
}
32 changes: 32 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"compilerOptions": {
/**
* Must allow:
*/
"downlevelIteration": true,
"resolveJsonModule": true,
"experimentalDecorators": true,
"noUnusedParameters": false,
"removeComments": false,

/**
* Nice to have:
*/
// "preserveConstEnums": true,
// "declaration": true,
// "allowUnreachableCode": false,
// "pretty": true,

"module": "commonjs",
"moduleResolution": "node",
"target": "es5",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

target should be browser TSConfig target, as that's usually the lower version of ECMAScript.

"lib": ["es2015", "dom"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decided to exclude lib, as it's overridden in individual clients

"baseUrl": ".",
"paths": {
"@aws-sdk/*": ["packages/*/src"],
"@aws-sdk/clients-*": ["clients/clients-*/"]
}
},
"include": ["packages/"],
"exclude": ["node_modules/", "packages/*/build/"]
}