diff --git a/clients/client-accessanalyzer/package.json b/clients/client-accessanalyzer/package.json index effe4b895e3c..1e53e07827ba 100644 --- a/clients/client-accessanalyzer/package.json +++ b/clients/client-accessanalyzer/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-accessanalyzer/tsconfig.cjs.json b/clients/client-accessanalyzer/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-accessanalyzer/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-accessanalyzer/tsconfig.es.json b/clients/client-accessanalyzer/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-accessanalyzer/tsconfig.es.json +++ b/clients/client-accessanalyzer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-accessanalyzer/tsconfig.json b/clients/client-accessanalyzer/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-accessanalyzer/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-accessanalyzer/tsconfig.types.json b/clients/client-accessanalyzer/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-accessanalyzer/tsconfig.types.json +++ b/clients/client-accessanalyzer/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-account/package.json b/clients/client-account/package.json index c4bf05310bc5..3919aae30457 100644 --- a/clients/client-account/package.json +++ b/clients/client-account/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-account/tsconfig.cjs.json b/clients/client-account/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-account/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-account/tsconfig.es.json b/clients/client-account/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-account/tsconfig.es.json +++ b/clients/client-account/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-account/tsconfig.json b/clients/client-account/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-account/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-account/tsconfig.types.json b/clients/client-account/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-account/tsconfig.types.json +++ b/clients/client-account/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-acm-pca/package.json b/clients/client-acm-pca/package.json index 419c59098071..cd60a780c329 100644 --- a/clients/client-acm-pca/package.json +++ b/clients/client-acm-pca/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-acm-pca/tsconfig.cjs.json b/clients/client-acm-pca/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-acm-pca/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-acm-pca/tsconfig.es.json b/clients/client-acm-pca/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-acm-pca/tsconfig.es.json +++ b/clients/client-acm-pca/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-acm-pca/tsconfig.json b/clients/client-acm-pca/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-acm-pca/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-acm-pca/tsconfig.types.json b/clients/client-acm-pca/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-acm-pca/tsconfig.types.json +++ b/clients/client-acm-pca/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-acm/package.json b/clients/client-acm/package.json index 9cbd600be7ff..c8a3ac3c2d1c 100644 --- a/clients/client-acm/package.json +++ b/clients/client-acm/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-acm/tsconfig.cjs.json b/clients/client-acm/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-acm/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-acm/tsconfig.es.json b/clients/client-acm/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-acm/tsconfig.es.json +++ b/clients/client-acm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-acm/tsconfig.json b/clients/client-acm/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-acm/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-acm/tsconfig.types.json b/clients/client-acm/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-acm/tsconfig.types.json +++ b/clients/client-acm/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-alexa-for-business/package.json b/clients/client-alexa-for-business/package.json index e9d4bc9646ef..3ab184a058d2 100644 --- a/clients/client-alexa-for-business/package.json +++ b/clients/client-alexa-for-business/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-alexa-for-business/tsconfig.cjs.json b/clients/client-alexa-for-business/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-alexa-for-business/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-alexa-for-business/tsconfig.es.json b/clients/client-alexa-for-business/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-alexa-for-business/tsconfig.es.json +++ b/clients/client-alexa-for-business/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-alexa-for-business/tsconfig.json b/clients/client-alexa-for-business/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-alexa-for-business/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-alexa-for-business/tsconfig.types.json b/clients/client-alexa-for-business/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-alexa-for-business/tsconfig.types.json +++ b/clients/client-alexa-for-business/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-amp/package.json b/clients/client-amp/package.json index c728a230bcfa..3e921c111911 100644 --- a/clients/client-amp/package.json +++ b/clients/client-amp/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-amp/tsconfig.cjs.json b/clients/client-amp/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-amp/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-amp/tsconfig.es.json b/clients/client-amp/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-amp/tsconfig.es.json +++ b/clients/client-amp/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-amp/tsconfig.json b/clients/client-amp/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-amp/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-amp/tsconfig.types.json b/clients/client-amp/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-amp/tsconfig.types.json +++ b/clients/client-amp/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-amplify/package.json b/clients/client-amplify/package.json index 9058a1467af6..16831a291dac 100644 --- a/clients/client-amplify/package.json +++ b/clients/client-amplify/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-amplify/tsconfig.cjs.json b/clients/client-amplify/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-amplify/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-amplify/tsconfig.es.json b/clients/client-amplify/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-amplify/tsconfig.es.json +++ b/clients/client-amplify/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-amplify/tsconfig.json b/clients/client-amplify/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-amplify/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-amplify/tsconfig.types.json b/clients/client-amplify/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-amplify/tsconfig.types.json +++ b/clients/client-amplify/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-amplifybackend/package.json b/clients/client-amplifybackend/package.json index eacf06389684..b8ca140d4505 100644 --- a/clients/client-amplifybackend/package.json +++ b/clients/client-amplifybackend/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-amplifybackend/tsconfig.cjs.json b/clients/client-amplifybackend/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-amplifybackend/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-amplifybackend/tsconfig.es.json b/clients/client-amplifybackend/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-amplifybackend/tsconfig.es.json +++ b/clients/client-amplifybackend/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-amplifybackend/tsconfig.json b/clients/client-amplifybackend/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-amplifybackend/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-amplifybackend/tsconfig.types.json b/clients/client-amplifybackend/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-amplifybackend/tsconfig.types.json +++ b/clients/client-amplifybackend/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-amplifyuibuilder/package.json b/clients/client-amplifyuibuilder/package.json index 4d236c3a4a4a..12be046a87c8 100644 --- a/clients/client-amplifyuibuilder/package.json +++ b/clients/client-amplifyuibuilder/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-amplifyuibuilder/tsconfig.cjs.json b/clients/client-amplifyuibuilder/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-amplifyuibuilder/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-amplifyuibuilder/tsconfig.es.json b/clients/client-amplifyuibuilder/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-amplifyuibuilder/tsconfig.es.json +++ b/clients/client-amplifyuibuilder/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-amplifyuibuilder/tsconfig.json b/clients/client-amplifyuibuilder/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-amplifyuibuilder/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-amplifyuibuilder/tsconfig.types.json b/clients/client-amplifyuibuilder/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-amplifyuibuilder/tsconfig.types.json +++ b/clients/client-amplifyuibuilder/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-api-gateway/package.json b/clients/client-api-gateway/package.json index 77eed87663cc..6b3822f5eb44 100644 --- a/clients/client-api-gateway/package.json +++ b/clients/client-api-gateway/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-api-gateway/tsconfig.cjs.json b/clients/client-api-gateway/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-api-gateway/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-api-gateway/tsconfig.es.json b/clients/client-api-gateway/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-api-gateway/tsconfig.es.json +++ b/clients/client-api-gateway/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-api-gateway/tsconfig.json b/clients/client-api-gateway/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-api-gateway/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-api-gateway/tsconfig.types.json b/clients/client-api-gateway/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-api-gateway/tsconfig.types.json +++ b/clients/client-api-gateway/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-apigatewaymanagementapi/package.json b/clients/client-apigatewaymanagementapi/package.json index 03a64c3756e0..ee94d6a01295 100644 --- a/clients/client-apigatewaymanagementapi/package.json +++ b/clients/client-apigatewaymanagementapi/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-apigatewaymanagementapi/tsconfig.cjs.json b/clients/client-apigatewaymanagementapi/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-apigatewaymanagementapi/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-apigatewaymanagementapi/tsconfig.es.json b/clients/client-apigatewaymanagementapi/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-apigatewaymanagementapi/tsconfig.es.json +++ b/clients/client-apigatewaymanagementapi/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-apigatewaymanagementapi/tsconfig.json b/clients/client-apigatewaymanagementapi/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-apigatewaymanagementapi/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-apigatewaymanagementapi/tsconfig.types.json b/clients/client-apigatewaymanagementapi/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-apigatewaymanagementapi/tsconfig.types.json +++ b/clients/client-apigatewaymanagementapi/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-apigatewayv2/package.json b/clients/client-apigatewayv2/package.json index c3710cc9e8c9..a321de11fa63 100644 --- a/clients/client-apigatewayv2/package.json +++ b/clients/client-apigatewayv2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-apigatewayv2/tsconfig.cjs.json b/clients/client-apigatewayv2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-apigatewayv2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-apigatewayv2/tsconfig.es.json b/clients/client-apigatewayv2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-apigatewayv2/tsconfig.es.json +++ b/clients/client-apigatewayv2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-apigatewayv2/tsconfig.json b/clients/client-apigatewayv2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-apigatewayv2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-apigatewayv2/tsconfig.types.json b/clients/client-apigatewayv2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-apigatewayv2/tsconfig.types.json +++ b/clients/client-apigatewayv2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-app-mesh/package.json b/clients/client-app-mesh/package.json index aa380dc2a042..f680883a46fa 100644 --- a/clients/client-app-mesh/package.json +++ b/clients/client-app-mesh/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-app-mesh/tsconfig.cjs.json b/clients/client-app-mesh/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-app-mesh/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-app-mesh/tsconfig.es.json b/clients/client-app-mesh/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-app-mesh/tsconfig.es.json +++ b/clients/client-app-mesh/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-app-mesh/tsconfig.json b/clients/client-app-mesh/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-app-mesh/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-app-mesh/tsconfig.types.json b/clients/client-app-mesh/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-app-mesh/tsconfig.types.json +++ b/clients/client-app-mesh/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-appconfig/package.json b/clients/client-appconfig/package.json index 9e78d01e126e..93d437e3f849 100644 --- a/clients/client-appconfig/package.json +++ b/clients/client-appconfig/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-appconfig/tsconfig.cjs.json b/clients/client-appconfig/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-appconfig/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-appconfig/tsconfig.es.json b/clients/client-appconfig/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-appconfig/tsconfig.es.json +++ b/clients/client-appconfig/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-appconfig/tsconfig.json b/clients/client-appconfig/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-appconfig/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appconfig/tsconfig.types.json b/clients/client-appconfig/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-appconfig/tsconfig.types.json +++ b/clients/client-appconfig/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-appconfigdata/package.json b/clients/client-appconfigdata/package.json index 5a1557230a64..d275b3e19986 100644 --- a/clients/client-appconfigdata/package.json +++ b/clients/client-appconfigdata/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-appconfigdata/tsconfig.cjs.json b/clients/client-appconfigdata/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-appconfigdata/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-appconfigdata/tsconfig.es.json b/clients/client-appconfigdata/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-appconfigdata/tsconfig.es.json +++ b/clients/client-appconfigdata/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-appconfigdata/tsconfig.json b/clients/client-appconfigdata/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-appconfigdata/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appconfigdata/tsconfig.types.json b/clients/client-appconfigdata/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-appconfigdata/tsconfig.types.json +++ b/clients/client-appconfigdata/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index 26957bb836bb..15142ff1922b 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-appflow/tsconfig.cjs.json b/clients/client-appflow/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-appflow/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-appflow/tsconfig.es.json b/clients/client-appflow/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-appflow/tsconfig.es.json +++ b/clients/client-appflow/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-appflow/tsconfig.json b/clients/client-appflow/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-appflow/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appflow/tsconfig.types.json b/clients/client-appflow/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-appflow/tsconfig.types.json +++ b/clients/client-appflow/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-appintegrations/package.json b/clients/client-appintegrations/package.json index ca2f8a20672e..4d43b631734e 100644 --- a/clients/client-appintegrations/package.json +++ b/clients/client-appintegrations/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-appintegrations/tsconfig.cjs.json b/clients/client-appintegrations/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-appintegrations/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-appintegrations/tsconfig.es.json b/clients/client-appintegrations/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-appintegrations/tsconfig.es.json +++ b/clients/client-appintegrations/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-appintegrations/tsconfig.json b/clients/client-appintegrations/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-appintegrations/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appintegrations/tsconfig.types.json b/clients/client-appintegrations/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-appintegrations/tsconfig.types.json +++ b/clients/client-appintegrations/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-application-auto-scaling/package.json b/clients/client-application-auto-scaling/package.json index 0c9af345e917..38cca44a072b 100644 --- a/clients/client-application-auto-scaling/package.json +++ b/clients/client-application-auto-scaling/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-application-auto-scaling/tsconfig.cjs.json b/clients/client-application-auto-scaling/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-application-auto-scaling/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-application-auto-scaling/tsconfig.es.json b/clients/client-application-auto-scaling/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-application-auto-scaling/tsconfig.es.json +++ b/clients/client-application-auto-scaling/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-application-auto-scaling/tsconfig.json b/clients/client-application-auto-scaling/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-application-auto-scaling/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-application-auto-scaling/tsconfig.types.json b/clients/client-application-auto-scaling/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-application-auto-scaling/tsconfig.types.json +++ b/clients/client-application-auto-scaling/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-application-discovery-service/package.json b/clients/client-application-discovery-service/package.json index eee4babbe033..0763735a978a 100644 --- a/clients/client-application-discovery-service/package.json +++ b/clients/client-application-discovery-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-application-discovery-service/tsconfig.cjs.json b/clients/client-application-discovery-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-application-discovery-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-application-discovery-service/tsconfig.es.json b/clients/client-application-discovery-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-application-discovery-service/tsconfig.es.json +++ b/clients/client-application-discovery-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-application-discovery-service/tsconfig.json b/clients/client-application-discovery-service/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-application-discovery-service/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-application-discovery-service/tsconfig.types.json b/clients/client-application-discovery-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-application-discovery-service/tsconfig.types.json +++ b/clients/client-application-discovery-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-application-insights/package.json b/clients/client-application-insights/package.json index 71f784464203..1bc23c72013f 100644 --- a/clients/client-application-insights/package.json +++ b/clients/client-application-insights/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-application-insights/tsconfig.cjs.json b/clients/client-application-insights/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-application-insights/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-application-insights/tsconfig.es.json b/clients/client-application-insights/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-application-insights/tsconfig.es.json +++ b/clients/client-application-insights/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-application-insights/tsconfig.json b/clients/client-application-insights/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-application-insights/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-application-insights/tsconfig.types.json b/clients/client-application-insights/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-application-insights/tsconfig.types.json +++ b/clients/client-application-insights/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-applicationcostprofiler/package.json b/clients/client-applicationcostprofiler/package.json index 9701e15d4263..da5ee3448b7c 100644 --- a/clients/client-applicationcostprofiler/package.json +++ b/clients/client-applicationcostprofiler/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-applicationcostprofiler/tsconfig.cjs.json b/clients/client-applicationcostprofiler/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-applicationcostprofiler/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-applicationcostprofiler/tsconfig.es.json b/clients/client-applicationcostprofiler/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-applicationcostprofiler/tsconfig.es.json +++ b/clients/client-applicationcostprofiler/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-applicationcostprofiler/tsconfig.json b/clients/client-applicationcostprofiler/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-applicationcostprofiler/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-applicationcostprofiler/tsconfig.types.json b/clients/client-applicationcostprofiler/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-applicationcostprofiler/tsconfig.types.json +++ b/clients/client-applicationcostprofiler/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-apprunner/package.json b/clients/client-apprunner/package.json index 3da3883e7bf2..5c9d742c5536 100644 --- a/clients/client-apprunner/package.json +++ b/clients/client-apprunner/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-apprunner/tsconfig.cjs.json b/clients/client-apprunner/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-apprunner/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-apprunner/tsconfig.es.json b/clients/client-apprunner/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-apprunner/tsconfig.es.json +++ b/clients/client-apprunner/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-apprunner/tsconfig.json b/clients/client-apprunner/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-apprunner/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-apprunner/tsconfig.types.json b/clients/client-apprunner/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-apprunner/tsconfig.types.json +++ b/clients/client-apprunner/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-appstream/package.json b/clients/client-appstream/package.json index 33fe2d1084ae..277d93b73dd9 100644 --- a/clients/client-appstream/package.json +++ b/clients/client-appstream/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-appstream/tsconfig.cjs.json b/clients/client-appstream/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-appstream/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-appstream/tsconfig.es.json b/clients/client-appstream/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-appstream/tsconfig.es.json +++ b/clients/client-appstream/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-appstream/tsconfig.json b/clients/client-appstream/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-appstream/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appstream/tsconfig.types.json b/clients/client-appstream/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-appstream/tsconfig.types.json +++ b/clients/client-appstream/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-appsync/package.json b/clients/client-appsync/package.json index 5684b2374fcf..3400ea564904 100644 --- a/clients/client-appsync/package.json +++ b/clients/client-appsync/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-appsync/tsconfig.cjs.json b/clients/client-appsync/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-appsync/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-appsync/tsconfig.es.json b/clients/client-appsync/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-appsync/tsconfig.es.json +++ b/clients/client-appsync/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-appsync/tsconfig.json b/clients/client-appsync/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-appsync/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appsync/tsconfig.types.json b/clients/client-appsync/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-appsync/tsconfig.types.json +++ b/clients/client-appsync/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-athena/package.json b/clients/client-athena/package.json index 277dbec52163..a43f714f1d2c 100644 --- a/clients/client-athena/package.json +++ b/clients/client-athena/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-athena/tsconfig.cjs.json b/clients/client-athena/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-athena/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-athena/tsconfig.es.json b/clients/client-athena/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-athena/tsconfig.es.json +++ b/clients/client-athena/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-athena/tsconfig.json b/clients/client-athena/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-athena/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-athena/tsconfig.types.json b/clients/client-athena/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-athena/tsconfig.types.json +++ b/clients/client-athena/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-auditmanager/package.json b/clients/client-auditmanager/package.json index 873c9e334881..1ce10506066c 100644 --- a/clients/client-auditmanager/package.json +++ b/clients/client-auditmanager/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-auditmanager/tsconfig.cjs.json b/clients/client-auditmanager/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-auditmanager/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-auditmanager/tsconfig.es.json b/clients/client-auditmanager/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-auditmanager/tsconfig.es.json +++ b/clients/client-auditmanager/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-auditmanager/tsconfig.json b/clients/client-auditmanager/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-auditmanager/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-auditmanager/tsconfig.types.json b/clients/client-auditmanager/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-auditmanager/tsconfig.types.json +++ b/clients/client-auditmanager/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-auto-scaling-plans/package.json b/clients/client-auto-scaling-plans/package.json index 045508ea65e7..233f87351d65 100644 --- a/clients/client-auto-scaling-plans/package.json +++ b/clients/client-auto-scaling-plans/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-auto-scaling-plans/tsconfig.cjs.json b/clients/client-auto-scaling-plans/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-auto-scaling-plans/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-auto-scaling-plans/tsconfig.es.json b/clients/client-auto-scaling-plans/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-auto-scaling-plans/tsconfig.es.json +++ b/clients/client-auto-scaling-plans/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-auto-scaling-plans/tsconfig.json b/clients/client-auto-scaling-plans/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-auto-scaling-plans/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-auto-scaling-plans/tsconfig.types.json b/clients/client-auto-scaling-plans/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-auto-scaling-plans/tsconfig.types.json +++ b/clients/client-auto-scaling-plans/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-auto-scaling/package.json b/clients/client-auto-scaling/package.json index 86b3f88ff93d..f9bf74d7b281 100644 --- a/clients/client-auto-scaling/package.json +++ b/clients/client-auto-scaling/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-auto-scaling/tsconfig.cjs.json b/clients/client-auto-scaling/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-auto-scaling/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-auto-scaling/tsconfig.es.json b/clients/client-auto-scaling/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-auto-scaling/tsconfig.es.json +++ b/clients/client-auto-scaling/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-auto-scaling/tsconfig.json b/clients/client-auto-scaling/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-auto-scaling/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-auto-scaling/tsconfig.types.json b/clients/client-auto-scaling/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-auto-scaling/tsconfig.types.json +++ b/clients/client-auto-scaling/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-backup-gateway/package.json b/clients/client-backup-gateway/package.json index 1d9b1e7d0889..8318e51abf57 100644 --- a/clients/client-backup-gateway/package.json +++ b/clients/client-backup-gateway/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-backup-gateway/tsconfig.cjs.json b/clients/client-backup-gateway/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-backup-gateway/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-backup-gateway/tsconfig.es.json b/clients/client-backup-gateway/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-backup-gateway/tsconfig.es.json +++ b/clients/client-backup-gateway/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-backup-gateway/tsconfig.json b/clients/client-backup-gateway/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-backup-gateway/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-backup-gateway/tsconfig.types.json b/clients/client-backup-gateway/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-backup-gateway/tsconfig.types.json +++ b/clients/client-backup-gateway/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-backup/package.json b/clients/client-backup/package.json index f5003c72e4c4..1819e7d720b8 100644 --- a/clients/client-backup/package.json +++ b/clients/client-backup/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-backup/tsconfig.cjs.json b/clients/client-backup/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-backup/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-backup/tsconfig.es.json b/clients/client-backup/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-backup/tsconfig.es.json +++ b/clients/client-backup/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-backup/tsconfig.json b/clients/client-backup/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-backup/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-backup/tsconfig.types.json b/clients/client-backup/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-backup/tsconfig.types.json +++ b/clients/client-backup/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-batch/package.json b/clients/client-batch/package.json index 546e32fb26c9..aeb8210ed0f8 100644 --- a/clients/client-batch/package.json +++ b/clients/client-batch/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-batch/tsconfig.cjs.json b/clients/client-batch/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-batch/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-batch/tsconfig.es.json b/clients/client-batch/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-batch/tsconfig.es.json +++ b/clients/client-batch/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-batch/tsconfig.json b/clients/client-batch/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-batch/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-batch/tsconfig.types.json b/clients/client-batch/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-batch/tsconfig.types.json +++ b/clients/client-batch/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-braket/package.json b/clients/client-braket/package.json index 60088d8fd5d4..ef27b44e6ba9 100644 --- a/clients/client-braket/package.json +++ b/clients/client-braket/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-braket/tsconfig.cjs.json b/clients/client-braket/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-braket/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-braket/tsconfig.es.json b/clients/client-braket/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-braket/tsconfig.es.json +++ b/clients/client-braket/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-braket/tsconfig.json b/clients/client-braket/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-braket/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-braket/tsconfig.types.json b/clients/client-braket/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-braket/tsconfig.types.json +++ b/clients/client-braket/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-budgets/package.json b/clients/client-budgets/package.json index c6c5f8b49e96..6df99772a3a0 100644 --- a/clients/client-budgets/package.json +++ b/clients/client-budgets/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-budgets/tsconfig.cjs.json b/clients/client-budgets/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-budgets/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-budgets/tsconfig.es.json b/clients/client-budgets/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-budgets/tsconfig.es.json +++ b/clients/client-budgets/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-budgets/tsconfig.json b/clients/client-budgets/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-budgets/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-budgets/tsconfig.types.json b/clients/client-budgets/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-budgets/tsconfig.types.json +++ b/clients/client-budgets/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-chime-sdk-identity/package.json b/clients/client-chime-sdk-identity/package.json index 9ccbe02f4230..5f3072c0e1aa 100644 --- a/clients/client-chime-sdk-identity/package.json +++ b/clients/client-chime-sdk-identity/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-chime-sdk-identity/tsconfig.cjs.json b/clients/client-chime-sdk-identity/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-chime-sdk-identity/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-chime-sdk-identity/tsconfig.es.json b/clients/client-chime-sdk-identity/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-chime-sdk-identity/tsconfig.es.json +++ b/clients/client-chime-sdk-identity/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-chime-sdk-identity/tsconfig.json b/clients/client-chime-sdk-identity/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-chime-sdk-identity/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-chime-sdk-identity/tsconfig.types.json b/clients/client-chime-sdk-identity/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-chime-sdk-identity/tsconfig.types.json +++ b/clients/client-chime-sdk-identity/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-chime-sdk-meetings/package.json b/clients/client-chime-sdk-meetings/package.json index a0f3201efd85..1e0ff86af439 100644 --- a/clients/client-chime-sdk-meetings/package.json +++ b/clients/client-chime-sdk-meetings/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-chime-sdk-meetings/tsconfig.cjs.json b/clients/client-chime-sdk-meetings/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-chime-sdk-meetings/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-chime-sdk-meetings/tsconfig.es.json b/clients/client-chime-sdk-meetings/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-chime-sdk-meetings/tsconfig.es.json +++ b/clients/client-chime-sdk-meetings/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-chime-sdk-meetings/tsconfig.json b/clients/client-chime-sdk-meetings/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-chime-sdk-meetings/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-chime-sdk-meetings/tsconfig.types.json b/clients/client-chime-sdk-meetings/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-chime-sdk-meetings/tsconfig.types.json +++ b/clients/client-chime-sdk-meetings/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-chime-sdk-messaging/package.json b/clients/client-chime-sdk-messaging/package.json index 0e350f8e3786..7e8f964aefad 100644 --- a/clients/client-chime-sdk-messaging/package.json +++ b/clients/client-chime-sdk-messaging/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-chime-sdk-messaging/tsconfig.cjs.json b/clients/client-chime-sdk-messaging/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-chime-sdk-messaging/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-chime-sdk-messaging/tsconfig.es.json b/clients/client-chime-sdk-messaging/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-chime-sdk-messaging/tsconfig.es.json +++ b/clients/client-chime-sdk-messaging/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-chime-sdk-messaging/tsconfig.json b/clients/client-chime-sdk-messaging/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-chime-sdk-messaging/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-chime-sdk-messaging/tsconfig.types.json b/clients/client-chime-sdk-messaging/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-chime-sdk-messaging/tsconfig.types.json +++ b/clients/client-chime-sdk-messaging/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-chime/package.json b/clients/client-chime/package.json index ffcc4b94ac01..f33f6a58a4f8 100644 --- a/clients/client-chime/package.json +++ b/clients/client-chime/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-chime/tsconfig.cjs.json b/clients/client-chime/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-chime/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-chime/tsconfig.es.json b/clients/client-chime/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-chime/tsconfig.es.json +++ b/clients/client-chime/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-chime/tsconfig.json b/clients/client-chime/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-chime/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-chime/tsconfig.types.json b/clients/client-chime/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-chime/tsconfig.types.json +++ b/clients/client-chime/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloud9/package.json b/clients/client-cloud9/package.json index 1e91b7105397..7c6713a614fd 100644 --- a/clients/client-cloud9/package.json +++ b/clients/client-cloud9/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloud9/tsconfig.cjs.json b/clients/client-cloud9/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloud9/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloud9/tsconfig.es.json b/clients/client-cloud9/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloud9/tsconfig.es.json +++ b/clients/client-cloud9/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloud9/tsconfig.json b/clients/client-cloud9/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloud9/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloud9/tsconfig.types.json b/clients/client-cloud9/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloud9/tsconfig.types.json +++ b/clients/client-cloud9/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudcontrol/package.json b/clients/client-cloudcontrol/package.json index bf1c16a07197..ef945d26ba80 100644 --- a/clients/client-cloudcontrol/package.json +++ b/clients/client-cloudcontrol/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudcontrol/tsconfig.cjs.json b/clients/client-cloudcontrol/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudcontrol/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudcontrol/tsconfig.es.json b/clients/client-cloudcontrol/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudcontrol/tsconfig.es.json +++ b/clients/client-cloudcontrol/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudcontrol/tsconfig.json b/clients/client-cloudcontrol/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-cloudcontrol/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudcontrol/tsconfig.types.json b/clients/client-cloudcontrol/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudcontrol/tsconfig.types.json +++ b/clients/client-cloudcontrol/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-clouddirectory/package.json b/clients/client-clouddirectory/package.json index 8174c6e51eb0..de8061999a88 100644 --- a/clients/client-clouddirectory/package.json +++ b/clients/client-clouddirectory/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-clouddirectory/tsconfig.cjs.json b/clients/client-clouddirectory/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-clouddirectory/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-clouddirectory/tsconfig.es.json b/clients/client-clouddirectory/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-clouddirectory/tsconfig.es.json +++ b/clients/client-clouddirectory/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-clouddirectory/tsconfig.json b/clients/client-clouddirectory/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-clouddirectory/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-clouddirectory/tsconfig.types.json b/clients/client-clouddirectory/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-clouddirectory/tsconfig.types.json +++ b/clients/client-clouddirectory/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudformation/package.json b/clients/client-cloudformation/package.json index 31ec27ee727c..4a7094134b1e 100644 --- a/clients/client-cloudformation/package.json +++ b/clients/client-cloudformation/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudformation/tsconfig.cjs.json b/clients/client-cloudformation/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudformation/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudformation/tsconfig.es.json b/clients/client-cloudformation/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudformation/tsconfig.es.json +++ b/clients/client-cloudformation/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudformation/tsconfig.json b/clients/client-cloudformation/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloudformation/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudformation/tsconfig.types.json b/clients/client-cloudformation/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudformation/tsconfig.types.json +++ b/clients/client-cloudformation/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudfront/package.json b/clients/client-cloudfront/package.json index fb6dc7793a71..291cbc5ca02a 100644 --- a/clients/client-cloudfront/package.json +++ b/clients/client-cloudfront/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudfront/tsconfig.cjs.json b/clients/client-cloudfront/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudfront/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudfront/tsconfig.es.json b/clients/client-cloudfront/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudfront/tsconfig.es.json +++ b/clients/client-cloudfront/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudfront/tsconfig.json b/clients/client-cloudfront/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloudfront/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudfront/tsconfig.types.json b/clients/client-cloudfront/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudfront/tsconfig.types.json +++ b/clients/client-cloudfront/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudhsm-v2/package.json b/clients/client-cloudhsm-v2/package.json index 8f75675c1d3e..0f1699357f46 100644 --- a/clients/client-cloudhsm-v2/package.json +++ b/clients/client-cloudhsm-v2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudhsm-v2/tsconfig.cjs.json b/clients/client-cloudhsm-v2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudhsm-v2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudhsm-v2/tsconfig.es.json b/clients/client-cloudhsm-v2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudhsm-v2/tsconfig.es.json +++ b/clients/client-cloudhsm-v2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudhsm-v2/tsconfig.json b/clients/client-cloudhsm-v2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloudhsm-v2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudhsm-v2/tsconfig.types.json b/clients/client-cloudhsm-v2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudhsm-v2/tsconfig.types.json +++ b/clients/client-cloudhsm-v2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudhsm/package.json b/clients/client-cloudhsm/package.json index 84b8bb2a0400..912dc035c89a 100644 --- a/clients/client-cloudhsm/package.json +++ b/clients/client-cloudhsm/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudhsm/tsconfig.cjs.json b/clients/client-cloudhsm/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudhsm/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudhsm/tsconfig.es.json b/clients/client-cloudhsm/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudhsm/tsconfig.es.json +++ b/clients/client-cloudhsm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudhsm/tsconfig.json b/clients/client-cloudhsm/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloudhsm/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudhsm/tsconfig.types.json b/clients/client-cloudhsm/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudhsm/tsconfig.types.json +++ b/clients/client-cloudhsm/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudsearch-domain/package.json b/clients/client-cloudsearch-domain/package.json index 280b2a62f2c2..cd8f721a77c9 100644 --- a/clients/client-cloudsearch-domain/package.json +++ b/clients/client-cloudsearch-domain/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudsearch-domain/tsconfig.cjs.json b/clients/client-cloudsearch-domain/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudsearch-domain/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudsearch-domain/tsconfig.es.json b/clients/client-cloudsearch-domain/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudsearch-domain/tsconfig.es.json +++ b/clients/client-cloudsearch-domain/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudsearch-domain/tsconfig.json b/clients/client-cloudsearch-domain/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloudsearch-domain/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudsearch-domain/tsconfig.types.json b/clients/client-cloudsearch-domain/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudsearch-domain/tsconfig.types.json +++ b/clients/client-cloudsearch-domain/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudsearch/package.json b/clients/client-cloudsearch/package.json index c15d12802dc3..a4053b0b8654 100644 --- a/clients/client-cloudsearch/package.json +++ b/clients/client-cloudsearch/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudsearch/tsconfig.cjs.json b/clients/client-cloudsearch/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudsearch/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudsearch/tsconfig.es.json b/clients/client-cloudsearch/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudsearch/tsconfig.es.json +++ b/clients/client-cloudsearch/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudsearch/tsconfig.json b/clients/client-cloudsearch/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloudsearch/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudsearch/tsconfig.types.json b/clients/client-cloudsearch/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudsearch/tsconfig.types.json +++ b/clients/client-cloudsearch/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudtrail/package.json b/clients/client-cloudtrail/package.json index d6903145d520..b11bb860abff 100644 --- a/clients/client-cloudtrail/package.json +++ b/clients/client-cloudtrail/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudtrail/tsconfig.cjs.json b/clients/client-cloudtrail/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudtrail/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudtrail/tsconfig.es.json b/clients/client-cloudtrail/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudtrail/tsconfig.es.json +++ b/clients/client-cloudtrail/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudtrail/tsconfig.json b/clients/client-cloudtrail/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloudtrail/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudtrail/tsconfig.types.json b/clients/client-cloudtrail/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudtrail/tsconfig.types.json +++ b/clients/client-cloudtrail/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudwatch-events/package.json b/clients/client-cloudwatch-events/package.json index 0db2ec87fe70..32b4e2ae14ca 100644 --- a/clients/client-cloudwatch-events/package.json +++ b/clients/client-cloudwatch-events/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudwatch-events/tsconfig.cjs.json b/clients/client-cloudwatch-events/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudwatch-events/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudwatch-events/tsconfig.es.json b/clients/client-cloudwatch-events/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudwatch-events/tsconfig.es.json +++ b/clients/client-cloudwatch-events/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudwatch-events/tsconfig.json b/clients/client-cloudwatch-events/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloudwatch-events/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudwatch-events/tsconfig.types.json b/clients/client-cloudwatch-events/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudwatch-events/tsconfig.types.json +++ b/clients/client-cloudwatch-events/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudwatch-logs/package.json b/clients/client-cloudwatch-logs/package.json index 8e84405ac880..86ca9b765468 100644 --- a/clients/client-cloudwatch-logs/package.json +++ b/clients/client-cloudwatch-logs/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudwatch-logs/tsconfig.cjs.json b/clients/client-cloudwatch-logs/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudwatch-logs/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudwatch-logs/tsconfig.es.json b/clients/client-cloudwatch-logs/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudwatch-logs/tsconfig.es.json +++ b/clients/client-cloudwatch-logs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudwatch-logs/tsconfig.json b/clients/client-cloudwatch-logs/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloudwatch-logs/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudwatch-logs/tsconfig.types.json b/clients/client-cloudwatch-logs/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudwatch-logs/tsconfig.types.json +++ b/clients/client-cloudwatch-logs/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cloudwatch/package.json b/clients/client-cloudwatch/package.json index 31882e4b742d..ad50d2a0bf05 100644 --- a/clients/client-cloudwatch/package.json +++ b/clients/client-cloudwatch/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cloudwatch/tsconfig.cjs.json b/clients/client-cloudwatch/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cloudwatch/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cloudwatch/tsconfig.es.json b/clients/client-cloudwatch/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cloudwatch/tsconfig.es.json +++ b/clients/client-cloudwatch/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cloudwatch/tsconfig.json b/clients/client-cloudwatch/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cloudwatch/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudwatch/tsconfig.types.json b/clients/client-cloudwatch/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cloudwatch/tsconfig.types.json +++ b/clients/client-cloudwatch/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-codeartifact/package.json b/clients/client-codeartifact/package.json index 9feee979201e..6088ab7d10e5 100644 --- a/clients/client-codeartifact/package.json +++ b/clients/client-codeartifact/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-codeartifact/tsconfig.cjs.json b/clients/client-codeartifact/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-codeartifact/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-codeartifact/tsconfig.es.json b/clients/client-codeartifact/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-codeartifact/tsconfig.es.json +++ b/clients/client-codeartifact/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-codeartifact/tsconfig.json b/clients/client-codeartifact/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-codeartifact/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codeartifact/tsconfig.types.json b/clients/client-codeartifact/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-codeartifact/tsconfig.types.json +++ b/clients/client-codeartifact/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-codebuild/package.json b/clients/client-codebuild/package.json index b44d8da16e69..4ce1ebe369c9 100644 --- a/clients/client-codebuild/package.json +++ b/clients/client-codebuild/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-codebuild/tsconfig.cjs.json b/clients/client-codebuild/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-codebuild/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-codebuild/tsconfig.es.json b/clients/client-codebuild/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-codebuild/tsconfig.es.json +++ b/clients/client-codebuild/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-codebuild/tsconfig.json b/clients/client-codebuild/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-codebuild/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codebuild/tsconfig.types.json b/clients/client-codebuild/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-codebuild/tsconfig.types.json +++ b/clients/client-codebuild/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-codecommit/package.json b/clients/client-codecommit/package.json index 2e73af783616..51e591ae600d 100644 --- a/clients/client-codecommit/package.json +++ b/clients/client-codecommit/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-codecommit/tsconfig.cjs.json b/clients/client-codecommit/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-codecommit/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-codecommit/tsconfig.es.json b/clients/client-codecommit/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-codecommit/tsconfig.es.json +++ b/clients/client-codecommit/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-codecommit/tsconfig.json b/clients/client-codecommit/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-codecommit/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codecommit/tsconfig.types.json b/clients/client-codecommit/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-codecommit/tsconfig.types.json +++ b/clients/client-codecommit/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-codedeploy/package.json b/clients/client-codedeploy/package.json index 2fd2632377ce..2e09ea883e9d 100644 --- a/clients/client-codedeploy/package.json +++ b/clients/client-codedeploy/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-codedeploy/tsconfig.cjs.json b/clients/client-codedeploy/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-codedeploy/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-codedeploy/tsconfig.es.json b/clients/client-codedeploy/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-codedeploy/tsconfig.es.json +++ b/clients/client-codedeploy/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-codedeploy/tsconfig.json b/clients/client-codedeploy/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-codedeploy/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codedeploy/tsconfig.types.json b/clients/client-codedeploy/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-codedeploy/tsconfig.types.json +++ b/clients/client-codedeploy/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-codeguru-reviewer/package.json b/clients/client-codeguru-reviewer/package.json index 404d5c3d3dbd..619fffbc78de 100644 --- a/clients/client-codeguru-reviewer/package.json +++ b/clients/client-codeguru-reviewer/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-codeguru-reviewer/tsconfig.cjs.json b/clients/client-codeguru-reviewer/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-codeguru-reviewer/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-codeguru-reviewer/tsconfig.es.json b/clients/client-codeguru-reviewer/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-codeguru-reviewer/tsconfig.es.json +++ b/clients/client-codeguru-reviewer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-codeguru-reviewer/tsconfig.json b/clients/client-codeguru-reviewer/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-codeguru-reviewer/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codeguru-reviewer/tsconfig.types.json b/clients/client-codeguru-reviewer/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-codeguru-reviewer/tsconfig.types.json +++ b/clients/client-codeguru-reviewer/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-codeguruprofiler/package.json b/clients/client-codeguruprofiler/package.json index bba020ff5517..f94998b05a93 100644 --- a/clients/client-codeguruprofiler/package.json +++ b/clients/client-codeguruprofiler/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-codeguruprofiler/tsconfig.cjs.json b/clients/client-codeguruprofiler/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-codeguruprofiler/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-codeguruprofiler/tsconfig.es.json b/clients/client-codeguruprofiler/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-codeguruprofiler/tsconfig.es.json +++ b/clients/client-codeguruprofiler/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-codeguruprofiler/tsconfig.json b/clients/client-codeguruprofiler/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-codeguruprofiler/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codeguruprofiler/tsconfig.types.json b/clients/client-codeguruprofiler/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-codeguruprofiler/tsconfig.types.json +++ b/clients/client-codeguruprofiler/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-codepipeline/package.json b/clients/client-codepipeline/package.json index 9cbf94fd5a6a..177ebb3b1cff 100644 --- a/clients/client-codepipeline/package.json +++ b/clients/client-codepipeline/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-codepipeline/tsconfig.cjs.json b/clients/client-codepipeline/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-codepipeline/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-codepipeline/tsconfig.es.json b/clients/client-codepipeline/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-codepipeline/tsconfig.es.json +++ b/clients/client-codepipeline/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-codepipeline/tsconfig.json b/clients/client-codepipeline/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-codepipeline/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codepipeline/tsconfig.types.json b/clients/client-codepipeline/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-codepipeline/tsconfig.types.json +++ b/clients/client-codepipeline/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-codestar-connections/package.json b/clients/client-codestar-connections/package.json index 740cbc657652..1f6570f35a4c 100644 --- a/clients/client-codestar-connections/package.json +++ b/clients/client-codestar-connections/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-codestar-connections/tsconfig.cjs.json b/clients/client-codestar-connections/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-codestar-connections/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-codestar-connections/tsconfig.es.json b/clients/client-codestar-connections/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-codestar-connections/tsconfig.es.json +++ b/clients/client-codestar-connections/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-codestar-connections/tsconfig.json b/clients/client-codestar-connections/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-codestar-connections/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codestar-connections/tsconfig.types.json b/clients/client-codestar-connections/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-codestar-connections/tsconfig.types.json +++ b/clients/client-codestar-connections/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-codestar-notifications/package.json b/clients/client-codestar-notifications/package.json index 650fee520745..d7b49e4444a8 100644 --- a/clients/client-codestar-notifications/package.json +++ b/clients/client-codestar-notifications/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-codestar-notifications/tsconfig.cjs.json b/clients/client-codestar-notifications/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-codestar-notifications/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-codestar-notifications/tsconfig.es.json b/clients/client-codestar-notifications/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-codestar-notifications/tsconfig.es.json +++ b/clients/client-codestar-notifications/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-codestar-notifications/tsconfig.json b/clients/client-codestar-notifications/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-codestar-notifications/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codestar-notifications/tsconfig.types.json b/clients/client-codestar-notifications/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-codestar-notifications/tsconfig.types.json +++ b/clients/client-codestar-notifications/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-codestar/package.json b/clients/client-codestar/package.json index c003a9830c39..120372fc72bc 100644 --- a/clients/client-codestar/package.json +++ b/clients/client-codestar/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-codestar/tsconfig.cjs.json b/clients/client-codestar/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-codestar/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-codestar/tsconfig.es.json b/clients/client-codestar/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-codestar/tsconfig.es.json +++ b/clients/client-codestar/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-codestar/tsconfig.json b/clients/client-codestar/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-codestar/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codestar/tsconfig.types.json b/clients/client-codestar/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-codestar/tsconfig.types.json +++ b/clients/client-codestar/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cognito-identity-provider/package.json b/clients/client-cognito-identity-provider/package.json index 147c6647f549..37c928f8cf48 100644 --- a/clients/client-cognito-identity-provider/package.json +++ b/clients/client-cognito-identity-provider/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cognito-identity-provider/tsconfig.cjs.json b/clients/client-cognito-identity-provider/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cognito-identity-provider/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cognito-identity-provider/tsconfig.es.json b/clients/client-cognito-identity-provider/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cognito-identity-provider/tsconfig.es.json +++ b/clients/client-cognito-identity-provider/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cognito-identity-provider/tsconfig.json b/clients/client-cognito-identity-provider/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cognito-identity-provider/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cognito-identity-provider/tsconfig.types.json b/clients/client-cognito-identity-provider/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cognito-identity-provider/tsconfig.types.json +++ b/clients/client-cognito-identity-provider/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cognito-identity/package.json b/clients/client-cognito-identity/package.json index 8afd9136f97e..3346dfb01704 100644 --- a/clients/client-cognito-identity/package.json +++ b/clients/client-cognito-identity/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cognito-identity/tsconfig.cjs.json b/clients/client-cognito-identity/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cognito-identity/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cognito-identity/tsconfig.es.json b/clients/client-cognito-identity/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cognito-identity/tsconfig.es.json +++ b/clients/client-cognito-identity/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cognito-identity/tsconfig.json b/clients/client-cognito-identity/tsconfig.json deleted file mode 100644 index cd6d61ae090f..000000000000 --- a/clients/client-cognito-identity/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true, - "types": ["mocha", "node"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cognito-identity/tsconfig.types.json b/clients/client-cognito-identity/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cognito-identity/tsconfig.types.json +++ b/clients/client-cognito-identity/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cognito-sync/package.json b/clients/client-cognito-sync/package.json index 06aa279b1fb5..ee7deac3d193 100644 --- a/clients/client-cognito-sync/package.json +++ b/clients/client-cognito-sync/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cognito-sync/tsconfig.cjs.json b/clients/client-cognito-sync/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cognito-sync/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cognito-sync/tsconfig.es.json b/clients/client-cognito-sync/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cognito-sync/tsconfig.es.json +++ b/clients/client-cognito-sync/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cognito-sync/tsconfig.json b/clients/client-cognito-sync/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cognito-sync/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cognito-sync/tsconfig.types.json b/clients/client-cognito-sync/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cognito-sync/tsconfig.types.json +++ b/clients/client-cognito-sync/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-comprehend/package.json b/clients/client-comprehend/package.json index 8cd39d4ed869..a936196dda73 100644 --- a/clients/client-comprehend/package.json +++ b/clients/client-comprehend/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-comprehend/tsconfig.cjs.json b/clients/client-comprehend/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-comprehend/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-comprehend/tsconfig.es.json b/clients/client-comprehend/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-comprehend/tsconfig.es.json +++ b/clients/client-comprehend/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-comprehend/tsconfig.json b/clients/client-comprehend/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-comprehend/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-comprehend/tsconfig.types.json b/clients/client-comprehend/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-comprehend/tsconfig.types.json +++ b/clients/client-comprehend/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-comprehendmedical/package.json b/clients/client-comprehendmedical/package.json index 209d8f4ec576..dabdbbabb39d 100644 --- a/clients/client-comprehendmedical/package.json +++ b/clients/client-comprehendmedical/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-comprehendmedical/tsconfig.cjs.json b/clients/client-comprehendmedical/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-comprehendmedical/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-comprehendmedical/tsconfig.es.json b/clients/client-comprehendmedical/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-comprehendmedical/tsconfig.es.json +++ b/clients/client-comprehendmedical/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-comprehendmedical/tsconfig.json b/clients/client-comprehendmedical/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-comprehendmedical/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-comprehendmedical/tsconfig.types.json b/clients/client-comprehendmedical/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-comprehendmedical/tsconfig.types.json +++ b/clients/client-comprehendmedical/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-compute-optimizer/package.json b/clients/client-compute-optimizer/package.json index d765074a46a5..789eac93caf1 100644 --- a/clients/client-compute-optimizer/package.json +++ b/clients/client-compute-optimizer/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-compute-optimizer/tsconfig.cjs.json b/clients/client-compute-optimizer/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-compute-optimizer/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-compute-optimizer/tsconfig.es.json b/clients/client-compute-optimizer/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-compute-optimizer/tsconfig.es.json +++ b/clients/client-compute-optimizer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-compute-optimizer/tsconfig.json b/clients/client-compute-optimizer/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-compute-optimizer/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-compute-optimizer/tsconfig.types.json b/clients/client-compute-optimizer/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-compute-optimizer/tsconfig.types.json +++ b/clients/client-compute-optimizer/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-config-service/package.json b/clients/client-config-service/package.json index 448f14a287c5..7fcda5e5bfde 100644 --- a/clients/client-config-service/package.json +++ b/clients/client-config-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-config-service/tsconfig.cjs.json b/clients/client-config-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-config-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-config-service/tsconfig.es.json b/clients/client-config-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-config-service/tsconfig.es.json +++ b/clients/client-config-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-config-service/tsconfig.json b/clients/client-config-service/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-config-service/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-config-service/tsconfig.types.json b/clients/client-config-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-config-service/tsconfig.types.json +++ b/clients/client-config-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-connect-contact-lens/package.json b/clients/client-connect-contact-lens/package.json index 6bcf1ba7d998..2970dfca8e09 100644 --- a/clients/client-connect-contact-lens/package.json +++ b/clients/client-connect-contact-lens/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-connect-contact-lens/tsconfig.cjs.json b/clients/client-connect-contact-lens/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-connect-contact-lens/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-connect-contact-lens/tsconfig.es.json b/clients/client-connect-contact-lens/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-connect-contact-lens/tsconfig.es.json +++ b/clients/client-connect-contact-lens/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-connect-contact-lens/tsconfig.json b/clients/client-connect-contact-lens/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-connect-contact-lens/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-connect-contact-lens/tsconfig.types.json b/clients/client-connect-contact-lens/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-connect-contact-lens/tsconfig.types.json +++ b/clients/client-connect-contact-lens/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-connect/package.json b/clients/client-connect/package.json index e21dac63fa7e..2fd13c25abe6 100644 --- a/clients/client-connect/package.json +++ b/clients/client-connect/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-connect/tsconfig.cjs.json b/clients/client-connect/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-connect/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-connect/tsconfig.es.json b/clients/client-connect/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-connect/tsconfig.es.json +++ b/clients/client-connect/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-connect/tsconfig.json b/clients/client-connect/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-connect/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-connect/tsconfig.types.json b/clients/client-connect/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-connect/tsconfig.types.json +++ b/clients/client-connect/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-connectparticipant/package.json b/clients/client-connectparticipant/package.json index 175301db234c..db8f4f645977 100644 --- a/clients/client-connectparticipant/package.json +++ b/clients/client-connectparticipant/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-connectparticipant/tsconfig.cjs.json b/clients/client-connectparticipant/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-connectparticipant/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-connectparticipant/tsconfig.es.json b/clients/client-connectparticipant/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-connectparticipant/tsconfig.es.json +++ b/clients/client-connectparticipant/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-connectparticipant/tsconfig.json b/clients/client-connectparticipant/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-connectparticipant/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-connectparticipant/tsconfig.types.json b/clients/client-connectparticipant/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-connectparticipant/tsconfig.types.json +++ b/clients/client-connectparticipant/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cost-and-usage-report-service/package.json b/clients/client-cost-and-usage-report-service/package.json index 5c6bc5312731..3d98e2f7e76c 100644 --- a/clients/client-cost-and-usage-report-service/package.json +++ b/clients/client-cost-and-usage-report-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cost-and-usage-report-service/tsconfig.cjs.json b/clients/client-cost-and-usage-report-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cost-and-usage-report-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cost-and-usage-report-service/tsconfig.es.json b/clients/client-cost-and-usage-report-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cost-and-usage-report-service/tsconfig.es.json +++ b/clients/client-cost-and-usage-report-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cost-and-usage-report-service/tsconfig.json b/clients/client-cost-and-usage-report-service/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cost-and-usage-report-service/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cost-and-usage-report-service/tsconfig.types.json b/clients/client-cost-and-usage-report-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cost-and-usage-report-service/tsconfig.types.json +++ b/clients/client-cost-and-usage-report-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-cost-explorer/package.json b/clients/client-cost-explorer/package.json index d733a37b747d..80c57a1e4ce9 100644 --- a/clients/client-cost-explorer/package.json +++ b/clients/client-cost-explorer/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-cost-explorer/tsconfig.cjs.json b/clients/client-cost-explorer/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-cost-explorer/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-cost-explorer/tsconfig.es.json b/clients/client-cost-explorer/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-cost-explorer/tsconfig.es.json +++ b/clients/client-cost-explorer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-cost-explorer/tsconfig.json b/clients/client-cost-explorer/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-cost-explorer/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cost-explorer/tsconfig.types.json b/clients/client-cost-explorer/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-cost-explorer/tsconfig.types.json +++ b/clients/client-cost-explorer/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-customer-profiles/package.json b/clients/client-customer-profiles/package.json index 37644eafa012..00076946cf46 100644 --- a/clients/client-customer-profiles/package.json +++ b/clients/client-customer-profiles/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-customer-profiles/tsconfig.cjs.json b/clients/client-customer-profiles/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-customer-profiles/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-customer-profiles/tsconfig.es.json b/clients/client-customer-profiles/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-customer-profiles/tsconfig.es.json +++ b/clients/client-customer-profiles/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-customer-profiles/tsconfig.json b/clients/client-customer-profiles/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-customer-profiles/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-customer-profiles/tsconfig.types.json b/clients/client-customer-profiles/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-customer-profiles/tsconfig.types.json +++ b/clients/client-customer-profiles/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-data-pipeline/package.json b/clients/client-data-pipeline/package.json index 11e4f8b7997a..61a43ef2f09b 100644 --- a/clients/client-data-pipeline/package.json +++ b/clients/client-data-pipeline/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-data-pipeline/tsconfig.cjs.json b/clients/client-data-pipeline/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-data-pipeline/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-data-pipeline/tsconfig.es.json b/clients/client-data-pipeline/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-data-pipeline/tsconfig.es.json +++ b/clients/client-data-pipeline/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-data-pipeline/tsconfig.json b/clients/client-data-pipeline/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-data-pipeline/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-data-pipeline/tsconfig.types.json b/clients/client-data-pipeline/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-data-pipeline/tsconfig.types.json +++ b/clients/client-data-pipeline/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-database-migration-service/package.json b/clients/client-database-migration-service/package.json index a1cf0c91806b..b77f310d9bd0 100644 --- a/clients/client-database-migration-service/package.json +++ b/clients/client-database-migration-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-database-migration-service/tsconfig.cjs.json b/clients/client-database-migration-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-database-migration-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-database-migration-service/tsconfig.es.json b/clients/client-database-migration-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-database-migration-service/tsconfig.es.json +++ b/clients/client-database-migration-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-database-migration-service/tsconfig.json b/clients/client-database-migration-service/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-database-migration-service/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-database-migration-service/tsconfig.types.json b/clients/client-database-migration-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-database-migration-service/tsconfig.types.json +++ b/clients/client-database-migration-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-databrew/package.json b/clients/client-databrew/package.json index a6d761bd57db..e5bb997e3565 100644 --- a/clients/client-databrew/package.json +++ b/clients/client-databrew/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-databrew/tsconfig.cjs.json b/clients/client-databrew/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-databrew/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-databrew/tsconfig.es.json b/clients/client-databrew/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-databrew/tsconfig.es.json +++ b/clients/client-databrew/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-databrew/tsconfig.json b/clients/client-databrew/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-databrew/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-databrew/tsconfig.types.json b/clients/client-databrew/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-databrew/tsconfig.types.json +++ b/clients/client-databrew/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-dataexchange/package.json b/clients/client-dataexchange/package.json index 5f47ff0ff4be..d7d3862dbd40 100644 --- a/clients/client-dataexchange/package.json +++ b/clients/client-dataexchange/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-dataexchange/tsconfig.cjs.json b/clients/client-dataexchange/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-dataexchange/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-dataexchange/tsconfig.es.json b/clients/client-dataexchange/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-dataexchange/tsconfig.es.json +++ b/clients/client-dataexchange/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-dataexchange/tsconfig.json b/clients/client-dataexchange/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-dataexchange/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-dataexchange/tsconfig.types.json b/clients/client-dataexchange/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-dataexchange/tsconfig.types.json +++ b/clients/client-dataexchange/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-datasync/package.json b/clients/client-datasync/package.json index cf57db4e6d41..8c05859d6576 100644 --- a/clients/client-datasync/package.json +++ b/clients/client-datasync/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-datasync/tsconfig.cjs.json b/clients/client-datasync/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-datasync/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-datasync/tsconfig.es.json b/clients/client-datasync/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-datasync/tsconfig.es.json +++ b/clients/client-datasync/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-datasync/tsconfig.json b/clients/client-datasync/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-datasync/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-datasync/tsconfig.types.json b/clients/client-datasync/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-datasync/tsconfig.types.json +++ b/clients/client-datasync/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-dax/package.json b/clients/client-dax/package.json index ec3a9773f782..9803620c8ee4 100644 --- a/clients/client-dax/package.json +++ b/clients/client-dax/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-dax/tsconfig.cjs.json b/clients/client-dax/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-dax/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-dax/tsconfig.es.json b/clients/client-dax/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-dax/tsconfig.es.json +++ b/clients/client-dax/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-dax/tsconfig.json b/clients/client-dax/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-dax/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-dax/tsconfig.types.json b/clients/client-dax/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-dax/tsconfig.types.json +++ b/clients/client-dax/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-detective/package.json b/clients/client-detective/package.json index caa10726feda..6a78ea17fbd9 100644 --- a/clients/client-detective/package.json +++ b/clients/client-detective/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-detective/tsconfig.cjs.json b/clients/client-detective/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-detective/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-detective/tsconfig.es.json b/clients/client-detective/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-detective/tsconfig.es.json +++ b/clients/client-detective/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-detective/tsconfig.json b/clients/client-detective/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-detective/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-detective/tsconfig.types.json b/clients/client-detective/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-detective/tsconfig.types.json +++ b/clients/client-detective/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-device-farm/package.json b/clients/client-device-farm/package.json index c4daa99b9886..6bf5368aa931 100644 --- a/clients/client-device-farm/package.json +++ b/clients/client-device-farm/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-device-farm/tsconfig.cjs.json b/clients/client-device-farm/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-device-farm/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-device-farm/tsconfig.es.json b/clients/client-device-farm/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-device-farm/tsconfig.es.json +++ b/clients/client-device-farm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-device-farm/tsconfig.json b/clients/client-device-farm/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-device-farm/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-device-farm/tsconfig.types.json b/clients/client-device-farm/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-device-farm/tsconfig.types.json +++ b/clients/client-device-farm/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-devops-guru/package.json b/clients/client-devops-guru/package.json index 0fe41f4d415b..035fb5145b79 100644 --- a/clients/client-devops-guru/package.json +++ b/clients/client-devops-guru/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-devops-guru/tsconfig.cjs.json b/clients/client-devops-guru/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-devops-guru/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-devops-guru/tsconfig.es.json b/clients/client-devops-guru/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-devops-guru/tsconfig.es.json +++ b/clients/client-devops-guru/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-devops-guru/tsconfig.json b/clients/client-devops-guru/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-devops-guru/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-devops-guru/tsconfig.types.json b/clients/client-devops-guru/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-devops-guru/tsconfig.types.json +++ b/clients/client-devops-guru/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-direct-connect/package.json b/clients/client-direct-connect/package.json index 2395999f31c6..0010e9d480ce 100644 --- a/clients/client-direct-connect/package.json +++ b/clients/client-direct-connect/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-direct-connect/tsconfig.cjs.json b/clients/client-direct-connect/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-direct-connect/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-direct-connect/tsconfig.es.json b/clients/client-direct-connect/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-direct-connect/tsconfig.es.json +++ b/clients/client-direct-connect/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-direct-connect/tsconfig.json b/clients/client-direct-connect/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-direct-connect/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-direct-connect/tsconfig.types.json b/clients/client-direct-connect/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-direct-connect/tsconfig.types.json +++ b/clients/client-direct-connect/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-directory-service/package.json b/clients/client-directory-service/package.json index 9c732201fbf2..1be40a0464f6 100644 --- a/clients/client-directory-service/package.json +++ b/clients/client-directory-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-directory-service/tsconfig.cjs.json b/clients/client-directory-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-directory-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-directory-service/tsconfig.es.json b/clients/client-directory-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-directory-service/tsconfig.es.json +++ b/clients/client-directory-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-directory-service/tsconfig.json b/clients/client-directory-service/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-directory-service/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-directory-service/tsconfig.types.json b/clients/client-directory-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-directory-service/tsconfig.types.json +++ b/clients/client-directory-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-dlm/package.json b/clients/client-dlm/package.json index a2402ad18a28..0e506acc489d 100644 --- a/clients/client-dlm/package.json +++ b/clients/client-dlm/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-dlm/tsconfig.cjs.json b/clients/client-dlm/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-dlm/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-dlm/tsconfig.es.json b/clients/client-dlm/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-dlm/tsconfig.es.json +++ b/clients/client-dlm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-dlm/tsconfig.json b/clients/client-dlm/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-dlm/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-dlm/tsconfig.types.json b/clients/client-dlm/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-dlm/tsconfig.types.json +++ b/clients/client-dlm/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-docdb/package.json b/clients/client-docdb/package.json index e2fb11554b5a..afe578254aa2 100644 --- a/clients/client-docdb/package.json +++ b/clients/client-docdb/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-docdb/tsconfig.cjs.json b/clients/client-docdb/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-docdb/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-docdb/tsconfig.es.json b/clients/client-docdb/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-docdb/tsconfig.es.json +++ b/clients/client-docdb/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-docdb/tsconfig.json b/clients/client-docdb/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-docdb/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-docdb/tsconfig.types.json b/clients/client-docdb/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-docdb/tsconfig.types.json +++ b/clients/client-docdb/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-drs/package.json b/clients/client-drs/package.json index 5fdef1d14996..ba10e1be2dff 100644 --- a/clients/client-drs/package.json +++ b/clients/client-drs/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-drs/tsconfig.cjs.json b/clients/client-drs/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-drs/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-drs/tsconfig.es.json b/clients/client-drs/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-drs/tsconfig.es.json +++ b/clients/client-drs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-drs/tsconfig.json b/clients/client-drs/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-drs/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-drs/tsconfig.types.json b/clients/client-drs/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-drs/tsconfig.types.json +++ b/clients/client-drs/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-dynamodb-streams/package.json b/clients/client-dynamodb-streams/package.json index 554bb9ef1bfb..0deb227a3ed8 100644 --- a/clients/client-dynamodb-streams/package.json +++ b/clients/client-dynamodb-streams/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-dynamodb-streams/tsconfig.cjs.json b/clients/client-dynamodb-streams/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-dynamodb-streams/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-dynamodb-streams/tsconfig.es.json b/clients/client-dynamodb-streams/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-dynamodb-streams/tsconfig.es.json +++ b/clients/client-dynamodb-streams/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-dynamodb-streams/tsconfig.json b/clients/client-dynamodb-streams/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-dynamodb-streams/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-dynamodb-streams/tsconfig.types.json b/clients/client-dynamodb-streams/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-dynamodb-streams/tsconfig.types.json +++ b/clients/client-dynamodb-streams/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-dynamodb/package.json b/clients/client-dynamodb/package.json index 2e8b89295c45..479359af56f7 100644 --- a/clients/client-dynamodb/package.json +++ b/clients/client-dynamodb/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-dynamodb/tsconfig.cjs.json b/clients/client-dynamodb/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-dynamodb/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-dynamodb/tsconfig.es.json b/clients/client-dynamodb/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-dynamodb/tsconfig.es.json +++ b/clients/client-dynamodb/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-dynamodb/tsconfig.json b/clients/client-dynamodb/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-dynamodb/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-dynamodb/tsconfig.types.json b/clients/client-dynamodb/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-dynamodb/tsconfig.types.json +++ b/clients/client-dynamodb/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ebs/package.json b/clients/client-ebs/package.json index fc0b585627f9..46c903d3a21c 100644 --- a/clients/client-ebs/package.json +++ b/clients/client-ebs/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ebs/tsconfig.cjs.json b/clients/client-ebs/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ebs/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ebs/tsconfig.es.json b/clients/client-ebs/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ebs/tsconfig.es.json +++ b/clients/client-ebs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ebs/tsconfig.json b/clients/client-ebs/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ebs/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ebs/tsconfig.types.json b/clients/client-ebs/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ebs/tsconfig.types.json +++ b/clients/client-ebs/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ec2-instance-connect/package.json b/clients/client-ec2-instance-connect/package.json index c939da2a3549..b4abf5d5f4ce 100644 --- a/clients/client-ec2-instance-connect/package.json +++ b/clients/client-ec2-instance-connect/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ec2-instance-connect/tsconfig.cjs.json b/clients/client-ec2-instance-connect/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ec2-instance-connect/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ec2-instance-connect/tsconfig.es.json b/clients/client-ec2-instance-connect/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ec2-instance-connect/tsconfig.es.json +++ b/clients/client-ec2-instance-connect/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ec2-instance-connect/tsconfig.json b/clients/client-ec2-instance-connect/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ec2-instance-connect/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ec2-instance-connect/tsconfig.types.json b/clients/client-ec2-instance-connect/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ec2-instance-connect/tsconfig.types.json +++ b/clients/client-ec2-instance-connect/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ec2/package.json b/clients/client-ec2/package.json index d587504d76a9..087d9333ec15 100644 --- a/clients/client-ec2/package.json +++ b/clients/client-ec2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ec2/tsconfig.cjs.json b/clients/client-ec2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ec2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ec2/tsconfig.es.json b/clients/client-ec2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ec2/tsconfig.es.json +++ b/clients/client-ec2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ec2/tsconfig.json b/clients/client-ec2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ec2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ec2/tsconfig.types.json b/clients/client-ec2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ec2/tsconfig.types.json +++ b/clients/client-ec2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ecr-public/package.json b/clients/client-ecr-public/package.json index 738104b157ff..3f6239093828 100644 --- a/clients/client-ecr-public/package.json +++ b/clients/client-ecr-public/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ecr-public/tsconfig.cjs.json b/clients/client-ecr-public/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ecr-public/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ecr-public/tsconfig.es.json b/clients/client-ecr-public/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ecr-public/tsconfig.es.json +++ b/clients/client-ecr-public/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ecr-public/tsconfig.json b/clients/client-ecr-public/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ecr-public/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ecr-public/tsconfig.types.json b/clients/client-ecr-public/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ecr-public/tsconfig.types.json +++ b/clients/client-ecr-public/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ecr/package.json b/clients/client-ecr/package.json index 404e2c285ac4..343ad63448f9 100644 --- a/clients/client-ecr/package.json +++ b/clients/client-ecr/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ecr/tsconfig.cjs.json b/clients/client-ecr/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ecr/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ecr/tsconfig.es.json b/clients/client-ecr/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ecr/tsconfig.es.json +++ b/clients/client-ecr/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ecr/tsconfig.json b/clients/client-ecr/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ecr/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ecr/tsconfig.types.json b/clients/client-ecr/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ecr/tsconfig.types.json +++ b/clients/client-ecr/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ecs/package.json b/clients/client-ecs/package.json index 38fd4c13c071..9d8df0e3ae7a 100644 --- a/clients/client-ecs/package.json +++ b/clients/client-ecs/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ecs/tsconfig.cjs.json b/clients/client-ecs/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ecs/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ecs/tsconfig.es.json b/clients/client-ecs/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ecs/tsconfig.es.json +++ b/clients/client-ecs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ecs/tsconfig.json b/clients/client-ecs/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ecs/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ecs/tsconfig.types.json b/clients/client-ecs/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ecs/tsconfig.types.json +++ b/clients/client-ecs/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-efs/package.json b/clients/client-efs/package.json index ff30d6185054..ae2ac11ff93e 100644 --- a/clients/client-efs/package.json +++ b/clients/client-efs/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-efs/tsconfig.cjs.json b/clients/client-efs/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-efs/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-efs/tsconfig.es.json b/clients/client-efs/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-efs/tsconfig.es.json +++ b/clients/client-efs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-efs/tsconfig.json b/clients/client-efs/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-efs/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-efs/tsconfig.types.json b/clients/client-efs/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-efs/tsconfig.types.json +++ b/clients/client-efs/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-eks/package.json b/clients/client-eks/package.json index 55ab64a57bcc..e7391f249385 100644 --- a/clients/client-eks/package.json +++ b/clients/client-eks/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-eks/tsconfig.cjs.json b/clients/client-eks/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-eks/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-eks/tsconfig.es.json b/clients/client-eks/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-eks/tsconfig.es.json +++ b/clients/client-eks/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-eks/tsconfig.json b/clients/client-eks/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-eks/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-eks/tsconfig.types.json b/clients/client-eks/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-eks/tsconfig.types.json +++ b/clients/client-eks/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-elastic-beanstalk/package.json b/clients/client-elastic-beanstalk/package.json index 7e36e4830f74..d2fe3bd27af2 100644 --- a/clients/client-elastic-beanstalk/package.json +++ b/clients/client-elastic-beanstalk/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-elastic-beanstalk/tsconfig.cjs.json b/clients/client-elastic-beanstalk/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-elastic-beanstalk/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-elastic-beanstalk/tsconfig.es.json b/clients/client-elastic-beanstalk/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-elastic-beanstalk/tsconfig.es.json +++ b/clients/client-elastic-beanstalk/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-elastic-beanstalk/tsconfig.json b/clients/client-elastic-beanstalk/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-elastic-beanstalk/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elastic-beanstalk/tsconfig.types.json b/clients/client-elastic-beanstalk/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-elastic-beanstalk/tsconfig.types.json +++ b/clients/client-elastic-beanstalk/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-elastic-inference/package.json b/clients/client-elastic-inference/package.json index 98b41222c460..c8895dd6b285 100644 --- a/clients/client-elastic-inference/package.json +++ b/clients/client-elastic-inference/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-elastic-inference/tsconfig.cjs.json b/clients/client-elastic-inference/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-elastic-inference/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-elastic-inference/tsconfig.es.json b/clients/client-elastic-inference/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-elastic-inference/tsconfig.es.json +++ b/clients/client-elastic-inference/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-elastic-inference/tsconfig.json b/clients/client-elastic-inference/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-elastic-inference/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elastic-inference/tsconfig.types.json b/clients/client-elastic-inference/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-elastic-inference/tsconfig.types.json +++ b/clients/client-elastic-inference/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-elastic-load-balancing-v2/package.json b/clients/client-elastic-load-balancing-v2/package.json index 33aac8c5a7ce..4bee1a5edb03 100644 --- a/clients/client-elastic-load-balancing-v2/package.json +++ b/clients/client-elastic-load-balancing-v2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-elastic-load-balancing-v2/tsconfig.cjs.json b/clients/client-elastic-load-balancing-v2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-elastic-load-balancing-v2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-elastic-load-balancing-v2/tsconfig.es.json b/clients/client-elastic-load-balancing-v2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-elastic-load-balancing-v2/tsconfig.es.json +++ b/clients/client-elastic-load-balancing-v2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-elastic-load-balancing-v2/tsconfig.json b/clients/client-elastic-load-balancing-v2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-elastic-load-balancing-v2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elastic-load-balancing-v2/tsconfig.types.json b/clients/client-elastic-load-balancing-v2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-elastic-load-balancing-v2/tsconfig.types.json +++ b/clients/client-elastic-load-balancing-v2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-elastic-load-balancing/package.json b/clients/client-elastic-load-balancing/package.json index ce7bc02c6285..e9a735311b33 100644 --- a/clients/client-elastic-load-balancing/package.json +++ b/clients/client-elastic-load-balancing/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-elastic-load-balancing/tsconfig.cjs.json b/clients/client-elastic-load-balancing/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-elastic-load-balancing/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-elastic-load-balancing/tsconfig.es.json b/clients/client-elastic-load-balancing/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-elastic-load-balancing/tsconfig.es.json +++ b/clients/client-elastic-load-balancing/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-elastic-load-balancing/tsconfig.json b/clients/client-elastic-load-balancing/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-elastic-load-balancing/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elastic-load-balancing/tsconfig.types.json b/clients/client-elastic-load-balancing/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-elastic-load-balancing/tsconfig.types.json +++ b/clients/client-elastic-load-balancing/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-elastic-transcoder/package.json b/clients/client-elastic-transcoder/package.json index a21ca1419296..716f4d5b0d46 100644 --- a/clients/client-elastic-transcoder/package.json +++ b/clients/client-elastic-transcoder/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-elastic-transcoder/tsconfig.cjs.json b/clients/client-elastic-transcoder/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-elastic-transcoder/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-elastic-transcoder/tsconfig.es.json b/clients/client-elastic-transcoder/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-elastic-transcoder/tsconfig.es.json +++ b/clients/client-elastic-transcoder/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-elastic-transcoder/tsconfig.json b/clients/client-elastic-transcoder/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-elastic-transcoder/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elastic-transcoder/tsconfig.types.json b/clients/client-elastic-transcoder/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-elastic-transcoder/tsconfig.types.json +++ b/clients/client-elastic-transcoder/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-elasticache/package.json b/clients/client-elasticache/package.json index f3b7c72ed821..4aaf2eca914e 100644 --- a/clients/client-elasticache/package.json +++ b/clients/client-elasticache/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-elasticache/tsconfig.cjs.json b/clients/client-elasticache/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-elasticache/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-elasticache/tsconfig.es.json b/clients/client-elasticache/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-elasticache/tsconfig.es.json +++ b/clients/client-elasticache/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-elasticache/tsconfig.json b/clients/client-elasticache/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-elasticache/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elasticache/tsconfig.types.json b/clients/client-elasticache/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-elasticache/tsconfig.types.json +++ b/clients/client-elasticache/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-elasticsearch-service/package.json b/clients/client-elasticsearch-service/package.json index c16f4f295509..73fc7f223563 100644 --- a/clients/client-elasticsearch-service/package.json +++ b/clients/client-elasticsearch-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-elasticsearch-service/tsconfig.cjs.json b/clients/client-elasticsearch-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-elasticsearch-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-elasticsearch-service/tsconfig.es.json b/clients/client-elasticsearch-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-elasticsearch-service/tsconfig.es.json +++ b/clients/client-elasticsearch-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-elasticsearch-service/tsconfig.json b/clients/client-elasticsearch-service/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-elasticsearch-service/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elasticsearch-service/tsconfig.types.json b/clients/client-elasticsearch-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-elasticsearch-service/tsconfig.types.json +++ b/clients/client-elasticsearch-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-emr-containers/package.json b/clients/client-emr-containers/package.json index b6faa8f51aa7..928eb01fbf63 100644 --- a/clients/client-emr-containers/package.json +++ b/clients/client-emr-containers/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-emr-containers/tsconfig.cjs.json b/clients/client-emr-containers/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-emr-containers/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-emr-containers/tsconfig.es.json b/clients/client-emr-containers/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-emr-containers/tsconfig.es.json +++ b/clients/client-emr-containers/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-emr-containers/tsconfig.json b/clients/client-emr-containers/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-emr-containers/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-emr-containers/tsconfig.types.json b/clients/client-emr-containers/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-emr-containers/tsconfig.types.json +++ b/clients/client-emr-containers/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-emr/package.json b/clients/client-emr/package.json index dfbd6a427c1f..eaa32f310a6a 100644 --- a/clients/client-emr/package.json +++ b/clients/client-emr/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-emr/tsconfig.cjs.json b/clients/client-emr/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-emr/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-emr/tsconfig.es.json b/clients/client-emr/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-emr/tsconfig.es.json +++ b/clients/client-emr/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-emr/tsconfig.json b/clients/client-emr/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-emr/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-emr/tsconfig.types.json b/clients/client-emr/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-emr/tsconfig.types.json +++ b/clients/client-emr/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-eventbridge/package.json b/clients/client-eventbridge/package.json index b4da9f7fd754..9353bebbb574 100644 --- a/clients/client-eventbridge/package.json +++ b/clients/client-eventbridge/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-eventbridge/tsconfig.cjs.json b/clients/client-eventbridge/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-eventbridge/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-eventbridge/tsconfig.es.json b/clients/client-eventbridge/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-eventbridge/tsconfig.es.json +++ b/clients/client-eventbridge/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-eventbridge/tsconfig.json b/clients/client-eventbridge/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-eventbridge/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-eventbridge/tsconfig.types.json b/clients/client-eventbridge/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-eventbridge/tsconfig.types.json +++ b/clients/client-eventbridge/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-evidently/package.json b/clients/client-evidently/package.json index 1f2c8b16023a..ef9cfffc8ff1 100644 --- a/clients/client-evidently/package.json +++ b/clients/client-evidently/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-evidently/tsconfig.cjs.json b/clients/client-evidently/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-evidently/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-evidently/tsconfig.es.json b/clients/client-evidently/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-evidently/tsconfig.es.json +++ b/clients/client-evidently/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-evidently/tsconfig.json b/clients/client-evidently/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-evidently/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-evidently/tsconfig.types.json b/clients/client-evidently/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-evidently/tsconfig.types.json +++ b/clients/client-evidently/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-finspace-data/package.json b/clients/client-finspace-data/package.json index 781af8fba0c9..ad4a7a8aeda6 100644 --- a/clients/client-finspace-data/package.json +++ b/clients/client-finspace-data/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-finspace-data/tsconfig.cjs.json b/clients/client-finspace-data/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-finspace-data/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-finspace-data/tsconfig.es.json b/clients/client-finspace-data/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-finspace-data/tsconfig.es.json +++ b/clients/client-finspace-data/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-finspace-data/tsconfig.json b/clients/client-finspace-data/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-finspace-data/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-finspace-data/tsconfig.types.json b/clients/client-finspace-data/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-finspace-data/tsconfig.types.json +++ b/clients/client-finspace-data/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-finspace/package.json b/clients/client-finspace/package.json index 66d879db1098..436fd8c5b32c 100644 --- a/clients/client-finspace/package.json +++ b/clients/client-finspace/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-finspace/tsconfig.cjs.json b/clients/client-finspace/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-finspace/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-finspace/tsconfig.es.json b/clients/client-finspace/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-finspace/tsconfig.es.json +++ b/clients/client-finspace/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-finspace/tsconfig.json b/clients/client-finspace/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-finspace/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-finspace/tsconfig.types.json b/clients/client-finspace/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-finspace/tsconfig.types.json +++ b/clients/client-finspace/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-firehose/package.json b/clients/client-firehose/package.json index 9e69e020381f..2defdb6dc5cd 100644 --- a/clients/client-firehose/package.json +++ b/clients/client-firehose/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-firehose/tsconfig.cjs.json b/clients/client-firehose/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-firehose/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-firehose/tsconfig.es.json b/clients/client-firehose/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-firehose/tsconfig.es.json +++ b/clients/client-firehose/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-firehose/tsconfig.json b/clients/client-firehose/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-firehose/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-firehose/tsconfig.types.json b/clients/client-firehose/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-firehose/tsconfig.types.json +++ b/clients/client-firehose/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-fis/package.json b/clients/client-fis/package.json index 67823aad62ce..879f1789bd0a 100644 --- a/clients/client-fis/package.json +++ b/clients/client-fis/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-fis/tsconfig.cjs.json b/clients/client-fis/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-fis/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-fis/tsconfig.es.json b/clients/client-fis/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-fis/tsconfig.es.json +++ b/clients/client-fis/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-fis/tsconfig.json b/clients/client-fis/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-fis/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-fis/tsconfig.types.json b/clients/client-fis/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-fis/tsconfig.types.json +++ b/clients/client-fis/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-fms/package.json b/clients/client-fms/package.json index 317c87dbfa77..5c8ea053dcc3 100644 --- a/clients/client-fms/package.json +++ b/clients/client-fms/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-fms/tsconfig.cjs.json b/clients/client-fms/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-fms/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-fms/tsconfig.es.json b/clients/client-fms/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-fms/tsconfig.es.json +++ b/clients/client-fms/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-fms/tsconfig.json b/clients/client-fms/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-fms/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-fms/tsconfig.types.json b/clients/client-fms/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-fms/tsconfig.types.json +++ b/clients/client-fms/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-forecast/package.json b/clients/client-forecast/package.json index e2e0aaff0635..3555f2726ed7 100644 --- a/clients/client-forecast/package.json +++ b/clients/client-forecast/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-forecast/tsconfig.cjs.json b/clients/client-forecast/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-forecast/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-forecast/tsconfig.es.json b/clients/client-forecast/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-forecast/tsconfig.es.json +++ b/clients/client-forecast/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-forecast/tsconfig.json b/clients/client-forecast/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-forecast/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-forecast/tsconfig.types.json b/clients/client-forecast/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-forecast/tsconfig.types.json +++ b/clients/client-forecast/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-forecastquery/package.json b/clients/client-forecastquery/package.json index b72020a740d3..4226c8228df7 100644 --- a/clients/client-forecastquery/package.json +++ b/clients/client-forecastquery/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-forecastquery/tsconfig.cjs.json b/clients/client-forecastquery/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-forecastquery/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-forecastquery/tsconfig.es.json b/clients/client-forecastquery/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-forecastquery/tsconfig.es.json +++ b/clients/client-forecastquery/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-forecastquery/tsconfig.json b/clients/client-forecastquery/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-forecastquery/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-forecastquery/tsconfig.types.json b/clients/client-forecastquery/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-forecastquery/tsconfig.types.json +++ b/clients/client-forecastquery/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-frauddetector/package.json b/clients/client-frauddetector/package.json index 3f283800b977..6468665f05ad 100644 --- a/clients/client-frauddetector/package.json +++ b/clients/client-frauddetector/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-frauddetector/tsconfig.cjs.json b/clients/client-frauddetector/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-frauddetector/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-frauddetector/tsconfig.es.json b/clients/client-frauddetector/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-frauddetector/tsconfig.es.json +++ b/clients/client-frauddetector/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-frauddetector/tsconfig.json b/clients/client-frauddetector/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-frauddetector/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-frauddetector/tsconfig.types.json b/clients/client-frauddetector/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-frauddetector/tsconfig.types.json +++ b/clients/client-frauddetector/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-fsx/package.json b/clients/client-fsx/package.json index 90c7568e9a1c..5dc44495794f 100644 --- a/clients/client-fsx/package.json +++ b/clients/client-fsx/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-fsx/tsconfig.cjs.json b/clients/client-fsx/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-fsx/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-fsx/tsconfig.es.json b/clients/client-fsx/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-fsx/tsconfig.es.json +++ b/clients/client-fsx/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-fsx/tsconfig.json b/clients/client-fsx/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-fsx/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-fsx/tsconfig.types.json b/clients/client-fsx/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-fsx/tsconfig.types.json +++ b/clients/client-fsx/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-gamelift/package.json b/clients/client-gamelift/package.json index 321ffa247c66..7e36b82eef6f 100644 --- a/clients/client-gamelift/package.json +++ b/clients/client-gamelift/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-gamelift/tsconfig.cjs.json b/clients/client-gamelift/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-gamelift/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-gamelift/tsconfig.es.json b/clients/client-gamelift/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-gamelift/tsconfig.es.json +++ b/clients/client-gamelift/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-gamelift/tsconfig.json b/clients/client-gamelift/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-gamelift/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-gamelift/tsconfig.types.json b/clients/client-gamelift/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-gamelift/tsconfig.types.json +++ b/clients/client-gamelift/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-glacier/package.json b/clients/client-glacier/package.json index 51c79a1e0010..971c501af84a 100644 --- a/clients/client-glacier/package.json +++ b/clients/client-glacier/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-glacier/tsconfig.cjs.json b/clients/client-glacier/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-glacier/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-glacier/tsconfig.es.json b/clients/client-glacier/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-glacier/tsconfig.es.json +++ b/clients/client-glacier/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-glacier/tsconfig.json b/clients/client-glacier/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-glacier/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-glacier/tsconfig.types.json b/clients/client-glacier/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-glacier/tsconfig.types.json +++ b/clients/client-glacier/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-global-accelerator/package.json b/clients/client-global-accelerator/package.json index 85801bce33c9..6823dd2eb030 100644 --- a/clients/client-global-accelerator/package.json +++ b/clients/client-global-accelerator/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-global-accelerator/tsconfig.cjs.json b/clients/client-global-accelerator/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-global-accelerator/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-global-accelerator/tsconfig.es.json b/clients/client-global-accelerator/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-global-accelerator/tsconfig.es.json +++ b/clients/client-global-accelerator/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-global-accelerator/tsconfig.json b/clients/client-global-accelerator/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-global-accelerator/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-global-accelerator/tsconfig.types.json b/clients/client-global-accelerator/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-global-accelerator/tsconfig.types.json +++ b/clients/client-global-accelerator/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-glue/package.json b/clients/client-glue/package.json index 75c0dac73a6b..4603521f8ca0 100644 --- a/clients/client-glue/package.json +++ b/clients/client-glue/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-glue/tsconfig.cjs.json b/clients/client-glue/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-glue/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-glue/tsconfig.es.json b/clients/client-glue/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-glue/tsconfig.es.json +++ b/clients/client-glue/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-glue/tsconfig.json b/clients/client-glue/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-glue/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-glue/tsconfig.types.json b/clients/client-glue/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-glue/tsconfig.types.json +++ b/clients/client-glue/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-grafana/package.json b/clients/client-grafana/package.json index d19c677e73a1..a4cc2ccbdda8 100644 --- a/clients/client-grafana/package.json +++ b/clients/client-grafana/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-grafana/tsconfig.cjs.json b/clients/client-grafana/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-grafana/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-grafana/tsconfig.es.json b/clients/client-grafana/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-grafana/tsconfig.es.json +++ b/clients/client-grafana/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-grafana/tsconfig.json b/clients/client-grafana/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-grafana/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-grafana/tsconfig.types.json b/clients/client-grafana/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-grafana/tsconfig.types.json +++ b/clients/client-grafana/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-greengrass/package.json b/clients/client-greengrass/package.json index 9b2b686e8814..269f14086182 100644 --- a/clients/client-greengrass/package.json +++ b/clients/client-greengrass/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-greengrass/tsconfig.cjs.json b/clients/client-greengrass/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-greengrass/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-greengrass/tsconfig.es.json b/clients/client-greengrass/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-greengrass/tsconfig.es.json +++ b/clients/client-greengrass/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-greengrass/tsconfig.json b/clients/client-greengrass/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-greengrass/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-greengrass/tsconfig.types.json b/clients/client-greengrass/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-greengrass/tsconfig.types.json +++ b/clients/client-greengrass/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-greengrassv2/package.json b/clients/client-greengrassv2/package.json index e5d61fad98ea..635bf81f3fe6 100644 --- a/clients/client-greengrassv2/package.json +++ b/clients/client-greengrassv2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-greengrassv2/tsconfig.cjs.json b/clients/client-greengrassv2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-greengrassv2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-greengrassv2/tsconfig.es.json b/clients/client-greengrassv2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-greengrassv2/tsconfig.es.json +++ b/clients/client-greengrassv2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-greengrassv2/tsconfig.json b/clients/client-greengrassv2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-greengrassv2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-greengrassv2/tsconfig.types.json b/clients/client-greengrassv2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-greengrassv2/tsconfig.types.json +++ b/clients/client-greengrassv2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-groundstation/package.json b/clients/client-groundstation/package.json index 5d1c67121f65..b32d26ce86a2 100644 --- a/clients/client-groundstation/package.json +++ b/clients/client-groundstation/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-groundstation/tsconfig.cjs.json b/clients/client-groundstation/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-groundstation/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-groundstation/tsconfig.es.json b/clients/client-groundstation/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-groundstation/tsconfig.es.json +++ b/clients/client-groundstation/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-groundstation/tsconfig.json b/clients/client-groundstation/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-groundstation/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-groundstation/tsconfig.types.json b/clients/client-groundstation/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-groundstation/tsconfig.types.json +++ b/clients/client-groundstation/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-guardduty/package.json b/clients/client-guardduty/package.json index 4f382ddffe0f..01b3315dcd1a 100644 --- a/clients/client-guardduty/package.json +++ b/clients/client-guardduty/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-guardduty/tsconfig.cjs.json b/clients/client-guardduty/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-guardduty/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-guardduty/tsconfig.es.json b/clients/client-guardduty/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-guardduty/tsconfig.es.json +++ b/clients/client-guardduty/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-guardduty/tsconfig.json b/clients/client-guardduty/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-guardduty/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-guardduty/tsconfig.types.json b/clients/client-guardduty/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-guardduty/tsconfig.types.json +++ b/clients/client-guardduty/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-health/package.json b/clients/client-health/package.json index 651e7ca6ce51..a697bc1c65c5 100644 --- a/clients/client-health/package.json +++ b/clients/client-health/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-health/tsconfig.cjs.json b/clients/client-health/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-health/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-health/tsconfig.es.json b/clients/client-health/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-health/tsconfig.es.json +++ b/clients/client-health/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-health/tsconfig.json b/clients/client-health/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-health/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-health/tsconfig.types.json b/clients/client-health/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-health/tsconfig.types.json +++ b/clients/client-health/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-healthlake/package.json b/clients/client-healthlake/package.json index f437d556e220..7ee5eee40c91 100644 --- a/clients/client-healthlake/package.json +++ b/clients/client-healthlake/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-healthlake/tsconfig.cjs.json b/clients/client-healthlake/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-healthlake/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-healthlake/tsconfig.es.json b/clients/client-healthlake/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-healthlake/tsconfig.es.json +++ b/clients/client-healthlake/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-healthlake/tsconfig.json b/clients/client-healthlake/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-healthlake/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-healthlake/tsconfig.types.json b/clients/client-healthlake/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-healthlake/tsconfig.types.json +++ b/clients/client-healthlake/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-honeycode/package.json b/clients/client-honeycode/package.json index 69d624d38eac..ee5db792c9b1 100644 --- a/clients/client-honeycode/package.json +++ b/clients/client-honeycode/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-honeycode/tsconfig.cjs.json b/clients/client-honeycode/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-honeycode/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-honeycode/tsconfig.es.json b/clients/client-honeycode/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-honeycode/tsconfig.es.json +++ b/clients/client-honeycode/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-honeycode/tsconfig.json b/clients/client-honeycode/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-honeycode/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-honeycode/tsconfig.types.json b/clients/client-honeycode/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-honeycode/tsconfig.types.json +++ b/clients/client-honeycode/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iam/package.json b/clients/client-iam/package.json index 125b338f6165..9d6f7e66dcf3 100644 --- a/clients/client-iam/package.json +++ b/clients/client-iam/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iam/tsconfig.cjs.json b/clients/client-iam/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iam/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iam/tsconfig.es.json b/clients/client-iam/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iam/tsconfig.es.json +++ b/clients/client-iam/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iam/tsconfig.json b/clients/client-iam/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iam/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iam/tsconfig.types.json b/clients/client-iam/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iam/tsconfig.types.json +++ b/clients/client-iam/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-identitystore/package.json b/clients/client-identitystore/package.json index 47a35f8f1e35..0a39d57cddb9 100644 --- a/clients/client-identitystore/package.json +++ b/clients/client-identitystore/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-identitystore/tsconfig.cjs.json b/clients/client-identitystore/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-identitystore/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-identitystore/tsconfig.es.json b/clients/client-identitystore/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-identitystore/tsconfig.es.json +++ b/clients/client-identitystore/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-identitystore/tsconfig.json b/clients/client-identitystore/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-identitystore/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-identitystore/tsconfig.types.json b/clients/client-identitystore/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-identitystore/tsconfig.types.json +++ b/clients/client-identitystore/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-imagebuilder/package.json b/clients/client-imagebuilder/package.json index cc791368d4e5..8196272f4ae4 100644 --- a/clients/client-imagebuilder/package.json +++ b/clients/client-imagebuilder/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-imagebuilder/tsconfig.cjs.json b/clients/client-imagebuilder/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-imagebuilder/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-imagebuilder/tsconfig.es.json b/clients/client-imagebuilder/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-imagebuilder/tsconfig.es.json +++ b/clients/client-imagebuilder/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-imagebuilder/tsconfig.json b/clients/client-imagebuilder/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-imagebuilder/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-imagebuilder/tsconfig.types.json b/clients/client-imagebuilder/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-imagebuilder/tsconfig.types.json +++ b/clients/client-imagebuilder/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-inspector/package.json b/clients/client-inspector/package.json index c2be14c872a5..7820e939ca1d 100644 --- a/clients/client-inspector/package.json +++ b/clients/client-inspector/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-inspector/tsconfig.cjs.json b/clients/client-inspector/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-inspector/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-inspector/tsconfig.es.json b/clients/client-inspector/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-inspector/tsconfig.es.json +++ b/clients/client-inspector/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-inspector/tsconfig.json b/clients/client-inspector/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-inspector/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-inspector/tsconfig.types.json b/clients/client-inspector/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-inspector/tsconfig.types.json +++ b/clients/client-inspector/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-inspector2/package.json b/clients/client-inspector2/package.json index 3a5f261cbd07..5c93e0603aea 100644 --- a/clients/client-inspector2/package.json +++ b/clients/client-inspector2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-inspector2/tsconfig.cjs.json b/clients/client-inspector2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-inspector2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-inspector2/tsconfig.es.json b/clients/client-inspector2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-inspector2/tsconfig.es.json +++ b/clients/client-inspector2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-inspector2/tsconfig.json b/clients/client-inspector2/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-inspector2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-inspector2/tsconfig.types.json b/clients/client-inspector2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-inspector2/tsconfig.types.json +++ b/clients/client-inspector2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iot-1click-devices-service/package.json b/clients/client-iot-1click-devices-service/package.json index 69853d98dc82..f88d329fd102 100644 --- a/clients/client-iot-1click-devices-service/package.json +++ b/clients/client-iot-1click-devices-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iot-1click-devices-service/tsconfig.cjs.json b/clients/client-iot-1click-devices-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iot-1click-devices-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iot-1click-devices-service/tsconfig.es.json b/clients/client-iot-1click-devices-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iot-1click-devices-service/tsconfig.es.json +++ b/clients/client-iot-1click-devices-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iot-1click-devices-service/tsconfig.json b/clients/client-iot-1click-devices-service/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iot-1click-devices-service/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-1click-devices-service/tsconfig.types.json b/clients/client-iot-1click-devices-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iot-1click-devices-service/tsconfig.types.json +++ b/clients/client-iot-1click-devices-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iot-1click-projects/package.json b/clients/client-iot-1click-projects/package.json index 4d02c759a5c1..5e7b709a524b 100644 --- a/clients/client-iot-1click-projects/package.json +++ b/clients/client-iot-1click-projects/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iot-1click-projects/tsconfig.cjs.json b/clients/client-iot-1click-projects/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iot-1click-projects/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iot-1click-projects/tsconfig.es.json b/clients/client-iot-1click-projects/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iot-1click-projects/tsconfig.es.json +++ b/clients/client-iot-1click-projects/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iot-1click-projects/tsconfig.json b/clients/client-iot-1click-projects/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iot-1click-projects/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-1click-projects/tsconfig.types.json b/clients/client-iot-1click-projects/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iot-1click-projects/tsconfig.types.json +++ b/clients/client-iot-1click-projects/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iot-data-plane/package.json b/clients/client-iot-data-plane/package.json index fbcb3ddcd32b..ae09a0218324 100644 --- a/clients/client-iot-data-plane/package.json +++ b/clients/client-iot-data-plane/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iot-data-plane/tsconfig.cjs.json b/clients/client-iot-data-plane/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iot-data-plane/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iot-data-plane/tsconfig.es.json b/clients/client-iot-data-plane/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iot-data-plane/tsconfig.es.json +++ b/clients/client-iot-data-plane/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iot-data-plane/tsconfig.json b/clients/client-iot-data-plane/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iot-data-plane/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-data-plane/tsconfig.types.json b/clients/client-iot-data-plane/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iot-data-plane/tsconfig.types.json +++ b/clients/client-iot-data-plane/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iot-events-data/package.json b/clients/client-iot-events-data/package.json index 85902777f3ab..d37fa8d4ad0c 100644 --- a/clients/client-iot-events-data/package.json +++ b/clients/client-iot-events-data/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iot-events-data/tsconfig.cjs.json b/clients/client-iot-events-data/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iot-events-data/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iot-events-data/tsconfig.es.json b/clients/client-iot-events-data/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iot-events-data/tsconfig.es.json +++ b/clients/client-iot-events-data/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iot-events-data/tsconfig.json b/clients/client-iot-events-data/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iot-events-data/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-events-data/tsconfig.types.json b/clients/client-iot-events-data/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iot-events-data/tsconfig.types.json +++ b/clients/client-iot-events-data/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iot-events/package.json b/clients/client-iot-events/package.json index 45bd36c90cad..571a27f8733e 100644 --- a/clients/client-iot-events/package.json +++ b/clients/client-iot-events/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iot-events/tsconfig.cjs.json b/clients/client-iot-events/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iot-events/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iot-events/tsconfig.es.json b/clients/client-iot-events/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iot-events/tsconfig.es.json +++ b/clients/client-iot-events/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iot-events/tsconfig.json b/clients/client-iot-events/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iot-events/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-events/tsconfig.types.json b/clients/client-iot-events/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iot-events/tsconfig.types.json +++ b/clients/client-iot-events/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iot-jobs-data-plane/package.json b/clients/client-iot-jobs-data-plane/package.json index 37f285de1ec7..f86d62139784 100644 --- a/clients/client-iot-jobs-data-plane/package.json +++ b/clients/client-iot-jobs-data-plane/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iot-jobs-data-plane/tsconfig.cjs.json b/clients/client-iot-jobs-data-plane/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iot-jobs-data-plane/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iot-jobs-data-plane/tsconfig.es.json b/clients/client-iot-jobs-data-plane/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iot-jobs-data-plane/tsconfig.es.json +++ b/clients/client-iot-jobs-data-plane/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iot-jobs-data-plane/tsconfig.json b/clients/client-iot-jobs-data-plane/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iot-jobs-data-plane/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-jobs-data-plane/tsconfig.types.json b/clients/client-iot-jobs-data-plane/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iot-jobs-data-plane/tsconfig.types.json +++ b/clients/client-iot-jobs-data-plane/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iot-wireless/package.json b/clients/client-iot-wireless/package.json index 1196e69f5ee0..ec989a5379cf 100644 --- a/clients/client-iot-wireless/package.json +++ b/clients/client-iot-wireless/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iot-wireless/tsconfig.cjs.json b/clients/client-iot-wireless/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iot-wireless/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iot-wireless/tsconfig.es.json b/clients/client-iot-wireless/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iot-wireless/tsconfig.es.json +++ b/clients/client-iot-wireless/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iot-wireless/tsconfig.json b/clients/client-iot-wireless/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iot-wireless/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-wireless/tsconfig.types.json b/clients/client-iot-wireless/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iot-wireless/tsconfig.types.json +++ b/clients/client-iot-wireless/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iot/package.json b/clients/client-iot/package.json index cc3eda13a3ec..9b85676a7c65 100644 --- a/clients/client-iot/package.json +++ b/clients/client-iot/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iot/tsconfig.cjs.json b/clients/client-iot/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iot/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iot/tsconfig.es.json b/clients/client-iot/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iot/tsconfig.es.json +++ b/clients/client-iot/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iot/tsconfig.json b/clients/client-iot/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iot/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot/tsconfig.types.json b/clients/client-iot/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iot/tsconfig.types.json +++ b/clients/client-iot/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iotanalytics/package.json b/clients/client-iotanalytics/package.json index 67c9b1acc071..d1d5373ee45b 100644 --- a/clients/client-iotanalytics/package.json +++ b/clients/client-iotanalytics/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iotanalytics/tsconfig.cjs.json b/clients/client-iotanalytics/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iotanalytics/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iotanalytics/tsconfig.es.json b/clients/client-iotanalytics/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iotanalytics/tsconfig.es.json +++ b/clients/client-iotanalytics/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iotanalytics/tsconfig.json b/clients/client-iotanalytics/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iotanalytics/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotanalytics/tsconfig.types.json b/clients/client-iotanalytics/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iotanalytics/tsconfig.types.json +++ b/clients/client-iotanalytics/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iotdeviceadvisor/package.json b/clients/client-iotdeviceadvisor/package.json index 8572e0b4b871..5e9fecb49764 100644 --- a/clients/client-iotdeviceadvisor/package.json +++ b/clients/client-iotdeviceadvisor/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iotdeviceadvisor/tsconfig.cjs.json b/clients/client-iotdeviceadvisor/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iotdeviceadvisor/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iotdeviceadvisor/tsconfig.es.json b/clients/client-iotdeviceadvisor/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iotdeviceadvisor/tsconfig.es.json +++ b/clients/client-iotdeviceadvisor/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iotdeviceadvisor/tsconfig.json b/clients/client-iotdeviceadvisor/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iotdeviceadvisor/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotdeviceadvisor/tsconfig.types.json b/clients/client-iotdeviceadvisor/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iotdeviceadvisor/tsconfig.types.json +++ b/clients/client-iotdeviceadvisor/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iotfleethub/package.json b/clients/client-iotfleethub/package.json index 446e7842f09c..fe6de7603b4a 100644 --- a/clients/client-iotfleethub/package.json +++ b/clients/client-iotfleethub/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iotfleethub/tsconfig.cjs.json b/clients/client-iotfleethub/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iotfleethub/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iotfleethub/tsconfig.es.json b/clients/client-iotfleethub/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iotfleethub/tsconfig.es.json +++ b/clients/client-iotfleethub/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iotfleethub/tsconfig.json b/clients/client-iotfleethub/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iotfleethub/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotfleethub/tsconfig.types.json b/clients/client-iotfleethub/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iotfleethub/tsconfig.types.json +++ b/clients/client-iotfleethub/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iotsecuretunneling/package.json b/clients/client-iotsecuretunneling/package.json index 6b32d7fe6e66..eda4eb3dfcae 100644 --- a/clients/client-iotsecuretunneling/package.json +++ b/clients/client-iotsecuretunneling/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iotsecuretunneling/tsconfig.cjs.json b/clients/client-iotsecuretunneling/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iotsecuretunneling/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iotsecuretunneling/tsconfig.es.json b/clients/client-iotsecuretunneling/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iotsecuretunneling/tsconfig.es.json +++ b/clients/client-iotsecuretunneling/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iotsecuretunneling/tsconfig.json b/clients/client-iotsecuretunneling/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iotsecuretunneling/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotsecuretunneling/tsconfig.types.json b/clients/client-iotsecuretunneling/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iotsecuretunneling/tsconfig.types.json +++ b/clients/client-iotsecuretunneling/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iotsitewise/package.json b/clients/client-iotsitewise/package.json index bf2240beba3e..f057b5ed12c8 100644 --- a/clients/client-iotsitewise/package.json +++ b/clients/client-iotsitewise/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iotsitewise/tsconfig.cjs.json b/clients/client-iotsitewise/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iotsitewise/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iotsitewise/tsconfig.es.json b/clients/client-iotsitewise/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iotsitewise/tsconfig.es.json +++ b/clients/client-iotsitewise/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iotsitewise/tsconfig.json b/clients/client-iotsitewise/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iotsitewise/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotsitewise/tsconfig.types.json b/clients/client-iotsitewise/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iotsitewise/tsconfig.types.json +++ b/clients/client-iotsitewise/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iotthingsgraph/package.json b/clients/client-iotthingsgraph/package.json index 7344de8aa853..0069eda5d102 100644 --- a/clients/client-iotthingsgraph/package.json +++ b/clients/client-iotthingsgraph/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iotthingsgraph/tsconfig.cjs.json b/clients/client-iotthingsgraph/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iotthingsgraph/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iotthingsgraph/tsconfig.es.json b/clients/client-iotthingsgraph/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iotthingsgraph/tsconfig.es.json +++ b/clients/client-iotthingsgraph/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iotthingsgraph/tsconfig.json b/clients/client-iotthingsgraph/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-iotthingsgraph/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotthingsgraph/tsconfig.types.json b/clients/client-iotthingsgraph/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iotthingsgraph/tsconfig.types.json +++ b/clients/client-iotthingsgraph/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-iottwinmaker/package.json b/clients/client-iottwinmaker/package.json index f3434b2f1e1a..4483750dfcd1 100644 --- a/clients/client-iottwinmaker/package.json +++ b/clients/client-iottwinmaker/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-iottwinmaker/tsconfig.cjs.json b/clients/client-iottwinmaker/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-iottwinmaker/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-iottwinmaker/tsconfig.es.json b/clients/client-iottwinmaker/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-iottwinmaker/tsconfig.es.json +++ b/clients/client-iottwinmaker/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-iottwinmaker/tsconfig.json b/clients/client-iottwinmaker/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-iottwinmaker/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iottwinmaker/tsconfig.types.json b/clients/client-iottwinmaker/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-iottwinmaker/tsconfig.types.json +++ b/clients/client-iottwinmaker/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ivs/package.json b/clients/client-ivs/package.json index 5ec1094159bd..3029e1f66499 100644 --- a/clients/client-ivs/package.json +++ b/clients/client-ivs/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ivs/tsconfig.cjs.json b/clients/client-ivs/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ivs/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ivs/tsconfig.es.json b/clients/client-ivs/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ivs/tsconfig.es.json +++ b/clients/client-ivs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ivs/tsconfig.json b/clients/client-ivs/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ivs/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ivs/tsconfig.types.json b/clients/client-ivs/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ivs/tsconfig.types.json +++ b/clients/client-ivs/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kafka/package.json b/clients/client-kafka/package.json index 6fcc5f8e4c74..093d8c015bcc 100644 --- a/clients/client-kafka/package.json +++ b/clients/client-kafka/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kafka/tsconfig.cjs.json b/clients/client-kafka/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kafka/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kafka/tsconfig.es.json b/clients/client-kafka/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kafka/tsconfig.es.json +++ b/clients/client-kafka/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kafka/tsconfig.json b/clients/client-kafka/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kafka/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kafka/tsconfig.types.json b/clients/client-kafka/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kafka/tsconfig.types.json +++ b/clients/client-kafka/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kafkaconnect/package.json b/clients/client-kafkaconnect/package.json index 697e75507d9f..81889b9f2726 100644 --- a/clients/client-kafkaconnect/package.json +++ b/clients/client-kafkaconnect/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kafkaconnect/tsconfig.cjs.json b/clients/client-kafkaconnect/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kafkaconnect/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kafkaconnect/tsconfig.es.json b/clients/client-kafkaconnect/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kafkaconnect/tsconfig.es.json +++ b/clients/client-kafkaconnect/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kafkaconnect/tsconfig.json b/clients/client-kafkaconnect/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kafkaconnect/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kafkaconnect/tsconfig.types.json b/clients/client-kafkaconnect/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kafkaconnect/tsconfig.types.json +++ b/clients/client-kafkaconnect/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kendra/package.json b/clients/client-kendra/package.json index 28e34cd00805..3014aa393e16 100644 --- a/clients/client-kendra/package.json +++ b/clients/client-kendra/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kendra/tsconfig.cjs.json b/clients/client-kendra/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kendra/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kendra/tsconfig.es.json b/clients/client-kendra/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kendra/tsconfig.es.json +++ b/clients/client-kendra/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kendra/tsconfig.json b/clients/client-kendra/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kendra/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kendra/tsconfig.types.json b/clients/client-kendra/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kendra/tsconfig.types.json +++ b/clients/client-kendra/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-analytics-v2/package.json b/clients/client-kinesis-analytics-v2/package.json index 0351b5b12065..de97066c8000 100644 --- a/clients/client-kinesis-analytics-v2/package.json +++ b/clients/client-kinesis-analytics-v2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kinesis-analytics-v2/tsconfig.cjs.json b/clients/client-kinesis-analytics-v2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kinesis-analytics-v2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kinesis-analytics-v2/tsconfig.es.json b/clients/client-kinesis-analytics-v2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kinesis-analytics-v2/tsconfig.es.json +++ b/clients/client-kinesis-analytics-v2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-analytics-v2/tsconfig.json b/clients/client-kinesis-analytics-v2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kinesis-analytics-v2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-analytics-v2/tsconfig.types.json b/clients/client-kinesis-analytics-v2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kinesis-analytics-v2/tsconfig.types.json +++ b/clients/client-kinesis-analytics-v2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-analytics/package.json b/clients/client-kinesis-analytics/package.json index 6880e0bcb80d..628aef7e9c50 100644 --- a/clients/client-kinesis-analytics/package.json +++ b/clients/client-kinesis-analytics/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kinesis-analytics/tsconfig.cjs.json b/clients/client-kinesis-analytics/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kinesis-analytics/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kinesis-analytics/tsconfig.es.json b/clients/client-kinesis-analytics/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kinesis-analytics/tsconfig.es.json +++ b/clients/client-kinesis-analytics/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-analytics/tsconfig.json b/clients/client-kinesis-analytics/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kinesis-analytics/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-analytics/tsconfig.types.json b/clients/client-kinesis-analytics/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kinesis-analytics/tsconfig.types.json +++ b/clients/client-kinesis-analytics/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-video-archived-media/package.json b/clients/client-kinesis-video-archived-media/package.json index 0b774eacf529..5072b393d891 100644 --- a/clients/client-kinesis-video-archived-media/package.json +++ b/clients/client-kinesis-video-archived-media/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kinesis-video-archived-media/tsconfig.cjs.json b/clients/client-kinesis-video-archived-media/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kinesis-video-archived-media/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kinesis-video-archived-media/tsconfig.es.json b/clients/client-kinesis-video-archived-media/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kinesis-video-archived-media/tsconfig.es.json +++ b/clients/client-kinesis-video-archived-media/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-video-archived-media/tsconfig.json b/clients/client-kinesis-video-archived-media/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kinesis-video-archived-media/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-video-archived-media/tsconfig.types.json b/clients/client-kinesis-video-archived-media/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kinesis-video-archived-media/tsconfig.types.json +++ b/clients/client-kinesis-video-archived-media/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-video-media/package.json b/clients/client-kinesis-video-media/package.json index f5f7fff04105..196e6dab28af 100644 --- a/clients/client-kinesis-video-media/package.json +++ b/clients/client-kinesis-video-media/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kinesis-video-media/tsconfig.cjs.json b/clients/client-kinesis-video-media/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kinesis-video-media/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kinesis-video-media/tsconfig.es.json b/clients/client-kinesis-video-media/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kinesis-video-media/tsconfig.es.json +++ b/clients/client-kinesis-video-media/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-video-media/tsconfig.json b/clients/client-kinesis-video-media/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kinesis-video-media/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-video-media/tsconfig.types.json b/clients/client-kinesis-video-media/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kinesis-video-media/tsconfig.types.json +++ b/clients/client-kinesis-video-media/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-video-signaling/package.json b/clients/client-kinesis-video-signaling/package.json index 45d356839317..988aedb705d7 100644 --- a/clients/client-kinesis-video-signaling/package.json +++ b/clients/client-kinesis-video-signaling/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kinesis-video-signaling/tsconfig.cjs.json b/clients/client-kinesis-video-signaling/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kinesis-video-signaling/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kinesis-video-signaling/tsconfig.es.json b/clients/client-kinesis-video-signaling/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kinesis-video-signaling/tsconfig.es.json +++ b/clients/client-kinesis-video-signaling/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-video-signaling/tsconfig.json b/clients/client-kinesis-video-signaling/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kinesis-video-signaling/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-video-signaling/tsconfig.types.json b/clients/client-kinesis-video-signaling/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kinesis-video-signaling/tsconfig.types.json +++ b/clients/client-kinesis-video-signaling/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-video/package.json b/clients/client-kinesis-video/package.json index 2c1467f705fc..afd6c464f17f 100644 --- a/clients/client-kinesis-video/package.json +++ b/clients/client-kinesis-video/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kinesis-video/tsconfig.cjs.json b/clients/client-kinesis-video/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kinesis-video/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kinesis-video/tsconfig.es.json b/clients/client-kinesis-video/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kinesis-video/tsconfig.es.json +++ b/clients/client-kinesis-video/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kinesis-video/tsconfig.json b/clients/client-kinesis-video/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kinesis-video/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-video/tsconfig.types.json b/clients/client-kinesis-video/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kinesis-video/tsconfig.types.json +++ b/clients/client-kinesis-video/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kinesis/package.json b/clients/client-kinesis/package.json index dee16d1789ee..e54b3ab41422 100644 --- a/clients/client-kinesis/package.json +++ b/clients/client-kinesis/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kinesis/tsconfig.cjs.json b/clients/client-kinesis/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kinesis/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kinesis/tsconfig.es.json b/clients/client-kinesis/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kinesis/tsconfig.es.json +++ b/clients/client-kinesis/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kinesis/tsconfig.json b/clients/client-kinesis/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kinesis/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis/tsconfig.types.json b/clients/client-kinesis/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kinesis/tsconfig.types.json +++ b/clients/client-kinesis/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-kms/package.json b/clients/client-kms/package.json index 107c292c27c7..19cba961abd3 100644 --- a/clients/client-kms/package.json +++ b/clients/client-kms/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-kms/tsconfig.cjs.json b/clients/client-kms/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-kms/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-kms/tsconfig.es.json b/clients/client-kms/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-kms/tsconfig.es.json +++ b/clients/client-kms/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-kms/tsconfig.json b/clients/client-kms/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-kms/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kms/tsconfig.types.json b/clients/client-kms/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-kms/tsconfig.types.json +++ b/clients/client-kms/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-lakeformation/package.json b/clients/client-lakeformation/package.json index d51fc4006f4d..b8e2de28f88f 100644 --- a/clients/client-lakeformation/package.json +++ b/clients/client-lakeformation/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-lakeformation/tsconfig.cjs.json b/clients/client-lakeformation/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-lakeformation/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-lakeformation/tsconfig.es.json b/clients/client-lakeformation/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-lakeformation/tsconfig.es.json +++ b/clients/client-lakeformation/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-lakeformation/tsconfig.json b/clients/client-lakeformation/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-lakeformation/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lakeformation/tsconfig.types.json b/clients/client-lakeformation/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-lakeformation/tsconfig.types.json +++ b/clients/client-lakeformation/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-lambda/package.json b/clients/client-lambda/package.json index 962c08b1edbc..c8b51c7e8186 100644 --- a/clients/client-lambda/package.json +++ b/clients/client-lambda/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-lambda/tsconfig.cjs.json b/clients/client-lambda/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-lambda/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-lambda/tsconfig.es.json b/clients/client-lambda/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-lambda/tsconfig.es.json +++ b/clients/client-lambda/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-lambda/tsconfig.json b/clients/client-lambda/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-lambda/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lambda/tsconfig.types.json b/clients/client-lambda/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-lambda/tsconfig.types.json +++ b/clients/client-lambda/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-lex-model-building-service/package.json b/clients/client-lex-model-building-service/package.json index a04353f6ff47..e72d9091358a 100644 --- a/clients/client-lex-model-building-service/package.json +++ b/clients/client-lex-model-building-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-lex-model-building-service/tsconfig.cjs.json b/clients/client-lex-model-building-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-lex-model-building-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-lex-model-building-service/tsconfig.es.json b/clients/client-lex-model-building-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-lex-model-building-service/tsconfig.es.json +++ b/clients/client-lex-model-building-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-lex-model-building-service/tsconfig.json b/clients/client-lex-model-building-service/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-lex-model-building-service/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lex-model-building-service/tsconfig.types.json b/clients/client-lex-model-building-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-lex-model-building-service/tsconfig.types.json +++ b/clients/client-lex-model-building-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-lex-models-v2/package.json b/clients/client-lex-models-v2/package.json index f24ab3348133..ec526db14c1e 100644 --- a/clients/client-lex-models-v2/package.json +++ b/clients/client-lex-models-v2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-lex-models-v2/tsconfig.cjs.json b/clients/client-lex-models-v2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-lex-models-v2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-lex-models-v2/tsconfig.es.json b/clients/client-lex-models-v2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-lex-models-v2/tsconfig.es.json +++ b/clients/client-lex-models-v2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-lex-models-v2/tsconfig.json b/clients/client-lex-models-v2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-lex-models-v2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lex-models-v2/tsconfig.types.json b/clients/client-lex-models-v2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-lex-models-v2/tsconfig.types.json +++ b/clients/client-lex-models-v2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-lex-runtime-service/package.json b/clients/client-lex-runtime-service/package.json index 745121456989..a844ee4d76fb 100644 --- a/clients/client-lex-runtime-service/package.json +++ b/clients/client-lex-runtime-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-lex-runtime-service/tsconfig.cjs.json b/clients/client-lex-runtime-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-lex-runtime-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-lex-runtime-service/tsconfig.es.json b/clients/client-lex-runtime-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-lex-runtime-service/tsconfig.es.json +++ b/clients/client-lex-runtime-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-lex-runtime-service/tsconfig.json b/clients/client-lex-runtime-service/tsconfig.json deleted file mode 100644 index cd6d61ae090f..000000000000 --- a/clients/client-lex-runtime-service/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true, - "types": ["mocha", "node"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lex-runtime-service/tsconfig.types.json b/clients/client-lex-runtime-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-lex-runtime-service/tsconfig.types.json +++ b/clients/client-lex-runtime-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-lex-runtime-v2/package.json b/clients/client-lex-runtime-v2/package.json index 033585ad607d..b4619f367abd 100644 --- a/clients/client-lex-runtime-v2/package.json +++ b/clients/client-lex-runtime-v2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-lex-runtime-v2/tsconfig.cjs.json b/clients/client-lex-runtime-v2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-lex-runtime-v2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-lex-runtime-v2/tsconfig.es.json b/clients/client-lex-runtime-v2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-lex-runtime-v2/tsconfig.es.json +++ b/clients/client-lex-runtime-v2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-lex-runtime-v2/tsconfig.json b/clients/client-lex-runtime-v2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-lex-runtime-v2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lex-runtime-v2/tsconfig.types.json b/clients/client-lex-runtime-v2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-lex-runtime-v2/tsconfig.types.json +++ b/clients/client-lex-runtime-v2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-license-manager/package.json b/clients/client-license-manager/package.json index bc2861e14f7b..2ce2f84172bb 100644 --- a/clients/client-license-manager/package.json +++ b/clients/client-license-manager/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-license-manager/tsconfig.cjs.json b/clients/client-license-manager/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-license-manager/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-license-manager/tsconfig.es.json b/clients/client-license-manager/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-license-manager/tsconfig.es.json +++ b/clients/client-license-manager/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-license-manager/tsconfig.json b/clients/client-license-manager/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-license-manager/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-license-manager/tsconfig.types.json b/clients/client-license-manager/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-license-manager/tsconfig.types.json +++ b/clients/client-license-manager/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-lightsail/package.json b/clients/client-lightsail/package.json index 5f9bda9951df..334e2a52518c 100644 --- a/clients/client-lightsail/package.json +++ b/clients/client-lightsail/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-lightsail/tsconfig.cjs.json b/clients/client-lightsail/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-lightsail/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-lightsail/tsconfig.es.json b/clients/client-lightsail/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-lightsail/tsconfig.es.json +++ b/clients/client-lightsail/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-lightsail/tsconfig.json b/clients/client-lightsail/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-lightsail/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lightsail/tsconfig.types.json b/clients/client-lightsail/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-lightsail/tsconfig.types.json +++ b/clients/client-lightsail/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-location/package.json b/clients/client-location/package.json index d79763e2b8b2..2545a11d5d2e 100644 --- a/clients/client-location/package.json +++ b/clients/client-location/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-location/tsconfig.cjs.json b/clients/client-location/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-location/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-location/tsconfig.es.json b/clients/client-location/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-location/tsconfig.es.json +++ b/clients/client-location/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-location/tsconfig.json b/clients/client-location/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-location/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-location/tsconfig.types.json b/clients/client-location/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-location/tsconfig.types.json +++ b/clients/client-location/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-lookoutequipment/package.json b/clients/client-lookoutequipment/package.json index 5a0966488961..181df3767b9f 100644 --- a/clients/client-lookoutequipment/package.json +++ b/clients/client-lookoutequipment/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-lookoutequipment/tsconfig.cjs.json b/clients/client-lookoutequipment/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-lookoutequipment/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-lookoutequipment/tsconfig.es.json b/clients/client-lookoutequipment/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-lookoutequipment/tsconfig.es.json +++ b/clients/client-lookoutequipment/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-lookoutequipment/tsconfig.json b/clients/client-lookoutequipment/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-lookoutequipment/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lookoutequipment/tsconfig.types.json b/clients/client-lookoutequipment/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-lookoutequipment/tsconfig.types.json +++ b/clients/client-lookoutequipment/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-lookoutmetrics/package.json b/clients/client-lookoutmetrics/package.json index ebd125b4aaac..3d2bbda99bb9 100644 --- a/clients/client-lookoutmetrics/package.json +++ b/clients/client-lookoutmetrics/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-lookoutmetrics/tsconfig.cjs.json b/clients/client-lookoutmetrics/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-lookoutmetrics/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-lookoutmetrics/tsconfig.es.json b/clients/client-lookoutmetrics/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-lookoutmetrics/tsconfig.es.json +++ b/clients/client-lookoutmetrics/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-lookoutmetrics/tsconfig.json b/clients/client-lookoutmetrics/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-lookoutmetrics/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lookoutmetrics/tsconfig.types.json b/clients/client-lookoutmetrics/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-lookoutmetrics/tsconfig.types.json +++ b/clients/client-lookoutmetrics/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-lookoutvision/package.json b/clients/client-lookoutvision/package.json index 18c6f66482fe..875aa17906d0 100644 --- a/clients/client-lookoutvision/package.json +++ b/clients/client-lookoutvision/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-lookoutvision/tsconfig.cjs.json b/clients/client-lookoutvision/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-lookoutvision/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-lookoutvision/tsconfig.es.json b/clients/client-lookoutvision/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-lookoutvision/tsconfig.es.json +++ b/clients/client-lookoutvision/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-lookoutvision/tsconfig.json b/clients/client-lookoutvision/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-lookoutvision/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lookoutvision/tsconfig.types.json b/clients/client-lookoutvision/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-lookoutvision/tsconfig.types.json +++ b/clients/client-lookoutvision/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-machine-learning/package.json b/clients/client-machine-learning/package.json index b1816d04cc3e..e2dba4895380 100644 --- a/clients/client-machine-learning/package.json +++ b/clients/client-machine-learning/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-machine-learning/tsconfig.cjs.json b/clients/client-machine-learning/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-machine-learning/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-machine-learning/tsconfig.es.json b/clients/client-machine-learning/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-machine-learning/tsconfig.es.json +++ b/clients/client-machine-learning/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-machine-learning/tsconfig.json b/clients/client-machine-learning/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-machine-learning/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-machine-learning/tsconfig.types.json b/clients/client-machine-learning/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-machine-learning/tsconfig.types.json +++ b/clients/client-machine-learning/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-macie/package.json b/clients/client-macie/package.json index 6ddb879680b0..62f06a5f5026 100644 --- a/clients/client-macie/package.json +++ b/clients/client-macie/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-macie/tsconfig.cjs.json b/clients/client-macie/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-macie/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-macie/tsconfig.es.json b/clients/client-macie/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-macie/tsconfig.es.json +++ b/clients/client-macie/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-macie/tsconfig.json b/clients/client-macie/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-macie/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-macie/tsconfig.types.json b/clients/client-macie/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-macie/tsconfig.types.json +++ b/clients/client-macie/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-macie2/package.json b/clients/client-macie2/package.json index e5909ba9d2aa..4b2ad7cc53a6 100644 --- a/clients/client-macie2/package.json +++ b/clients/client-macie2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-macie2/tsconfig.cjs.json b/clients/client-macie2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-macie2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-macie2/tsconfig.es.json b/clients/client-macie2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-macie2/tsconfig.es.json +++ b/clients/client-macie2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-macie2/tsconfig.json b/clients/client-macie2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-macie2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-macie2/tsconfig.types.json b/clients/client-macie2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-macie2/tsconfig.types.json +++ b/clients/client-macie2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-managedblockchain/package.json b/clients/client-managedblockchain/package.json index 6ac9c928196f..78d878bbc80e 100644 --- a/clients/client-managedblockchain/package.json +++ b/clients/client-managedblockchain/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-managedblockchain/tsconfig.cjs.json b/clients/client-managedblockchain/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-managedblockchain/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-managedblockchain/tsconfig.es.json b/clients/client-managedblockchain/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-managedblockchain/tsconfig.es.json +++ b/clients/client-managedblockchain/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-managedblockchain/tsconfig.json b/clients/client-managedblockchain/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-managedblockchain/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-managedblockchain/tsconfig.types.json b/clients/client-managedblockchain/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-managedblockchain/tsconfig.types.json +++ b/clients/client-managedblockchain/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-marketplace-catalog/package.json b/clients/client-marketplace-catalog/package.json index b65ff09b807f..e501deeb0b8b 100644 --- a/clients/client-marketplace-catalog/package.json +++ b/clients/client-marketplace-catalog/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-marketplace-catalog/tsconfig.cjs.json b/clients/client-marketplace-catalog/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-marketplace-catalog/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-marketplace-catalog/tsconfig.es.json b/clients/client-marketplace-catalog/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-marketplace-catalog/tsconfig.es.json +++ b/clients/client-marketplace-catalog/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-marketplace-catalog/tsconfig.json b/clients/client-marketplace-catalog/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-marketplace-catalog/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-marketplace-catalog/tsconfig.types.json b/clients/client-marketplace-catalog/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-marketplace-catalog/tsconfig.types.json +++ b/clients/client-marketplace-catalog/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-marketplace-commerce-analytics/package.json b/clients/client-marketplace-commerce-analytics/package.json index 50adf4049bfe..08c76864ad36 100644 --- a/clients/client-marketplace-commerce-analytics/package.json +++ b/clients/client-marketplace-commerce-analytics/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-marketplace-commerce-analytics/tsconfig.cjs.json b/clients/client-marketplace-commerce-analytics/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-marketplace-commerce-analytics/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-marketplace-commerce-analytics/tsconfig.es.json b/clients/client-marketplace-commerce-analytics/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-marketplace-commerce-analytics/tsconfig.es.json +++ b/clients/client-marketplace-commerce-analytics/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-marketplace-commerce-analytics/tsconfig.json b/clients/client-marketplace-commerce-analytics/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-marketplace-commerce-analytics/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-marketplace-commerce-analytics/tsconfig.types.json b/clients/client-marketplace-commerce-analytics/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-marketplace-commerce-analytics/tsconfig.types.json +++ b/clients/client-marketplace-commerce-analytics/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-marketplace-entitlement-service/package.json b/clients/client-marketplace-entitlement-service/package.json index 0f86bcf7d102..d7ee4a2f885b 100644 --- a/clients/client-marketplace-entitlement-service/package.json +++ b/clients/client-marketplace-entitlement-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-marketplace-entitlement-service/tsconfig.cjs.json b/clients/client-marketplace-entitlement-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-marketplace-entitlement-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-marketplace-entitlement-service/tsconfig.es.json b/clients/client-marketplace-entitlement-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-marketplace-entitlement-service/tsconfig.es.json +++ b/clients/client-marketplace-entitlement-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-marketplace-entitlement-service/tsconfig.json b/clients/client-marketplace-entitlement-service/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-marketplace-entitlement-service/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-marketplace-entitlement-service/tsconfig.types.json b/clients/client-marketplace-entitlement-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-marketplace-entitlement-service/tsconfig.types.json +++ b/clients/client-marketplace-entitlement-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-marketplace-metering/package.json b/clients/client-marketplace-metering/package.json index 3539f9f6b52a..0e679f9ea98a 100644 --- a/clients/client-marketplace-metering/package.json +++ b/clients/client-marketplace-metering/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-marketplace-metering/tsconfig.cjs.json b/clients/client-marketplace-metering/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-marketplace-metering/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-marketplace-metering/tsconfig.es.json b/clients/client-marketplace-metering/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-marketplace-metering/tsconfig.es.json +++ b/clients/client-marketplace-metering/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-marketplace-metering/tsconfig.json b/clients/client-marketplace-metering/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-marketplace-metering/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-marketplace-metering/tsconfig.types.json b/clients/client-marketplace-metering/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-marketplace-metering/tsconfig.types.json +++ b/clients/client-marketplace-metering/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mediaconnect/package.json b/clients/client-mediaconnect/package.json index 0aaec1093bb1..b3a63b153fae 100644 --- a/clients/client-mediaconnect/package.json +++ b/clients/client-mediaconnect/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mediaconnect/tsconfig.cjs.json b/clients/client-mediaconnect/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mediaconnect/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mediaconnect/tsconfig.es.json b/clients/client-mediaconnect/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mediaconnect/tsconfig.es.json +++ b/clients/client-mediaconnect/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mediaconnect/tsconfig.json b/clients/client-mediaconnect/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mediaconnect/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediaconnect/tsconfig.types.json b/clients/client-mediaconnect/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mediaconnect/tsconfig.types.json +++ b/clients/client-mediaconnect/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mediaconvert/package.json b/clients/client-mediaconvert/package.json index 8a31504c2f40..1393b84dac1c 100644 --- a/clients/client-mediaconvert/package.json +++ b/clients/client-mediaconvert/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mediaconvert/tsconfig.cjs.json b/clients/client-mediaconvert/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mediaconvert/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mediaconvert/tsconfig.es.json b/clients/client-mediaconvert/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mediaconvert/tsconfig.es.json +++ b/clients/client-mediaconvert/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mediaconvert/tsconfig.json b/clients/client-mediaconvert/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mediaconvert/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediaconvert/tsconfig.types.json b/clients/client-mediaconvert/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mediaconvert/tsconfig.types.json +++ b/clients/client-mediaconvert/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-medialive/package.json b/clients/client-medialive/package.json index 159147fc215e..6fef94167ce1 100644 --- a/clients/client-medialive/package.json +++ b/clients/client-medialive/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-medialive/tsconfig.cjs.json b/clients/client-medialive/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-medialive/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-medialive/tsconfig.es.json b/clients/client-medialive/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-medialive/tsconfig.es.json +++ b/clients/client-medialive/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-medialive/tsconfig.json b/clients/client-medialive/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-medialive/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-medialive/tsconfig.types.json b/clients/client-medialive/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-medialive/tsconfig.types.json +++ b/clients/client-medialive/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mediapackage-vod/package.json b/clients/client-mediapackage-vod/package.json index aae499c56048..f01313bf998c 100644 --- a/clients/client-mediapackage-vod/package.json +++ b/clients/client-mediapackage-vod/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mediapackage-vod/tsconfig.cjs.json b/clients/client-mediapackage-vod/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mediapackage-vod/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mediapackage-vod/tsconfig.es.json b/clients/client-mediapackage-vod/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mediapackage-vod/tsconfig.es.json +++ b/clients/client-mediapackage-vod/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mediapackage-vod/tsconfig.json b/clients/client-mediapackage-vod/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mediapackage-vod/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediapackage-vod/tsconfig.types.json b/clients/client-mediapackage-vod/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mediapackage-vod/tsconfig.types.json +++ b/clients/client-mediapackage-vod/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mediapackage/package.json b/clients/client-mediapackage/package.json index 9227b091eb66..b1abab9f8204 100644 --- a/clients/client-mediapackage/package.json +++ b/clients/client-mediapackage/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mediapackage/tsconfig.cjs.json b/clients/client-mediapackage/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mediapackage/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mediapackage/tsconfig.es.json b/clients/client-mediapackage/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mediapackage/tsconfig.es.json +++ b/clients/client-mediapackage/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mediapackage/tsconfig.json b/clients/client-mediapackage/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mediapackage/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediapackage/tsconfig.types.json b/clients/client-mediapackage/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mediapackage/tsconfig.types.json +++ b/clients/client-mediapackage/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mediastore-data/package.json b/clients/client-mediastore-data/package.json index 6543c146ee09..232d0cc90bec 100644 --- a/clients/client-mediastore-data/package.json +++ b/clients/client-mediastore-data/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mediastore-data/tsconfig.cjs.json b/clients/client-mediastore-data/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mediastore-data/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mediastore-data/tsconfig.es.json b/clients/client-mediastore-data/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mediastore-data/tsconfig.es.json +++ b/clients/client-mediastore-data/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mediastore-data/tsconfig.json b/clients/client-mediastore-data/tsconfig.json deleted file mode 100644 index 1a6e84ff018a..000000000000 --- a/clients/client-mediastore-data/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true, - "types": ["mocha"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediastore-data/tsconfig.types.json b/clients/client-mediastore-data/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mediastore-data/tsconfig.types.json +++ b/clients/client-mediastore-data/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mediastore/package.json b/clients/client-mediastore/package.json index 0dffe3469ab1..eb9555e2d669 100644 --- a/clients/client-mediastore/package.json +++ b/clients/client-mediastore/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mediastore/tsconfig.cjs.json b/clients/client-mediastore/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mediastore/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mediastore/tsconfig.es.json b/clients/client-mediastore/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mediastore/tsconfig.es.json +++ b/clients/client-mediastore/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mediastore/tsconfig.json b/clients/client-mediastore/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mediastore/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediastore/tsconfig.types.json b/clients/client-mediastore/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mediastore/tsconfig.types.json +++ b/clients/client-mediastore/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mediatailor/package.json b/clients/client-mediatailor/package.json index 43ad97561ca5..c9b37efee4c8 100644 --- a/clients/client-mediatailor/package.json +++ b/clients/client-mediatailor/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mediatailor/tsconfig.cjs.json b/clients/client-mediatailor/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mediatailor/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mediatailor/tsconfig.es.json b/clients/client-mediatailor/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mediatailor/tsconfig.es.json +++ b/clients/client-mediatailor/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mediatailor/tsconfig.json b/clients/client-mediatailor/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mediatailor/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediatailor/tsconfig.types.json b/clients/client-mediatailor/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mediatailor/tsconfig.types.json +++ b/clients/client-mediatailor/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-memorydb/package.json b/clients/client-memorydb/package.json index 5dbb94992a35..fd782e7cf746 100644 --- a/clients/client-memorydb/package.json +++ b/clients/client-memorydb/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-memorydb/tsconfig.cjs.json b/clients/client-memorydb/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-memorydb/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-memorydb/tsconfig.es.json b/clients/client-memorydb/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-memorydb/tsconfig.es.json +++ b/clients/client-memorydb/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-memorydb/tsconfig.json b/clients/client-memorydb/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-memorydb/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-memorydb/tsconfig.types.json b/clients/client-memorydb/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-memorydb/tsconfig.types.json +++ b/clients/client-memorydb/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mgn/package.json b/clients/client-mgn/package.json index c9b60e9b1b47..47e1b1abebfc 100644 --- a/clients/client-mgn/package.json +++ b/clients/client-mgn/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mgn/tsconfig.cjs.json b/clients/client-mgn/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mgn/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mgn/tsconfig.es.json b/clients/client-mgn/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mgn/tsconfig.es.json +++ b/clients/client-mgn/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mgn/tsconfig.json b/clients/client-mgn/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mgn/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mgn/tsconfig.types.json b/clients/client-mgn/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mgn/tsconfig.types.json +++ b/clients/client-mgn/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-migration-hub-refactor-spaces/package.json b/clients/client-migration-hub-refactor-spaces/package.json index 75cc19a37a42..c23e6090fd24 100644 --- a/clients/client-migration-hub-refactor-spaces/package.json +++ b/clients/client-migration-hub-refactor-spaces/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-migration-hub-refactor-spaces/tsconfig.cjs.json b/clients/client-migration-hub-refactor-spaces/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-migration-hub-refactor-spaces/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-migration-hub-refactor-spaces/tsconfig.es.json b/clients/client-migration-hub-refactor-spaces/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-migration-hub-refactor-spaces/tsconfig.es.json +++ b/clients/client-migration-hub-refactor-spaces/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-migration-hub-refactor-spaces/tsconfig.json b/clients/client-migration-hub-refactor-spaces/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-migration-hub-refactor-spaces/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-migration-hub-refactor-spaces/tsconfig.types.json b/clients/client-migration-hub-refactor-spaces/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-migration-hub-refactor-spaces/tsconfig.types.json +++ b/clients/client-migration-hub-refactor-spaces/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-migration-hub/package.json b/clients/client-migration-hub/package.json index edc6e19c45fe..1276d7b96f91 100644 --- a/clients/client-migration-hub/package.json +++ b/clients/client-migration-hub/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-migration-hub/tsconfig.cjs.json b/clients/client-migration-hub/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-migration-hub/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-migration-hub/tsconfig.es.json b/clients/client-migration-hub/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-migration-hub/tsconfig.es.json +++ b/clients/client-migration-hub/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-migration-hub/tsconfig.json b/clients/client-migration-hub/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-migration-hub/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-migration-hub/tsconfig.types.json b/clients/client-migration-hub/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-migration-hub/tsconfig.types.json +++ b/clients/client-migration-hub/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-migrationhub-config/package.json b/clients/client-migrationhub-config/package.json index 770b9b64b821..72148badb63a 100644 --- a/clients/client-migrationhub-config/package.json +++ b/clients/client-migrationhub-config/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-migrationhub-config/tsconfig.cjs.json b/clients/client-migrationhub-config/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-migrationhub-config/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-migrationhub-config/tsconfig.es.json b/clients/client-migrationhub-config/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-migrationhub-config/tsconfig.es.json +++ b/clients/client-migrationhub-config/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-migrationhub-config/tsconfig.json b/clients/client-migrationhub-config/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-migrationhub-config/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-migrationhub-config/tsconfig.types.json b/clients/client-migrationhub-config/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-migrationhub-config/tsconfig.types.json +++ b/clients/client-migrationhub-config/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-migrationhubstrategy/package.json b/clients/client-migrationhubstrategy/package.json index 4a92f3b11586..e0d77ce86507 100644 --- a/clients/client-migrationhubstrategy/package.json +++ b/clients/client-migrationhubstrategy/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-migrationhubstrategy/tsconfig.cjs.json b/clients/client-migrationhubstrategy/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-migrationhubstrategy/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-migrationhubstrategy/tsconfig.es.json b/clients/client-migrationhubstrategy/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-migrationhubstrategy/tsconfig.es.json +++ b/clients/client-migrationhubstrategy/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-migrationhubstrategy/tsconfig.json b/clients/client-migrationhubstrategy/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-migrationhubstrategy/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-migrationhubstrategy/tsconfig.types.json b/clients/client-migrationhubstrategy/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-migrationhubstrategy/tsconfig.types.json +++ b/clients/client-migrationhubstrategy/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mobile/package.json b/clients/client-mobile/package.json index a0c699e1a566..5c42597d2baf 100644 --- a/clients/client-mobile/package.json +++ b/clients/client-mobile/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mobile/tsconfig.cjs.json b/clients/client-mobile/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mobile/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mobile/tsconfig.es.json b/clients/client-mobile/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mobile/tsconfig.es.json +++ b/clients/client-mobile/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mobile/tsconfig.json b/clients/client-mobile/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mobile/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mobile/tsconfig.types.json b/clients/client-mobile/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mobile/tsconfig.types.json +++ b/clients/client-mobile/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mq/package.json b/clients/client-mq/package.json index 96f674697184..b456a1afcea4 100644 --- a/clients/client-mq/package.json +++ b/clients/client-mq/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mq/tsconfig.cjs.json b/clients/client-mq/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mq/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mq/tsconfig.es.json b/clients/client-mq/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mq/tsconfig.es.json +++ b/clients/client-mq/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mq/tsconfig.json b/clients/client-mq/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mq/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mq/tsconfig.types.json b/clients/client-mq/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mq/tsconfig.types.json +++ b/clients/client-mq/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mturk/package.json b/clients/client-mturk/package.json index e33fb9e9f242..9b093ee3a872 100644 --- a/clients/client-mturk/package.json +++ b/clients/client-mturk/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mturk/tsconfig.cjs.json b/clients/client-mturk/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mturk/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mturk/tsconfig.es.json b/clients/client-mturk/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mturk/tsconfig.es.json +++ b/clients/client-mturk/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mturk/tsconfig.json b/clients/client-mturk/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mturk/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mturk/tsconfig.types.json b/clients/client-mturk/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mturk/tsconfig.types.json +++ b/clients/client-mturk/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-mwaa/package.json b/clients/client-mwaa/package.json index 1b5fa7b5d58c..a0d2f9c6d4b3 100644 --- a/clients/client-mwaa/package.json +++ b/clients/client-mwaa/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-mwaa/tsconfig.cjs.json b/clients/client-mwaa/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-mwaa/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-mwaa/tsconfig.es.json b/clients/client-mwaa/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-mwaa/tsconfig.es.json +++ b/clients/client-mwaa/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-mwaa/tsconfig.json b/clients/client-mwaa/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-mwaa/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mwaa/tsconfig.types.json b/clients/client-mwaa/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-mwaa/tsconfig.types.json +++ b/clients/client-mwaa/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-neptune/package.json b/clients/client-neptune/package.json index f8ff2b046ebe..b2c3603da656 100644 --- a/clients/client-neptune/package.json +++ b/clients/client-neptune/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-neptune/tsconfig.cjs.json b/clients/client-neptune/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-neptune/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-neptune/tsconfig.es.json b/clients/client-neptune/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-neptune/tsconfig.es.json +++ b/clients/client-neptune/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-neptune/tsconfig.json b/clients/client-neptune/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-neptune/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-neptune/tsconfig.types.json b/clients/client-neptune/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-neptune/tsconfig.types.json +++ b/clients/client-neptune/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-network-firewall/package.json b/clients/client-network-firewall/package.json index 7377e4bf9f2f..5f056745f8f9 100644 --- a/clients/client-network-firewall/package.json +++ b/clients/client-network-firewall/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-network-firewall/tsconfig.cjs.json b/clients/client-network-firewall/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-network-firewall/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-network-firewall/tsconfig.es.json b/clients/client-network-firewall/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-network-firewall/tsconfig.es.json +++ b/clients/client-network-firewall/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-network-firewall/tsconfig.json b/clients/client-network-firewall/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-network-firewall/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-network-firewall/tsconfig.types.json b/clients/client-network-firewall/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-network-firewall/tsconfig.types.json +++ b/clients/client-network-firewall/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-networkmanager/package.json b/clients/client-networkmanager/package.json index d35b529c20b6..fd0db7cbf809 100644 --- a/clients/client-networkmanager/package.json +++ b/clients/client-networkmanager/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-networkmanager/tsconfig.cjs.json b/clients/client-networkmanager/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-networkmanager/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-networkmanager/tsconfig.es.json b/clients/client-networkmanager/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-networkmanager/tsconfig.es.json +++ b/clients/client-networkmanager/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-networkmanager/tsconfig.json b/clients/client-networkmanager/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-networkmanager/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-networkmanager/tsconfig.types.json b/clients/client-networkmanager/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-networkmanager/tsconfig.types.json +++ b/clients/client-networkmanager/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-nimble/package.json b/clients/client-nimble/package.json index 44ae8649af23..4995b7545f8c 100644 --- a/clients/client-nimble/package.json +++ b/clients/client-nimble/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-nimble/tsconfig.cjs.json b/clients/client-nimble/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-nimble/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-nimble/tsconfig.es.json b/clients/client-nimble/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-nimble/tsconfig.es.json +++ b/clients/client-nimble/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-nimble/tsconfig.json b/clients/client-nimble/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-nimble/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-nimble/tsconfig.types.json b/clients/client-nimble/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-nimble/tsconfig.types.json +++ b/clients/client-nimble/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-opensearch/package.json b/clients/client-opensearch/package.json index 50411d15997c..a17c035a44e8 100644 --- a/clients/client-opensearch/package.json +++ b/clients/client-opensearch/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-opensearch/tsconfig.cjs.json b/clients/client-opensearch/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-opensearch/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-opensearch/tsconfig.es.json b/clients/client-opensearch/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-opensearch/tsconfig.es.json +++ b/clients/client-opensearch/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-opensearch/tsconfig.json b/clients/client-opensearch/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-opensearch/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-opensearch/tsconfig.types.json b/clients/client-opensearch/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-opensearch/tsconfig.types.json +++ b/clients/client-opensearch/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-opsworks/package.json b/clients/client-opsworks/package.json index 06203b8eea31..0bb91a79aa4d 100644 --- a/clients/client-opsworks/package.json +++ b/clients/client-opsworks/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-opsworks/tsconfig.cjs.json b/clients/client-opsworks/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-opsworks/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-opsworks/tsconfig.es.json b/clients/client-opsworks/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-opsworks/tsconfig.es.json +++ b/clients/client-opsworks/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-opsworks/tsconfig.json b/clients/client-opsworks/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-opsworks/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-opsworks/tsconfig.types.json b/clients/client-opsworks/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-opsworks/tsconfig.types.json +++ b/clients/client-opsworks/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-opsworkscm/package.json b/clients/client-opsworkscm/package.json index 25144e1bb92d..0af60bf570a6 100644 --- a/clients/client-opsworkscm/package.json +++ b/clients/client-opsworkscm/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-opsworkscm/tsconfig.cjs.json b/clients/client-opsworkscm/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-opsworkscm/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-opsworkscm/tsconfig.es.json b/clients/client-opsworkscm/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-opsworkscm/tsconfig.es.json +++ b/clients/client-opsworkscm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-opsworkscm/tsconfig.json b/clients/client-opsworkscm/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-opsworkscm/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-opsworkscm/tsconfig.types.json b/clients/client-opsworkscm/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-opsworkscm/tsconfig.types.json +++ b/clients/client-opsworkscm/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-organizations/package.json b/clients/client-organizations/package.json index 27edd6eba173..77207fc0eefc 100644 --- a/clients/client-organizations/package.json +++ b/clients/client-organizations/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-organizations/tsconfig.cjs.json b/clients/client-organizations/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-organizations/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-organizations/tsconfig.es.json b/clients/client-organizations/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-organizations/tsconfig.es.json +++ b/clients/client-organizations/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-organizations/tsconfig.json b/clients/client-organizations/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-organizations/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-organizations/tsconfig.types.json b/clients/client-organizations/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-organizations/tsconfig.types.json +++ b/clients/client-organizations/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-outposts/package.json b/clients/client-outposts/package.json index 49e5359555d7..804f030ec3df 100644 --- a/clients/client-outposts/package.json +++ b/clients/client-outposts/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-outposts/tsconfig.cjs.json b/clients/client-outposts/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-outposts/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-outposts/tsconfig.es.json b/clients/client-outposts/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-outposts/tsconfig.es.json +++ b/clients/client-outposts/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-outposts/tsconfig.json b/clients/client-outposts/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-outposts/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-outposts/tsconfig.types.json b/clients/client-outposts/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-outposts/tsconfig.types.json +++ b/clients/client-outposts/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-panorama/package.json b/clients/client-panorama/package.json index 80248b8bdb1e..dc6a38cfcbff 100644 --- a/clients/client-panorama/package.json +++ b/clients/client-panorama/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-panorama/tsconfig.cjs.json b/clients/client-panorama/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-panorama/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-panorama/tsconfig.es.json b/clients/client-panorama/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-panorama/tsconfig.es.json +++ b/clients/client-panorama/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-panorama/tsconfig.json b/clients/client-panorama/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-panorama/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-panorama/tsconfig.types.json b/clients/client-panorama/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-panorama/tsconfig.types.json +++ b/clients/client-panorama/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-personalize-events/package.json b/clients/client-personalize-events/package.json index 1e6f43dc94cc..589300ad680e 100644 --- a/clients/client-personalize-events/package.json +++ b/clients/client-personalize-events/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-personalize-events/tsconfig.cjs.json b/clients/client-personalize-events/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-personalize-events/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-personalize-events/tsconfig.es.json b/clients/client-personalize-events/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-personalize-events/tsconfig.es.json +++ b/clients/client-personalize-events/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-personalize-events/tsconfig.json b/clients/client-personalize-events/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-personalize-events/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-personalize-events/tsconfig.types.json b/clients/client-personalize-events/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-personalize-events/tsconfig.types.json +++ b/clients/client-personalize-events/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-personalize-runtime/package.json b/clients/client-personalize-runtime/package.json index 47b049f037ca..d1eae29a9731 100644 --- a/clients/client-personalize-runtime/package.json +++ b/clients/client-personalize-runtime/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-personalize-runtime/tsconfig.cjs.json b/clients/client-personalize-runtime/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-personalize-runtime/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-personalize-runtime/tsconfig.es.json b/clients/client-personalize-runtime/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-personalize-runtime/tsconfig.es.json +++ b/clients/client-personalize-runtime/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-personalize-runtime/tsconfig.json b/clients/client-personalize-runtime/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-personalize-runtime/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-personalize-runtime/tsconfig.types.json b/clients/client-personalize-runtime/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-personalize-runtime/tsconfig.types.json +++ b/clients/client-personalize-runtime/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-personalize/package.json b/clients/client-personalize/package.json index b9834ef04a88..0e9e6a2c9d50 100644 --- a/clients/client-personalize/package.json +++ b/clients/client-personalize/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-personalize/tsconfig.cjs.json b/clients/client-personalize/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-personalize/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-personalize/tsconfig.es.json b/clients/client-personalize/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-personalize/tsconfig.es.json +++ b/clients/client-personalize/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-personalize/tsconfig.json b/clients/client-personalize/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-personalize/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-personalize/tsconfig.types.json b/clients/client-personalize/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-personalize/tsconfig.types.json +++ b/clients/client-personalize/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-pi/package.json b/clients/client-pi/package.json index 7b45b530a514..a1ca0f1857c9 100644 --- a/clients/client-pi/package.json +++ b/clients/client-pi/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-pi/tsconfig.cjs.json b/clients/client-pi/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-pi/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-pi/tsconfig.es.json b/clients/client-pi/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-pi/tsconfig.es.json +++ b/clients/client-pi/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-pi/tsconfig.json b/clients/client-pi/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-pi/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-pi/tsconfig.types.json b/clients/client-pi/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-pi/tsconfig.types.json +++ b/clients/client-pi/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-pinpoint-email/package.json b/clients/client-pinpoint-email/package.json index e9182b9c156f..1bad3c94d4bf 100644 --- a/clients/client-pinpoint-email/package.json +++ b/clients/client-pinpoint-email/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-pinpoint-email/tsconfig.cjs.json b/clients/client-pinpoint-email/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-pinpoint-email/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-pinpoint-email/tsconfig.es.json b/clients/client-pinpoint-email/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-pinpoint-email/tsconfig.es.json +++ b/clients/client-pinpoint-email/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-pinpoint-email/tsconfig.json b/clients/client-pinpoint-email/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-pinpoint-email/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-pinpoint-email/tsconfig.types.json b/clients/client-pinpoint-email/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-pinpoint-email/tsconfig.types.json +++ b/clients/client-pinpoint-email/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-pinpoint-sms-voice/package.json b/clients/client-pinpoint-sms-voice/package.json index 155dc246f446..08f7a03336a6 100644 --- a/clients/client-pinpoint-sms-voice/package.json +++ b/clients/client-pinpoint-sms-voice/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-pinpoint-sms-voice/tsconfig.cjs.json b/clients/client-pinpoint-sms-voice/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-pinpoint-sms-voice/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-pinpoint-sms-voice/tsconfig.es.json b/clients/client-pinpoint-sms-voice/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-pinpoint-sms-voice/tsconfig.es.json +++ b/clients/client-pinpoint-sms-voice/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-pinpoint-sms-voice/tsconfig.json b/clients/client-pinpoint-sms-voice/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-pinpoint-sms-voice/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-pinpoint-sms-voice/tsconfig.types.json b/clients/client-pinpoint-sms-voice/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-pinpoint-sms-voice/tsconfig.types.json +++ b/clients/client-pinpoint-sms-voice/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-pinpoint/package.json b/clients/client-pinpoint/package.json index ffd09ccf21d8..48d38fb89b78 100644 --- a/clients/client-pinpoint/package.json +++ b/clients/client-pinpoint/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-pinpoint/tsconfig.cjs.json b/clients/client-pinpoint/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-pinpoint/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-pinpoint/tsconfig.es.json b/clients/client-pinpoint/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-pinpoint/tsconfig.es.json +++ b/clients/client-pinpoint/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-pinpoint/tsconfig.json b/clients/client-pinpoint/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-pinpoint/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-pinpoint/tsconfig.types.json b/clients/client-pinpoint/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-pinpoint/tsconfig.types.json +++ b/clients/client-pinpoint/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-polly/package.json b/clients/client-polly/package.json index 9e33e6a7afe1..6b96f8aea77a 100644 --- a/clients/client-polly/package.json +++ b/clients/client-polly/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-polly/tsconfig.cjs.json b/clients/client-polly/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-polly/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-polly/tsconfig.es.json b/clients/client-polly/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-polly/tsconfig.es.json +++ b/clients/client-polly/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-polly/tsconfig.json b/clients/client-polly/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-polly/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-polly/tsconfig.types.json b/clients/client-polly/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-polly/tsconfig.types.json +++ b/clients/client-polly/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-pricing/package.json b/clients/client-pricing/package.json index c4dd00960ac8..c3d8c3e32a00 100644 --- a/clients/client-pricing/package.json +++ b/clients/client-pricing/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-pricing/tsconfig.cjs.json b/clients/client-pricing/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-pricing/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-pricing/tsconfig.es.json b/clients/client-pricing/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-pricing/tsconfig.es.json +++ b/clients/client-pricing/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-pricing/tsconfig.json b/clients/client-pricing/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-pricing/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-pricing/tsconfig.types.json b/clients/client-pricing/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-pricing/tsconfig.types.json +++ b/clients/client-pricing/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-proton/package.json b/clients/client-proton/package.json index 2a5d1d5fa9a3..dece2550d55d 100644 --- a/clients/client-proton/package.json +++ b/clients/client-proton/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-proton/tsconfig.cjs.json b/clients/client-proton/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-proton/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-proton/tsconfig.es.json b/clients/client-proton/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-proton/tsconfig.es.json +++ b/clients/client-proton/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-proton/tsconfig.json b/clients/client-proton/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-proton/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-proton/tsconfig.types.json b/clients/client-proton/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-proton/tsconfig.types.json +++ b/clients/client-proton/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-qldb-session/package.json b/clients/client-qldb-session/package.json index a8fa1fa659af..d7b6cd3052c0 100644 --- a/clients/client-qldb-session/package.json +++ b/clients/client-qldb-session/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-qldb-session/tsconfig.cjs.json b/clients/client-qldb-session/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-qldb-session/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-qldb-session/tsconfig.es.json b/clients/client-qldb-session/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-qldb-session/tsconfig.es.json +++ b/clients/client-qldb-session/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-qldb-session/tsconfig.json b/clients/client-qldb-session/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-qldb-session/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-qldb-session/tsconfig.types.json b/clients/client-qldb-session/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-qldb-session/tsconfig.types.json +++ b/clients/client-qldb-session/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-qldb/package.json b/clients/client-qldb/package.json index c72d3b438a11..65735dd5b47f 100644 --- a/clients/client-qldb/package.json +++ b/clients/client-qldb/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-qldb/tsconfig.cjs.json b/clients/client-qldb/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-qldb/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-qldb/tsconfig.es.json b/clients/client-qldb/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-qldb/tsconfig.es.json +++ b/clients/client-qldb/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-qldb/tsconfig.json b/clients/client-qldb/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-qldb/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-qldb/tsconfig.types.json b/clients/client-qldb/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-qldb/tsconfig.types.json +++ b/clients/client-qldb/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-quicksight/package.json b/clients/client-quicksight/package.json index 827804442be4..c846dc52dfaa 100644 --- a/clients/client-quicksight/package.json +++ b/clients/client-quicksight/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-quicksight/tsconfig.cjs.json b/clients/client-quicksight/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-quicksight/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-quicksight/tsconfig.es.json b/clients/client-quicksight/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-quicksight/tsconfig.es.json +++ b/clients/client-quicksight/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-quicksight/tsconfig.json b/clients/client-quicksight/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-quicksight/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-quicksight/tsconfig.types.json b/clients/client-quicksight/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-quicksight/tsconfig.types.json +++ b/clients/client-quicksight/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ram/package.json b/clients/client-ram/package.json index f6c34058eec6..42856d4f20d9 100644 --- a/clients/client-ram/package.json +++ b/clients/client-ram/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ram/tsconfig.cjs.json b/clients/client-ram/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ram/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ram/tsconfig.es.json b/clients/client-ram/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ram/tsconfig.es.json +++ b/clients/client-ram/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ram/tsconfig.json b/clients/client-ram/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ram/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ram/tsconfig.types.json b/clients/client-ram/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ram/tsconfig.types.json +++ b/clients/client-ram/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-rbin/package.json b/clients/client-rbin/package.json index 1b47689e9a5e..6988922e9d13 100644 --- a/clients/client-rbin/package.json +++ b/clients/client-rbin/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-rbin/tsconfig.cjs.json b/clients/client-rbin/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-rbin/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-rbin/tsconfig.es.json b/clients/client-rbin/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-rbin/tsconfig.es.json +++ b/clients/client-rbin/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-rbin/tsconfig.json b/clients/client-rbin/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-rbin/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-rbin/tsconfig.types.json b/clients/client-rbin/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-rbin/tsconfig.types.json +++ b/clients/client-rbin/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-rds-data/package.json b/clients/client-rds-data/package.json index d80bd95fc5ba..a665617eb723 100644 --- a/clients/client-rds-data/package.json +++ b/clients/client-rds-data/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-rds-data/tsconfig.cjs.json b/clients/client-rds-data/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-rds-data/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-rds-data/tsconfig.es.json b/clients/client-rds-data/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-rds-data/tsconfig.es.json +++ b/clients/client-rds-data/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-rds-data/tsconfig.json b/clients/client-rds-data/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-rds-data/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-rds-data/tsconfig.types.json b/clients/client-rds-data/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-rds-data/tsconfig.types.json +++ b/clients/client-rds-data/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-rds/package.json b/clients/client-rds/package.json index f13633cbe6d4..e20b0304fbbf 100644 --- a/clients/client-rds/package.json +++ b/clients/client-rds/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-rds/tsconfig.cjs.json b/clients/client-rds/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-rds/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-rds/tsconfig.es.json b/clients/client-rds/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-rds/tsconfig.es.json +++ b/clients/client-rds/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-rds/tsconfig.json b/clients/client-rds/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-rds/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-rds/tsconfig.types.json b/clients/client-rds/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-rds/tsconfig.types.json +++ b/clients/client-rds/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-redshift-data/package.json b/clients/client-redshift-data/package.json index d57bcf660290..5c8a52ca42cd 100644 --- a/clients/client-redshift-data/package.json +++ b/clients/client-redshift-data/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-redshift-data/tsconfig.cjs.json b/clients/client-redshift-data/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-redshift-data/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-redshift-data/tsconfig.es.json b/clients/client-redshift-data/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-redshift-data/tsconfig.es.json +++ b/clients/client-redshift-data/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-redshift-data/tsconfig.json b/clients/client-redshift-data/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-redshift-data/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-redshift-data/tsconfig.types.json b/clients/client-redshift-data/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-redshift-data/tsconfig.types.json +++ b/clients/client-redshift-data/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-redshift/package.json b/clients/client-redshift/package.json index b874d2d56297..6734a6db20f4 100644 --- a/clients/client-redshift/package.json +++ b/clients/client-redshift/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-redshift/tsconfig.cjs.json b/clients/client-redshift/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-redshift/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-redshift/tsconfig.es.json b/clients/client-redshift/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-redshift/tsconfig.es.json +++ b/clients/client-redshift/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-redshift/tsconfig.json b/clients/client-redshift/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-redshift/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-redshift/tsconfig.types.json b/clients/client-redshift/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-redshift/tsconfig.types.json +++ b/clients/client-redshift/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-rekognition/package.json b/clients/client-rekognition/package.json index ce142ee0b2da..605892f7db47 100644 --- a/clients/client-rekognition/package.json +++ b/clients/client-rekognition/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-rekognition/tsconfig.cjs.json b/clients/client-rekognition/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-rekognition/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-rekognition/tsconfig.es.json b/clients/client-rekognition/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-rekognition/tsconfig.es.json +++ b/clients/client-rekognition/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-rekognition/tsconfig.json b/clients/client-rekognition/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-rekognition/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-rekognition/tsconfig.types.json b/clients/client-rekognition/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-rekognition/tsconfig.types.json +++ b/clients/client-rekognition/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-resiliencehub/package.json b/clients/client-resiliencehub/package.json index 6c7b1a898a83..4b659bc5425a 100644 --- a/clients/client-resiliencehub/package.json +++ b/clients/client-resiliencehub/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-resiliencehub/tsconfig.cjs.json b/clients/client-resiliencehub/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-resiliencehub/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-resiliencehub/tsconfig.es.json b/clients/client-resiliencehub/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-resiliencehub/tsconfig.es.json +++ b/clients/client-resiliencehub/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-resiliencehub/tsconfig.json b/clients/client-resiliencehub/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-resiliencehub/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-resiliencehub/tsconfig.types.json b/clients/client-resiliencehub/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-resiliencehub/tsconfig.types.json +++ b/clients/client-resiliencehub/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-resource-groups-tagging-api/package.json b/clients/client-resource-groups-tagging-api/package.json index 801c4a31a04b..20f89a7da8a1 100644 --- a/clients/client-resource-groups-tagging-api/package.json +++ b/clients/client-resource-groups-tagging-api/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-resource-groups-tagging-api/tsconfig.cjs.json b/clients/client-resource-groups-tagging-api/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-resource-groups-tagging-api/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-resource-groups-tagging-api/tsconfig.es.json b/clients/client-resource-groups-tagging-api/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-resource-groups-tagging-api/tsconfig.es.json +++ b/clients/client-resource-groups-tagging-api/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-resource-groups-tagging-api/tsconfig.json b/clients/client-resource-groups-tagging-api/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-resource-groups-tagging-api/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-resource-groups-tagging-api/tsconfig.types.json b/clients/client-resource-groups-tagging-api/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-resource-groups-tagging-api/tsconfig.types.json +++ b/clients/client-resource-groups-tagging-api/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-resource-groups/package.json b/clients/client-resource-groups/package.json index 841053d8fb94..21d9291a289d 100644 --- a/clients/client-resource-groups/package.json +++ b/clients/client-resource-groups/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-resource-groups/tsconfig.cjs.json b/clients/client-resource-groups/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-resource-groups/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-resource-groups/tsconfig.es.json b/clients/client-resource-groups/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-resource-groups/tsconfig.es.json +++ b/clients/client-resource-groups/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-resource-groups/tsconfig.json b/clients/client-resource-groups/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-resource-groups/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-resource-groups/tsconfig.types.json b/clients/client-resource-groups/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-resource-groups/tsconfig.types.json +++ b/clients/client-resource-groups/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-robomaker/package.json b/clients/client-robomaker/package.json index a9609806880b..1d0b85fe562c 100644 --- a/clients/client-robomaker/package.json +++ b/clients/client-robomaker/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-robomaker/tsconfig.cjs.json b/clients/client-robomaker/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-robomaker/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-robomaker/tsconfig.es.json b/clients/client-robomaker/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-robomaker/tsconfig.es.json +++ b/clients/client-robomaker/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-robomaker/tsconfig.json b/clients/client-robomaker/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-robomaker/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-robomaker/tsconfig.types.json b/clients/client-robomaker/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-robomaker/tsconfig.types.json +++ b/clients/client-robomaker/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-route-53-domains/package.json b/clients/client-route-53-domains/package.json index 7ef58ecdabfd..fd681023f3b8 100644 --- a/clients/client-route-53-domains/package.json +++ b/clients/client-route-53-domains/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-route-53-domains/tsconfig.cjs.json b/clients/client-route-53-domains/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-route-53-domains/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-route-53-domains/tsconfig.es.json b/clients/client-route-53-domains/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-route-53-domains/tsconfig.es.json +++ b/clients/client-route-53-domains/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-route-53-domains/tsconfig.json b/clients/client-route-53-domains/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-route-53-domains/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route-53-domains/tsconfig.types.json b/clients/client-route-53-domains/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-route-53-domains/tsconfig.types.json +++ b/clients/client-route-53-domains/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-route-53/package.json b/clients/client-route-53/package.json index 1dd0d1599bed..15ea1c0bc2fb 100644 --- a/clients/client-route-53/package.json +++ b/clients/client-route-53/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-route-53/tsconfig.cjs.json b/clients/client-route-53/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-route-53/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-route-53/tsconfig.es.json b/clients/client-route-53/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-route-53/tsconfig.es.json +++ b/clients/client-route-53/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-route-53/tsconfig.json b/clients/client-route-53/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-route-53/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route-53/tsconfig.types.json b/clients/client-route-53/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-route-53/tsconfig.types.json +++ b/clients/client-route-53/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-route53-recovery-cluster/package.json b/clients/client-route53-recovery-cluster/package.json index 6253cb408b71..4749dba724cc 100644 --- a/clients/client-route53-recovery-cluster/package.json +++ b/clients/client-route53-recovery-cluster/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-route53-recovery-cluster/tsconfig.cjs.json b/clients/client-route53-recovery-cluster/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-route53-recovery-cluster/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-route53-recovery-cluster/tsconfig.es.json b/clients/client-route53-recovery-cluster/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-route53-recovery-cluster/tsconfig.es.json +++ b/clients/client-route53-recovery-cluster/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-route53-recovery-cluster/tsconfig.json b/clients/client-route53-recovery-cluster/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-route53-recovery-cluster/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route53-recovery-cluster/tsconfig.types.json b/clients/client-route53-recovery-cluster/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-route53-recovery-cluster/tsconfig.types.json +++ b/clients/client-route53-recovery-cluster/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-route53-recovery-control-config/package.json b/clients/client-route53-recovery-control-config/package.json index 1a6b40c4d48e..8e7c89d88bf1 100644 --- a/clients/client-route53-recovery-control-config/package.json +++ b/clients/client-route53-recovery-control-config/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-route53-recovery-control-config/tsconfig.cjs.json b/clients/client-route53-recovery-control-config/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-route53-recovery-control-config/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-route53-recovery-control-config/tsconfig.es.json b/clients/client-route53-recovery-control-config/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-route53-recovery-control-config/tsconfig.es.json +++ b/clients/client-route53-recovery-control-config/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-route53-recovery-control-config/tsconfig.json b/clients/client-route53-recovery-control-config/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-route53-recovery-control-config/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route53-recovery-control-config/tsconfig.types.json b/clients/client-route53-recovery-control-config/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-route53-recovery-control-config/tsconfig.types.json +++ b/clients/client-route53-recovery-control-config/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-route53-recovery-readiness/package.json b/clients/client-route53-recovery-readiness/package.json index 85033a3d4eea..dff3bb07f918 100644 --- a/clients/client-route53-recovery-readiness/package.json +++ b/clients/client-route53-recovery-readiness/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-route53-recovery-readiness/tsconfig.cjs.json b/clients/client-route53-recovery-readiness/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-route53-recovery-readiness/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-route53-recovery-readiness/tsconfig.es.json b/clients/client-route53-recovery-readiness/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-route53-recovery-readiness/tsconfig.es.json +++ b/clients/client-route53-recovery-readiness/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-route53-recovery-readiness/tsconfig.json b/clients/client-route53-recovery-readiness/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-route53-recovery-readiness/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route53-recovery-readiness/tsconfig.types.json b/clients/client-route53-recovery-readiness/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-route53-recovery-readiness/tsconfig.types.json +++ b/clients/client-route53-recovery-readiness/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-route53resolver/package.json b/clients/client-route53resolver/package.json index 62aded5aad3f..94163b721e69 100644 --- a/clients/client-route53resolver/package.json +++ b/clients/client-route53resolver/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-route53resolver/tsconfig.cjs.json b/clients/client-route53resolver/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-route53resolver/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-route53resolver/tsconfig.es.json b/clients/client-route53resolver/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-route53resolver/tsconfig.es.json +++ b/clients/client-route53resolver/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-route53resolver/tsconfig.json b/clients/client-route53resolver/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-route53resolver/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route53resolver/tsconfig.types.json b/clients/client-route53resolver/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-route53resolver/tsconfig.types.json +++ b/clients/client-route53resolver/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-rum/package.json b/clients/client-rum/package.json index fc5098a8991b..acdee05fbf99 100644 --- a/clients/client-rum/package.json +++ b/clients/client-rum/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-rum/tsconfig.cjs.json b/clients/client-rum/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-rum/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-rum/tsconfig.es.json b/clients/client-rum/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-rum/tsconfig.es.json +++ b/clients/client-rum/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-rum/tsconfig.json b/clients/client-rum/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-rum/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-rum/tsconfig.types.json b/clients/client-rum/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-rum/tsconfig.types.json +++ b/clients/client-rum/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-s3-control/package.json b/clients/client-s3-control/package.json index c87ebac6e45a..1ffd10c73bc1 100644 --- a/clients/client-s3-control/package.json +++ b/clients/client-s3-control/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-s3-control/tsconfig.cjs.json b/clients/client-s3-control/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-s3-control/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-s3-control/tsconfig.es.json b/clients/client-s3-control/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-s3-control/tsconfig.es.json +++ b/clients/client-s3-control/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-s3-control/tsconfig.json b/clients/client-s3-control/tsconfig.json deleted file mode 100644 index cd6d61ae090f..000000000000 --- a/clients/client-s3-control/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true, - "types": ["mocha", "node"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-s3-control/tsconfig.types.json b/clients/client-s3-control/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-s3-control/tsconfig.types.json +++ b/clients/client-s3-control/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-s3/package.json b/clients/client-s3/package.json index f59cf2e80afe..cf4eafcf8928 100644 --- a/clients/client-s3/package.json +++ b/clients/client-s3/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-s3/tsconfig.cjs.json b/clients/client-s3/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-s3/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-s3/tsconfig.es.json b/clients/client-s3/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-s3/tsconfig.es.json +++ b/clients/client-s3/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-s3/tsconfig.json b/clients/client-s3/tsconfig.json deleted file mode 100644 index cd6d61ae090f..000000000000 --- a/clients/client-s3/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true, - "types": ["mocha", "node"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-s3/tsconfig.types.json b/clients/client-s3/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-s3/tsconfig.types.json +++ b/clients/client-s3/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-s3outposts/package.json b/clients/client-s3outposts/package.json index 6c16c8d1264c..f837d47f1171 100644 --- a/clients/client-s3outposts/package.json +++ b/clients/client-s3outposts/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-s3outposts/tsconfig.cjs.json b/clients/client-s3outposts/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-s3outposts/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-s3outposts/tsconfig.es.json b/clients/client-s3outposts/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-s3outposts/tsconfig.es.json +++ b/clients/client-s3outposts/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-s3outposts/tsconfig.json b/clients/client-s3outposts/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-s3outposts/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-s3outposts/tsconfig.types.json b/clients/client-s3outposts/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-s3outposts/tsconfig.types.json +++ b/clients/client-s3outposts/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sagemaker-a2i-runtime/package.json b/clients/client-sagemaker-a2i-runtime/package.json index 15ddc13fc318..f7fe3f2219fd 100644 --- a/clients/client-sagemaker-a2i-runtime/package.json +++ b/clients/client-sagemaker-a2i-runtime/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sagemaker-a2i-runtime/tsconfig.cjs.json b/clients/client-sagemaker-a2i-runtime/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sagemaker-a2i-runtime/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sagemaker-a2i-runtime/tsconfig.es.json b/clients/client-sagemaker-a2i-runtime/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sagemaker-a2i-runtime/tsconfig.es.json +++ b/clients/client-sagemaker-a2i-runtime/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sagemaker-a2i-runtime/tsconfig.json b/clients/client-sagemaker-a2i-runtime/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sagemaker-a2i-runtime/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sagemaker-a2i-runtime/tsconfig.types.json b/clients/client-sagemaker-a2i-runtime/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sagemaker-a2i-runtime/tsconfig.types.json +++ b/clients/client-sagemaker-a2i-runtime/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sagemaker-edge/package.json b/clients/client-sagemaker-edge/package.json index afe5098dafe1..3613852e0057 100644 --- a/clients/client-sagemaker-edge/package.json +++ b/clients/client-sagemaker-edge/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sagemaker-edge/tsconfig.cjs.json b/clients/client-sagemaker-edge/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sagemaker-edge/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sagemaker-edge/tsconfig.es.json b/clients/client-sagemaker-edge/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sagemaker-edge/tsconfig.es.json +++ b/clients/client-sagemaker-edge/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sagemaker-edge/tsconfig.json b/clients/client-sagemaker-edge/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sagemaker-edge/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sagemaker-edge/tsconfig.types.json b/clients/client-sagemaker-edge/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sagemaker-edge/tsconfig.types.json +++ b/clients/client-sagemaker-edge/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sagemaker-featurestore-runtime/package.json b/clients/client-sagemaker-featurestore-runtime/package.json index fab9c16f15a3..3a1c3e1156dc 100644 --- a/clients/client-sagemaker-featurestore-runtime/package.json +++ b/clients/client-sagemaker-featurestore-runtime/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sagemaker-featurestore-runtime/tsconfig.cjs.json b/clients/client-sagemaker-featurestore-runtime/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sagemaker-featurestore-runtime/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sagemaker-featurestore-runtime/tsconfig.es.json b/clients/client-sagemaker-featurestore-runtime/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sagemaker-featurestore-runtime/tsconfig.es.json +++ b/clients/client-sagemaker-featurestore-runtime/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sagemaker-featurestore-runtime/tsconfig.json b/clients/client-sagemaker-featurestore-runtime/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sagemaker-featurestore-runtime/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sagemaker-featurestore-runtime/tsconfig.types.json b/clients/client-sagemaker-featurestore-runtime/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sagemaker-featurestore-runtime/tsconfig.types.json +++ b/clients/client-sagemaker-featurestore-runtime/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sagemaker-runtime/package.json b/clients/client-sagemaker-runtime/package.json index 429dc81f2340..b93ccee3a198 100644 --- a/clients/client-sagemaker-runtime/package.json +++ b/clients/client-sagemaker-runtime/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sagemaker-runtime/tsconfig.cjs.json b/clients/client-sagemaker-runtime/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sagemaker-runtime/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sagemaker-runtime/tsconfig.es.json b/clients/client-sagemaker-runtime/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sagemaker-runtime/tsconfig.es.json +++ b/clients/client-sagemaker-runtime/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sagemaker-runtime/tsconfig.json b/clients/client-sagemaker-runtime/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sagemaker-runtime/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sagemaker-runtime/tsconfig.types.json b/clients/client-sagemaker-runtime/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sagemaker-runtime/tsconfig.types.json +++ b/clients/client-sagemaker-runtime/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sagemaker/package.json b/clients/client-sagemaker/package.json index 3212886d6ada..79824bf5077c 100644 --- a/clients/client-sagemaker/package.json +++ b/clients/client-sagemaker/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sagemaker/tsconfig.cjs.json b/clients/client-sagemaker/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sagemaker/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sagemaker/tsconfig.es.json b/clients/client-sagemaker/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sagemaker/tsconfig.es.json +++ b/clients/client-sagemaker/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sagemaker/tsconfig.json b/clients/client-sagemaker/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sagemaker/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sagemaker/tsconfig.types.json b/clients/client-sagemaker/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sagemaker/tsconfig.types.json +++ b/clients/client-sagemaker/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-savingsplans/package.json b/clients/client-savingsplans/package.json index 1015e0b1a31d..d6f93c5aa61e 100644 --- a/clients/client-savingsplans/package.json +++ b/clients/client-savingsplans/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-savingsplans/tsconfig.cjs.json b/clients/client-savingsplans/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-savingsplans/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-savingsplans/tsconfig.es.json b/clients/client-savingsplans/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-savingsplans/tsconfig.es.json +++ b/clients/client-savingsplans/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-savingsplans/tsconfig.json b/clients/client-savingsplans/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-savingsplans/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-savingsplans/tsconfig.types.json b/clients/client-savingsplans/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-savingsplans/tsconfig.types.json +++ b/clients/client-savingsplans/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-schemas/package.json b/clients/client-schemas/package.json index 6b80990b591c..862dfd99ddd9 100644 --- a/clients/client-schemas/package.json +++ b/clients/client-schemas/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-schemas/tsconfig.cjs.json b/clients/client-schemas/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-schemas/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-schemas/tsconfig.es.json b/clients/client-schemas/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-schemas/tsconfig.es.json +++ b/clients/client-schemas/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-schemas/tsconfig.json b/clients/client-schemas/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-schemas/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-schemas/tsconfig.types.json b/clients/client-schemas/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-schemas/tsconfig.types.json +++ b/clients/client-schemas/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-secrets-manager/package.json b/clients/client-secrets-manager/package.json index c2a47ac06c2c..95580c5dd0fa 100644 --- a/clients/client-secrets-manager/package.json +++ b/clients/client-secrets-manager/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-secrets-manager/tsconfig.cjs.json b/clients/client-secrets-manager/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-secrets-manager/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-secrets-manager/tsconfig.es.json b/clients/client-secrets-manager/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-secrets-manager/tsconfig.es.json +++ b/clients/client-secrets-manager/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-secrets-manager/tsconfig.json b/clients/client-secrets-manager/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-secrets-manager/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-secrets-manager/tsconfig.types.json b/clients/client-secrets-manager/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-secrets-manager/tsconfig.types.json +++ b/clients/client-secrets-manager/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-securityhub/package.json b/clients/client-securityhub/package.json index ff8b310c7b0b..0cf29bfa21e9 100644 --- a/clients/client-securityhub/package.json +++ b/clients/client-securityhub/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-securityhub/tsconfig.cjs.json b/clients/client-securityhub/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-securityhub/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-securityhub/tsconfig.es.json b/clients/client-securityhub/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-securityhub/tsconfig.es.json +++ b/clients/client-securityhub/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-securityhub/tsconfig.json b/clients/client-securityhub/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-securityhub/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-securityhub/tsconfig.types.json b/clients/client-securityhub/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-securityhub/tsconfig.types.json +++ b/clients/client-securityhub/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-serverlessapplicationrepository/package.json b/clients/client-serverlessapplicationrepository/package.json index a7abb358d744..cd3a59e167f9 100644 --- a/clients/client-serverlessapplicationrepository/package.json +++ b/clients/client-serverlessapplicationrepository/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-serverlessapplicationrepository/tsconfig.cjs.json b/clients/client-serverlessapplicationrepository/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-serverlessapplicationrepository/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-serverlessapplicationrepository/tsconfig.es.json b/clients/client-serverlessapplicationrepository/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-serverlessapplicationrepository/tsconfig.es.json +++ b/clients/client-serverlessapplicationrepository/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-serverlessapplicationrepository/tsconfig.json b/clients/client-serverlessapplicationrepository/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-serverlessapplicationrepository/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-serverlessapplicationrepository/tsconfig.types.json b/clients/client-serverlessapplicationrepository/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-serverlessapplicationrepository/tsconfig.types.json +++ b/clients/client-serverlessapplicationrepository/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-service-catalog-appregistry/package.json b/clients/client-service-catalog-appregistry/package.json index 8fe3c17e0fdf..c4329a3a44e5 100644 --- a/clients/client-service-catalog-appregistry/package.json +++ b/clients/client-service-catalog-appregistry/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-service-catalog-appregistry/tsconfig.cjs.json b/clients/client-service-catalog-appregistry/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-service-catalog-appregistry/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-service-catalog-appregistry/tsconfig.es.json b/clients/client-service-catalog-appregistry/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-service-catalog-appregistry/tsconfig.es.json +++ b/clients/client-service-catalog-appregistry/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-service-catalog-appregistry/tsconfig.json b/clients/client-service-catalog-appregistry/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-service-catalog-appregistry/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-service-catalog-appregistry/tsconfig.types.json b/clients/client-service-catalog-appregistry/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-service-catalog-appregistry/tsconfig.types.json +++ b/clients/client-service-catalog-appregistry/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-service-catalog/package.json b/clients/client-service-catalog/package.json index 3ae1ee81a656..5b6f265ebfd7 100644 --- a/clients/client-service-catalog/package.json +++ b/clients/client-service-catalog/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-service-catalog/tsconfig.cjs.json b/clients/client-service-catalog/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-service-catalog/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-service-catalog/tsconfig.es.json b/clients/client-service-catalog/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-service-catalog/tsconfig.es.json +++ b/clients/client-service-catalog/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-service-catalog/tsconfig.json b/clients/client-service-catalog/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-service-catalog/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-service-catalog/tsconfig.types.json b/clients/client-service-catalog/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-service-catalog/tsconfig.types.json +++ b/clients/client-service-catalog/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-service-quotas/package.json b/clients/client-service-quotas/package.json index 6a6e281459a2..4751c682e7d8 100644 --- a/clients/client-service-quotas/package.json +++ b/clients/client-service-quotas/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-service-quotas/tsconfig.cjs.json b/clients/client-service-quotas/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-service-quotas/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-service-quotas/tsconfig.es.json b/clients/client-service-quotas/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-service-quotas/tsconfig.es.json +++ b/clients/client-service-quotas/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-service-quotas/tsconfig.json b/clients/client-service-quotas/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-service-quotas/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-service-quotas/tsconfig.types.json b/clients/client-service-quotas/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-service-quotas/tsconfig.types.json +++ b/clients/client-service-quotas/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-servicediscovery/package.json b/clients/client-servicediscovery/package.json index 6ce43d130d0f..c40bb938afe5 100644 --- a/clients/client-servicediscovery/package.json +++ b/clients/client-servicediscovery/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-servicediscovery/tsconfig.cjs.json b/clients/client-servicediscovery/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-servicediscovery/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-servicediscovery/tsconfig.es.json b/clients/client-servicediscovery/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-servicediscovery/tsconfig.es.json +++ b/clients/client-servicediscovery/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-servicediscovery/tsconfig.json b/clients/client-servicediscovery/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-servicediscovery/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-servicediscovery/tsconfig.types.json b/clients/client-servicediscovery/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-servicediscovery/tsconfig.types.json +++ b/clients/client-servicediscovery/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ses/package.json b/clients/client-ses/package.json index 3265a210ca26..94af1131a288 100644 --- a/clients/client-ses/package.json +++ b/clients/client-ses/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ses/tsconfig.cjs.json b/clients/client-ses/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ses/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ses/tsconfig.es.json b/clients/client-ses/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ses/tsconfig.es.json +++ b/clients/client-ses/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ses/tsconfig.json b/clients/client-ses/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ses/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ses/tsconfig.types.json b/clients/client-ses/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ses/tsconfig.types.json +++ b/clients/client-ses/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sesv2/package.json b/clients/client-sesv2/package.json index f8973d468d04..b7686b272d58 100644 --- a/clients/client-sesv2/package.json +++ b/clients/client-sesv2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sesv2/tsconfig.cjs.json b/clients/client-sesv2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sesv2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sesv2/tsconfig.es.json b/clients/client-sesv2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sesv2/tsconfig.es.json +++ b/clients/client-sesv2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sesv2/tsconfig.json b/clients/client-sesv2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sesv2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sesv2/tsconfig.types.json b/clients/client-sesv2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sesv2/tsconfig.types.json +++ b/clients/client-sesv2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sfn/package.json b/clients/client-sfn/package.json index 223faede0254..bcdb4541c0d6 100644 --- a/clients/client-sfn/package.json +++ b/clients/client-sfn/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sfn/tsconfig.cjs.json b/clients/client-sfn/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sfn/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sfn/tsconfig.es.json b/clients/client-sfn/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sfn/tsconfig.es.json +++ b/clients/client-sfn/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sfn/tsconfig.json b/clients/client-sfn/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sfn/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sfn/tsconfig.types.json b/clients/client-sfn/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sfn/tsconfig.types.json +++ b/clients/client-sfn/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-shield/package.json b/clients/client-shield/package.json index af95d94a2200..baf8434cd558 100644 --- a/clients/client-shield/package.json +++ b/clients/client-shield/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-shield/tsconfig.cjs.json b/clients/client-shield/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-shield/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-shield/tsconfig.es.json b/clients/client-shield/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-shield/tsconfig.es.json +++ b/clients/client-shield/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-shield/tsconfig.json b/clients/client-shield/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-shield/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-shield/tsconfig.types.json b/clients/client-shield/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-shield/tsconfig.types.json +++ b/clients/client-shield/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-signer/package.json b/clients/client-signer/package.json index 7ea5296484a8..ae8e8186c033 100644 --- a/clients/client-signer/package.json +++ b/clients/client-signer/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-signer/tsconfig.cjs.json b/clients/client-signer/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-signer/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-signer/tsconfig.es.json b/clients/client-signer/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-signer/tsconfig.es.json +++ b/clients/client-signer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-signer/tsconfig.json b/clients/client-signer/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-signer/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-signer/tsconfig.types.json b/clients/client-signer/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-signer/tsconfig.types.json +++ b/clients/client-signer/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sms/package.json b/clients/client-sms/package.json index da26049a8f0e..0d89a94e74ec 100644 --- a/clients/client-sms/package.json +++ b/clients/client-sms/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sms/tsconfig.cjs.json b/clients/client-sms/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sms/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sms/tsconfig.es.json b/clients/client-sms/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sms/tsconfig.es.json +++ b/clients/client-sms/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sms/tsconfig.json b/clients/client-sms/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sms/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sms/tsconfig.types.json b/clients/client-sms/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sms/tsconfig.types.json +++ b/clients/client-sms/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-snow-device-management/package.json b/clients/client-snow-device-management/package.json index fb601d6d2540..227663ae867d 100644 --- a/clients/client-snow-device-management/package.json +++ b/clients/client-snow-device-management/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-snow-device-management/tsconfig.cjs.json b/clients/client-snow-device-management/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-snow-device-management/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-snow-device-management/tsconfig.es.json b/clients/client-snow-device-management/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-snow-device-management/tsconfig.es.json +++ b/clients/client-snow-device-management/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-snow-device-management/tsconfig.json b/clients/client-snow-device-management/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-snow-device-management/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-snow-device-management/tsconfig.types.json b/clients/client-snow-device-management/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-snow-device-management/tsconfig.types.json +++ b/clients/client-snow-device-management/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-snowball/package.json b/clients/client-snowball/package.json index c0fc1f82bac5..c7fdda59943d 100644 --- a/clients/client-snowball/package.json +++ b/clients/client-snowball/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-snowball/tsconfig.cjs.json b/clients/client-snowball/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-snowball/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-snowball/tsconfig.es.json b/clients/client-snowball/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-snowball/tsconfig.es.json +++ b/clients/client-snowball/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-snowball/tsconfig.json b/clients/client-snowball/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-snowball/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-snowball/tsconfig.types.json b/clients/client-snowball/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-snowball/tsconfig.types.json +++ b/clients/client-snowball/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sns/package.json b/clients/client-sns/package.json index 304435372083..e39193095de6 100644 --- a/clients/client-sns/package.json +++ b/clients/client-sns/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sns/tsconfig.cjs.json b/clients/client-sns/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sns/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sns/tsconfig.es.json b/clients/client-sns/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sns/tsconfig.es.json +++ b/clients/client-sns/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sns/tsconfig.json b/clients/client-sns/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sns/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sns/tsconfig.types.json b/clients/client-sns/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sns/tsconfig.types.json +++ b/clients/client-sns/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sqs/package.json b/clients/client-sqs/package.json index f7817c5bf31d..e9b48e09994e 100644 --- a/clients/client-sqs/package.json +++ b/clients/client-sqs/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sqs/tsconfig.cjs.json b/clients/client-sqs/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sqs/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sqs/tsconfig.es.json b/clients/client-sqs/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sqs/tsconfig.es.json +++ b/clients/client-sqs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sqs/tsconfig.json b/clients/client-sqs/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sqs/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sqs/tsconfig.types.json b/clients/client-sqs/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sqs/tsconfig.types.json +++ b/clients/client-sqs/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ssm-contacts/package.json b/clients/client-ssm-contacts/package.json index 4e4096bfd605..60b1b95b3ab4 100644 --- a/clients/client-ssm-contacts/package.json +++ b/clients/client-ssm-contacts/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ssm-contacts/tsconfig.cjs.json b/clients/client-ssm-contacts/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ssm-contacts/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ssm-contacts/tsconfig.es.json b/clients/client-ssm-contacts/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ssm-contacts/tsconfig.es.json +++ b/clients/client-ssm-contacts/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ssm-contacts/tsconfig.json b/clients/client-ssm-contacts/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ssm-contacts/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ssm-contacts/tsconfig.types.json b/clients/client-ssm-contacts/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ssm-contacts/tsconfig.types.json +++ b/clients/client-ssm-contacts/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ssm-incidents/package.json b/clients/client-ssm-incidents/package.json index 275999c4f2c1..a2940fbee83c 100644 --- a/clients/client-ssm-incidents/package.json +++ b/clients/client-ssm-incidents/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ssm-incidents/tsconfig.cjs.json b/clients/client-ssm-incidents/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ssm-incidents/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ssm-incidents/tsconfig.es.json b/clients/client-ssm-incidents/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ssm-incidents/tsconfig.es.json +++ b/clients/client-ssm-incidents/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ssm-incidents/tsconfig.json b/clients/client-ssm-incidents/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ssm-incidents/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ssm-incidents/tsconfig.types.json b/clients/client-ssm-incidents/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ssm-incidents/tsconfig.types.json +++ b/clients/client-ssm-incidents/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-ssm/package.json b/clients/client-ssm/package.json index 5979a19b8650..59f197f40b61 100644 --- a/clients/client-ssm/package.json +++ b/clients/client-ssm/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-ssm/tsconfig.cjs.json b/clients/client-ssm/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-ssm/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-ssm/tsconfig.es.json b/clients/client-ssm/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-ssm/tsconfig.es.json +++ b/clients/client-ssm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-ssm/tsconfig.json b/clients/client-ssm/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-ssm/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ssm/tsconfig.types.json b/clients/client-ssm/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-ssm/tsconfig.types.json +++ b/clients/client-ssm/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sso-admin/package.json b/clients/client-sso-admin/package.json index b6357404a434..a23523fee580 100644 --- a/clients/client-sso-admin/package.json +++ b/clients/client-sso-admin/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sso-admin/tsconfig.cjs.json b/clients/client-sso-admin/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sso-admin/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sso-admin/tsconfig.es.json b/clients/client-sso-admin/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sso-admin/tsconfig.es.json +++ b/clients/client-sso-admin/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sso-admin/tsconfig.json b/clients/client-sso-admin/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sso-admin/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sso-admin/tsconfig.types.json b/clients/client-sso-admin/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sso-admin/tsconfig.types.json +++ b/clients/client-sso-admin/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sso-oidc/package.json b/clients/client-sso-oidc/package.json index 1eadc0c5c1b0..3fa01a9761e2 100644 --- a/clients/client-sso-oidc/package.json +++ b/clients/client-sso-oidc/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sso-oidc/tsconfig.cjs.json b/clients/client-sso-oidc/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sso-oidc/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sso-oidc/tsconfig.es.json b/clients/client-sso-oidc/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sso-oidc/tsconfig.es.json +++ b/clients/client-sso-oidc/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sso-oidc/tsconfig.json b/clients/client-sso-oidc/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sso-oidc/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sso-oidc/tsconfig.types.json b/clients/client-sso-oidc/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sso-oidc/tsconfig.types.json +++ b/clients/client-sso-oidc/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sso/package.json b/clients/client-sso/package.json index 580f7dc2d281..c697ffd81dba 100644 --- a/clients/client-sso/package.json +++ b/clients/client-sso/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sso/tsconfig.cjs.json b/clients/client-sso/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sso/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sso/tsconfig.es.json b/clients/client-sso/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sso/tsconfig.es.json +++ b/clients/client-sso/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sso/tsconfig.json b/clients/client-sso/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sso/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sso/tsconfig.types.json b/clients/client-sso/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sso/tsconfig.types.json +++ b/clients/client-sso/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-storage-gateway/package.json b/clients/client-storage-gateway/package.json index a7e681681c40..03fcf0a45f00 100644 --- a/clients/client-storage-gateway/package.json +++ b/clients/client-storage-gateway/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-storage-gateway/tsconfig.cjs.json b/clients/client-storage-gateway/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-storage-gateway/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-storage-gateway/tsconfig.es.json b/clients/client-storage-gateway/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-storage-gateway/tsconfig.es.json +++ b/clients/client-storage-gateway/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-storage-gateway/tsconfig.json b/clients/client-storage-gateway/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-storage-gateway/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-storage-gateway/tsconfig.types.json b/clients/client-storage-gateway/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-storage-gateway/tsconfig.types.json +++ b/clients/client-storage-gateway/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-sts/package.json b/clients/client-sts/package.json index 10836bae55a2..e4bf1a26e99f 100644 --- a/clients/client-sts/package.json +++ b/clients/client-sts/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-sts/tsconfig.cjs.json b/clients/client-sts/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-sts/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-sts/tsconfig.es.json b/clients/client-sts/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-sts/tsconfig.es.json +++ b/clients/client-sts/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-sts/tsconfig.json b/clients/client-sts/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-sts/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sts/tsconfig.types.json b/clients/client-sts/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-sts/tsconfig.types.json +++ b/clients/client-sts/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-support/package.json b/clients/client-support/package.json index 4b0baa5964b0..f62394d8c780 100644 --- a/clients/client-support/package.json +++ b/clients/client-support/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-support/tsconfig.cjs.json b/clients/client-support/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-support/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-support/tsconfig.es.json b/clients/client-support/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-support/tsconfig.es.json +++ b/clients/client-support/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-support/tsconfig.json b/clients/client-support/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-support/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-support/tsconfig.types.json b/clients/client-support/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-support/tsconfig.types.json +++ b/clients/client-support/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-swf/package.json b/clients/client-swf/package.json index 8a9dfb34fa96..415e8eab4c0a 100644 --- a/clients/client-swf/package.json +++ b/clients/client-swf/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-swf/tsconfig.cjs.json b/clients/client-swf/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-swf/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-swf/tsconfig.es.json b/clients/client-swf/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-swf/tsconfig.es.json +++ b/clients/client-swf/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-swf/tsconfig.json b/clients/client-swf/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-swf/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-swf/tsconfig.types.json b/clients/client-swf/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-swf/tsconfig.types.json +++ b/clients/client-swf/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-synthetics/package.json b/clients/client-synthetics/package.json index fe2075d4024b..7c72b0ffdb4a 100644 --- a/clients/client-synthetics/package.json +++ b/clients/client-synthetics/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-synthetics/tsconfig.cjs.json b/clients/client-synthetics/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-synthetics/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-synthetics/tsconfig.es.json b/clients/client-synthetics/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-synthetics/tsconfig.es.json +++ b/clients/client-synthetics/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-synthetics/tsconfig.json b/clients/client-synthetics/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-synthetics/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-synthetics/tsconfig.types.json b/clients/client-synthetics/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-synthetics/tsconfig.types.json +++ b/clients/client-synthetics/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-textract/package.json b/clients/client-textract/package.json index a3f475e64132..2332887f93d4 100644 --- a/clients/client-textract/package.json +++ b/clients/client-textract/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-textract/tsconfig.cjs.json b/clients/client-textract/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-textract/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-textract/tsconfig.es.json b/clients/client-textract/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-textract/tsconfig.es.json +++ b/clients/client-textract/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-textract/tsconfig.json b/clients/client-textract/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-textract/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-textract/tsconfig.types.json b/clients/client-textract/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-textract/tsconfig.types.json +++ b/clients/client-textract/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-timestream-query/package.json b/clients/client-timestream-query/package.json index 580fb98ce9ba..fc56dc09f309 100644 --- a/clients/client-timestream-query/package.json +++ b/clients/client-timestream-query/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-timestream-query/tsconfig.cjs.json b/clients/client-timestream-query/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-timestream-query/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-timestream-query/tsconfig.es.json b/clients/client-timestream-query/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-timestream-query/tsconfig.es.json +++ b/clients/client-timestream-query/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-timestream-query/tsconfig.json b/clients/client-timestream-query/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-timestream-query/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-timestream-query/tsconfig.types.json b/clients/client-timestream-query/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-timestream-query/tsconfig.types.json +++ b/clients/client-timestream-query/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-timestream-write/package.json b/clients/client-timestream-write/package.json index 5557d1166daa..8a6798b82004 100644 --- a/clients/client-timestream-write/package.json +++ b/clients/client-timestream-write/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-timestream-write/tsconfig.cjs.json b/clients/client-timestream-write/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-timestream-write/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-timestream-write/tsconfig.es.json b/clients/client-timestream-write/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-timestream-write/tsconfig.es.json +++ b/clients/client-timestream-write/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-timestream-write/tsconfig.json b/clients/client-timestream-write/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-timestream-write/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-timestream-write/tsconfig.types.json b/clients/client-timestream-write/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-timestream-write/tsconfig.types.json +++ b/clients/client-timestream-write/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-transcribe-streaming/package.json b/clients/client-transcribe-streaming/package.json index bf06d5b9ac0c..9b2827db1e8a 100644 --- a/clients/client-transcribe-streaming/package.json +++ b/clients/client-transcribe-streaming/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-transcribe-streaming/tsconfig.cjs.json b/clients/client-transcribe-streaming/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-transcribe-streaming/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-transcribe-streaming/tsconfig.es.json b/clients/client-transcribe-streaming/tsconfig.es.json index 0750b3e36e92..fa8696997cb6 100644 --- a/clients/client-transcribe-streaming/tsconfig.es.json +++ b/clients/client-transcribe-streaming/tsconfig.es.json @@ -1,11 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] }, - "exclude": ["test"] + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-transcribe-streaming/tsconfig.json b/clients/client-transcribe-streaming/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-transcribe-streaming/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-transcribe-streaming/tsconfig.types.json b/clients/client-transcribe-streaming/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-transcribe-streaming/tsconfig.types.json +++ b/clients/client-transcribe-streaming/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-transcribe/package.json b/clients/client-transcribe/package.json index 511c816bd5c0..abebcfc38c53 100644 --- a/clients/client-transcribe/package.json +++ b/clients/client-transcribe/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-transcribe/tsconfig.cjs.json b/clients/client-transcribe/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-transcribe/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-transcribe/tsconfig.es.json b/clients/client-transcribe/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-transcribe/tsconfig.es.json +++ b/clients/client-transcribe/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-transcribe/tsconfig.json b/clients/client-transcribe/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-transcribe/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-transcribe/tsconfig.types.json b/clients/client-transcribe/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-transcribe/tsconfig.types.json +++ b/clients/client-transcribe/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-transfer/package.json b/clients/client-transfer/package.json index e2936ba72f53..2e97f4539b9e 100644 --- a/clients/client-transfer/package.json +++ b/clients/client-transfer/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-transfer/tsconfig.cjs.json b/clients/client-transfer/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-transfer/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-transfer/tsconfig.es.json b/clients/client-transfer/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-transfer/tsconfig.es.json +++ b/clients/client-transfer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-transfer/tsconfig.json b/clients/client-transfer/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-transfer/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-transfer/tsconfig.types.json b/clients/client-transfer/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-transfer/tsconfig.types.json +++ b/clients/client-transfer/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-translate/package.json b/clients/client-translate/package.json index 7aac1dfc43e5..7a2fa5ed78a7 100644 --- a/clients/client-translate/package.json +++ b/clients/client-translate/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-translate/tsconfig.cjs.json b/clients/client-translate/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-translate/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-translate/tsconfig.es.json b/clients/client-translate/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-translate/tsconfig.es.json +++ b/clients/client-translate/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-translate/tsconfig.json b/clients/client-translate/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-translate/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-translate/tsconfig.types.json b/clients/client-translate/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-translate/tsconfig.types.json +++ b/clients/client-translate/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-voice-id/package.json b/clients/client-voice-id/package.json index b4cba5740e4c..d60af28295c1 100644 --- a/clients/client-voice-id/package.json +++ b/clients/client-voice-id/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-voice-id/tsconfig.cjs.json b/clients/client-voice-id/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-voice-id/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-voice-id/tsconfig.es.json b/clients/client-voice-id/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-voice-id/tsconfig.es.json +++ b/clients/client-voice-id/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-voice-id/tsconfig.json b/clients/client-voice-id/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-voice-id/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-voice-id/tsconfig.types.json b/clients/client-voice-id/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-voice-id/tsconfig.types.json +++ b/clients/client-voice-id/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-waf-regional/package.json b/clients/client-waf-regional/package.json index 4856da3bd428..eef2b0ba944f 100644 --- a/clients/client-waf-regional/package.json +++ b/clients/client-waf-regional/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-waf-regional/tsconfig.cjs.json b/clients/client-waf-regional/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-waf-regional/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-waf-regional/tsconfig.es.json b/clients/client-waf-regional/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-waf-regional/tsconfig.es.json +++ b/clients/client-waf-regional/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-waf-regional/tsconfig.json b/clients/client-waf-regional/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-waf-regional/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-waf-regional/tsconfig.types.json b/clients/client-waf-regional/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-waf-regional/tsconfig.types.json +++ b/clients/client-waf-regional/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-waf/package.json b/clients/client-waf/package.json index e2eb0cf6d369..68a9f824f1de 100644 --- a/clients/client-waf/package.json +++ b/clients/client-waf/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-waf/tsconfig.cjs.json b/clients/client-waf/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-waf/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-waf/tsconfig.es.json b/clients/client-waf/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-waf/tsconfig.es.json +++ b/clients/client-waf/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-waf/tsconfig.json b/clients/client-waf/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-waf/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-waf/tsconfig.types.json b/clients/client-waf/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-waf/tsconfig.types.json +++ b/clients/client-waf/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-wafv2/package.json b/clients/client-wafv2/package.json index b3b9585c040d..bd7d46782371 100644 --- a/clients/client-wafv2/package.json +++ b/clients/client-wafv2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-wafv2/tsconfig.cjs.json b/clients/client-wafv2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-wafv2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-wafv2/tsconfig.es.json b/clients/client-wafv2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-wafv2/tsconfig.es.json +++ b/clients/client-wafv2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-wafv2/tsconfig.json b/clients/client-wafv2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-wafv2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-wafv2/tsconfig.types.json b/clients/client-wafv2/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-wafv2/tsconfig.types.json +++ b/clients/client-wafv2/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-wellarchitected/package.json b/clients/client-wellarchitected/package.json index bd626e9e174f..d90589cdb56c 100644 --- a/clients/client-wellarchitected/package.json +++ b/clients/client-wellarchitected/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-wellarchitected/tsconfig.cjs.json b/clients/client-wellarchitected/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-wellarchitected/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-wellarchitected/tsconfig.es.json b/clients/client-wellarchitected/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-wellarchitected/tsconfig.es.json +++ b/clients/client-wellarchitected/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-wellarchitected/tsconfig.json b/clients/client-wellarchitected/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-wellarchitected/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-wellarchitected/tsconfig.types.json b/clients/client-wellarchitected/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-wellarchitected/tsconfig.types.json +++ b/clients/client-wellarchitected/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-wisdom/package.json b/clients/client-wisdom/package.json index 3dedeb464b10..29f443283b9a 100644 --- a/clients/client-wisdom/package.json +++ b/clients/client-wisdom/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-wisdom/tsconfig.cjs.json b/clients/client-wisdom/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-wisdom/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-wisdom/tsconfig.es.json b/clients/client-wisdom/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-wisdom/tsconfig.es.json +++ b/clients/client-wisdom/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-wisdom/tsconfig.json b/clients/client-wisdom/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-wisdom/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-wisdom/tsconfig.types.json b/clients/client-wisdom/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-wisdom/tsconfig.types.json +++ b/clients/client-wisdom/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-workdocs/package.json b/clients/client-workdocs/package.json index 71ad0876b70e..a9474d0d530e 100644 --- a/clients/client-workdocs/package.json +++ b/clients/client-workdocs/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-workdocs/tsconfig.cjs.json b/clients/client-workdocs/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-workdocs/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-workdocs/tsconfig.es.json b/clients/client-workdocs/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-workdocs/tsconfig.es.json +++ b/clients/client-workdocs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-workdocs/tsconfig.json b/clients/client-workdocs/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-workdocs/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-workdocs/tsconfig.types.json b/clients/client-workdocs/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-workdocs/tsconfig.types.json +++ b/clients/client-workdocs/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-worklink/package.json b/clients/client-worklink/package.json index 9941d919dcae..2d49b884d633 100644 --- a/clients/client-worklink/package.json +++ b/clients/client-worklink/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-worklink/tsconfig.cjs.json b/clients/client-worklink/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-worklink/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-worklink/tsconfig.es.json b/clients/client-worklink/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-worklink/tsconfig.es.json +++ b/clients/client-worklink/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-worklink/tsconfig.json b/clients/client-worklink/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-worklink/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-worklink/tsconfig.types.json b/clients/client-worklink/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-worklink/tsconfig.types.json +++ b/clients/client-worklink/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-workmail/package.json b/clients/client-workmail/package.json index 80e42a188d34..66f6d5ec4d0d 100644 --- a/clients/client-workmail/package.json +++ b/clients/client-workmail/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-workmail/tsconfig.cjs.json b/clients/client-workmail/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-workmail/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-workmail/tsconfig.es.json b/clients/client-workmail/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-workmail/tsconfig.es.json +++ b/clients/client-workmail/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-workmail/tsconfig.json b/clients/client-workmail/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-workmail/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-workmail/tsconfig.types.json b/clients/client-workmail/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-workmail/tsconfig.types.json +++ b/clients/client-workmail/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-workmailmessageflow/package.json b/clients/client-workmailmessageflow/package.json index 13d049245379..96a33f718596 100644 --- a/clients/client-workmailmessageflow/package.json +++ b/clients/client-workmailmessageflow/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-workmailmessageflow/tsconfig.cjs.json b/clients/client-workmailmessageflow/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-workmailmessageflow/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-workmailmessageflow/tsconfig.es.json b/clients/client-workmailmessageflow/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-workmailmessageflow/tsconfig.es.json +++ b/clients/client-workmailmessageflow/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-workmailmessageflow/tsconfig.json b/clients/client-workmailmessageflow/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-workmailmessageflow/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-workmailmessageflow/tsconfig.types.json b/clients/client-workmailmessageflow/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-workmailmessageflow/tsconfig.types.json +++ b/clients/client-workmailmessageflow/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-workspaces-web/package.json b/clients/client-workspaces-web/package.json index 181312010084..1d4f8f2739e7 100644 --- a/clients/client-workspaces-web/package.json +++ b/clients/client-workspaces-web/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-workspaces-web/tsconfig.cjs.json b/clients/client-workspaces-web/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-workspaces-web/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-workspaces-web/tsconfig.es.json b/clients/client-workspaces-web/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-workspaces-web/tsconfig.es.json +++ b/clients/client-workspaces-web/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-workspaces-web/tsconfig.json b/clients/client-workspaces-web/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/clients/client-workspaces-web/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-workspaces-web/tsconfig.types.json b/clients/client-workspaces-web/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-workspaces-web/tsconfig.types.json +++ b/clients/client-workspaces-web/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-workspaces/package.json b/clients/client-workspaces/package.json index 958e75d7c6c6..95695bef1cf9 100644 --- a/clients/client-workspaces/package.json +++ b/clients/client-workspaces/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-workspaces/tsconfig.cjs.json b/clients/client-workspaces/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-workspaces/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-workspaces/tsconfig.es.json b/clients/client-workspaces/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-workspaces/tsconfig.es.json +++ b/clients/client-workspaces/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-workspaces/tsconfig.json b/clients/client-workspaces/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-workspaces/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-workspaces/tsconfig.types.json b/clients/client-workspaces/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-workspaces/tsconfig.types.json +++ b/clients/client-workspaces/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/clients/client-xray/package.json b/clients/client-xray/package.json index d7f08f011807..1b59f771ad15 100644 --- a/clients/client-xray/package.json +++ b/clients/client-xray/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/clients/client-xray/tsconfig.cjs.json b/clients/client-xray/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/clients/client-xray/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/clients/client-xray/tsconfig.es.json b/clients/client-xray/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/clients/client-xray/tsconfig.es.json +++ b/clients/client-xray/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/clients/client-xray/tsconfig.json b/clients/client-xray/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/clients/client-xray/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-xray/tsconfig.types.json b/clients/client-xray/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/clients/client-xray/tsconfig.types.json +++ b/clients/client-xray/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/package.json b/package.json index 719f582b4cdc..7a9b2dcca9b1 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "build:all": "yarn build:crypto-dependencies && lerna run build", "build-documentation": "yarn remove-documentation && typedoc", "pretest:all": "yarn build:all", - "test:all": "jest --coverage --passWithNoTests && lerna run test --scope '@aws-sdk/{fetch-http-handler,hash-blob-browser}' && yarn test:versions", + "test:all": "lerna run test && yarn test:versions", "test:functional": "jest --config tests/functional/jest.config.js", "test:integration:legacy": "cucumber-js --fail-fast", "test:integration:legacy:since:release": "./tests/integ-legacy/index.js", diff --git a/packages/eventstream-serde-browser/package.json b/packages/eventstream-serde-browser/package.json index a4c58c6f0d9b..e6518830bba2 100644 --- a/packages/eventstream-serde-browser/package.json +++ b/packages/eventstream-serde-browser/package.json @@ -7,7 +7,7 @@ "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4", - "test": "jest" + "test": "jest --passWithNoTests" }, "main": "./dist-cjs/index.js", "module": "./dist-es/index.js", diff --git a/packages/eventstream-serde-node/package.json b/packages/eventstream-serde-node/package.json index 895b05312d93..a96ceff007c9 100644 --- a/packages/eventstream-serde-node/package.json +++ b/packages/eventstream-serde-node/package.json @@ -7,7 +7,7 @@ "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4", - "test": "jest" + "test": "jest --passWithNoTests" }, "main": "./dist-cjs/index.js", "module": "./dist-es/index.js", diff --git a/packages/md5-js/tsconfig.cjs.json b/packages/md5-js/tsconfig.cjs.json index dfa0923b120f..4153d8d855a2 100644 --- a/packages/md5-js/tsconfig.cjs.json +++ b/packages/md5-js/tsconfig.cjs.json @@ -4,7 +4,6 @@ "outDir": "dist-cjs", "rootDir": "src" }, - "exclude": ["./build/**"], "include": ["src/"], "extends": "../../tsconfig.cjs.json" } diff --git a/packages/middleware-content-length/package.json b/packages/middleware-content-length/package.json index 2e50f7363842..a707c8327816 100644 --- a/packages/middleware-content-length/package.json +++ b/packages/middleware-content-length/package.json @@ -7,7 +7,7 @@ "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4", - "test": "jest" + "test": "jest --passWithNoTests" }, "main": "./dist-cjs/index.js", "module": "./dist-es/index.js", diff --git a/packages/middleware-eventstream/package.json b/packages/middleware-eventstream/package.json index b5b2e4dfce15..b13e5e5afe6d 100644 --- a/packages/middleware-eventstream/package.json +++ b/packages/middleware-eventstream/package.json @@ -7,7 +7,7 @@ "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4", - "test": "jest" + "test": "jest --passWithNoTests" }, "main": "./dist-cjs/index.js", "module": "./dist-es/index.js", diff --git a/packages/middleware-sdk-route53/src/id-normalizer-spec.ts b/packages/middleware-sdk-route53/src/id-normalizer.spec.ts similarity index 100% rename from packages/middleware-sdk-route53/src/id-normalizer-spec.ts rename to packages/middleware-sdk-route53/src/id-normalizer.spec.ts diff --git a/packages/middleware-sdk-sts/package.json b/packages/middleware-sdk-sts/package.json index 0e0e133e1f31..959dc7d66ad6 100644 --- a/packages/middleware-sdk-sts/package.json +++ b/packages/middleware-sdk-sts/package.json @@ -7,7 +7,7 @@ "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4", - "test": "jest" + "test": "jest --passWithNoTests" }, "main": "./dist-cjs/index.js", "module": "./dist-es/index.js", diff --git a/packages/querystring-builder/package.json b/packages/querystring-builder/package.json index f429259e1e2f..0f4112a308fc 100644 --- a/packages/querystring-builder/package.json +++ b/packages/querystring-builder/package.json @@ -7,7 +7,7 @@ "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4", - "test": "jest" + "test": "jest --passWithNoTests" }, "main": "./dist-cjs/index.js", "module": "./dist-es/index.js", diff --git a/packages/util-credentials/package.json b/packages/util-credentials/package.json index f8db50edbfd7..dd1bad66f0a9 100644 --- a/packages/util-credentials/package.json +++ b/packages/util-credentials/package.json @@ -10,7 +10,7 @@ "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4", - "test": "jest" + "test": "jest --passWithNoTests" }, "keywords": [ "aws", diff --git a/private/aws-echo-service/package.json b/private/aws-echo-service/package.json index 5391cbd5cfae..73f796d3603d 100644 --- a/private/aws-echo-service/package.json +++ b/private/aws-echo-service/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/private/aws-echo-service/tsconfig.cjs.json b/private/aws-echo-service/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/private/aws-echo-service/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/private/aws-echo-service/tsconfig.es.json b/private/aws-echo-service/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/private/aws-echo-service/tsconfig.es.json +++ b/private/aws-echo-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/private/aws-echo-service/tsconfig.json b/private/aws-echo-service/tsconfig.json deleted file mode 100644 index 4633e99df0e8..000000000000 --- a/private/aws-echo-service/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/private/aws-echo-service/tsconfig.types.json b/private/aws-echo-service/tsconfig.types.json index 4c3dfa7b3d25..466328bade30 100644 --- a/private/aws-echo-service/tsconfig.types.json +++ b/private/aws-echo-service/tsconfig.types.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-ec2/package.json b/private/aws-protocoltests-ec2/package.json index 7b99edf5dddb..adcb56dd586e 100644 --- a/private/aws-protocoltests-ec2/package.json +++ b/private/aws-protocoltests-ec2/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/private/aws-protocoltests-ec2/tsconfig.cjs.json b/private/aws-protocoltests-ec2/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/private/aws-protocoltests-ec2/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/private/aws-protocoltests-ec2/tsconfig.es.json b/private/aws-protocoltests-ec2/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/private/aws-protocoltests-ec2/tsconfig.es.json +++ b/private/aws-protocoltests-ec2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-ec2/tsconfig.json b/private/aws-protocoltests-ec2/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/private/aws-protocoltests-ec2/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/private/aws-protocoltests-ec2/tsconfig.types.json b/private/aws-protocoltests-ec2/tsconfig.types.json index b7018298d8ae..466328bade30 100644 --- a/private/aws-protocoltests-ec2/tsconfig.types.json +++ b/private/aws-protocoltests-ec2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-json-10/package.json b/private/aws-protocoltests-json-10/package.json index f3976b8128fa..4988cb1d16cc 100644 --- a/private/aws-protocoltests-json-10/package.json +++ b/private/aws-protocoltests-json-10/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/private/aws-protocoltests-json-10/tsconfig.cjs.json b/private/aws-protocoltests-json-10/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/private/aws-protocoltests-json-10/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/private/aws-protocoltests-json-10/tsconfig.es.json b/private/aws-protocoltests-json-10/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/private/aws-protocoltests-json-10/tsconfig.es.json +++ b/private/aws-protocoltests-json-10/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-json-10/tsconfig.json b/private/aws-protocoltests-json-10/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/private/aws-protocoltests-json-10/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/private/aws-protocoltests-json-10/tsconfig.types.json b/private/aws-protocoltests-json-10/tsconfig.types.json index b7018298d8ae..466328bade30 100644 --- a/private/aws-protocoltests-json-10/tsconfig.types.json +++ b/private/aws-protocoltests-json-10/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-json/package.json b/private/aws-protocoltests-json/package.json index e0a337aea382..57866921af30 100644 --- a/private/aws-protocoltests-json/package.json +++ b/private/aws-protocoltests-json/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/private/aws-protocoltests-json/tsconfig.cjs.json b/private/aws-protocoltests-json/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/private/aws-protocoltests-json/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/private/aws-protocoltests-json/tsconfig.es.json b/private/aws-protocoltests-json/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/private/aws-protocoltests-json/tsconfig.es.json +++ b/private/aws-protocoltests-json/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-json/tsconfig.json b/private/aws-protocoltests-json/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/private/aws-protocoltests-json/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/private/aws-protocoltests-json/tsconfig.types.json b/private/aws-protocoltests-json/tsconfig.types.json index b7018298d8ae..466328bade30 100644 --- a/private/aws-protocoltests-json/tsconfig.types.json +++ b/private/aws-protocoltests-json/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-query/package.json b/private/aws-protocoltests-query/package.json index 9a31ed66d126..c62c13cf4515 100644 --- a/private/aws-protocoltests-query/package.json +++ b/private/aws-protocoltests-query/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/private/aws-protocoltests-query/tsconfig.cjs.json b/private/aws-protocoltests-query/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/private/aws-protocoltests-query/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/private/aws-protocoltests-query/tsconfig.es.json b/private/aws-protocoltests-query/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/private/aws-protocoltests-query/tsconfig.es.json +++ b/private/aws-protocoltests-query/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-query/tsconfig.json b/private/aws-protocoltests-query/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/private/aws-protocoltests-query/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/private/aws-protocoltests-query/tsconfig.types.json b/private/aws-protocoltests-query/tsconfig.types.json index b7018298d8ae..466328bade30 100644 --- a/private/aws-protocoltests-query/tsconfig.types.json +++ b/private/aws-protocoltests-query/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-restjson/package.json b/private/aws-protocoltests-restjson/package.json index af5fb757b2c8..61d94b387ca1 100644 --- a/private/aws-protocoltests-restjson/package.json +++ b/private/aws-protocoltests-restjson/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/private/aws-protocoltests-restjson/tsconfig.cjs.json b/private/aws-protocoltests-restjson/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/private/aws-protocoltests-restjson/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/private/aws-protocoltests-restjson/tsconfig.es.json b/private/aws-protocoltests-restjson/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/private/aws-protocoltests-restjson/tsconfig.es.json +++ b/private/aws-protocoltests-restjson/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-restjson/tsconfig.json b/private/aws-protocoltests-restjson/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/private/aws-protocoltests-restjson/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/private/aws-protocoltests-restjson/tsconfig.types.json b/private/aws-protocoltests-restjson/tsconfig.types.json index b7018298d8ae..466328bade30 100644 --- a/private/aws-protocoltests-restjson/tsconfig.types.json +++ b/private/aws-protocoltests-restjson/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-restxml/package.json b/private/aws-protocoltests-restxml/package.json index e61f7b0d032f..1fa826f331a3 100644 --- a/private/aws-protocoltests-restxml/package.json +++ b/private/aws-protocoltests-restxml/package.json @@ -4,7 +4,7 @@ "version": "3.45.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "typedoc", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", diff --git a/private/aws-protocoltests-restxml/tsconfig.cjs.json b/private/aws-protocoltests-restxml/tsconfig.cjs.json new file mode 100644 index 000000000000..3ca6241bbd43 --- /dev/null +++ b/private/aws-protocoltests-restxml/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/private/aws-protocoltests-restxml/tsconfig.es.json b/private/aws-protocoltests-restxml/tsconfig.es.json index 4c72364cd1a0..fa8696997cb6 100644 --- a/private/aws-protocoltests-restxml/tsconfig.es.json +++ b/private/aws-protocoltests-restxml/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "extends": "../../tsconfig.es.json", + "include": ["src/"] } diff --git a/private/aws-protocoltests-restxml/tsconfig.json b/private/aws-protocoltests-restxml/tsconfig.json deleted file mode 100644 index 86628a99e080..000000000000 --- a/private/aws-protocoltests-restxml/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "exclude": ["test/**/*"] -} diff --git a/private/aws-protocoltests-restxml/tsconfig.types.json b/private/aws-protocoltests-restxml/tsconfig.types.json index b7018298d8ae..466328bade30 100644 --- a/private/aws-protocoltests-restxml/tsconfig.types.json +++ b/private/aws-protocoltests-restxml/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "extends": "../../tsconfig.types.json", + "include": ["src/"] } diff --git a/tsconfig.json b/tsconfig.json index 86c6787052c4..73a1f1be1af1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,16 +10,17 @@ "noFallthroughCasesInSwitch": true, "paths": { "@aws-sdk/*": ["packages/*/src"], - "@aws-sdk/client-*": ["clients/client-*/"], - "@aws-sdk/aws-*": ["private/aws-*/"], - "@aws-sdk/lib-*": ["lib/*"] + "@aws-sdk/client-*": ["clients/client-*/src"], + "@aws-sdk/aws-*": ["private/aws-*/src"], + "@aws-sdk/lib-*": ["lib/lib-*/src"] }, "preserveConstEnums": true, "removeComments": true, "resolveJsonModule": true, - "target": "es5" + "target": "es5", + "types": ["node"] }, - "include": ["packages/", "lib/"], + "include": ["packages/", "lib/", "clients/", "private/"], "exclude": ["node_modules/", "**/*.spec.ts"], "typedocOptions": { "readme": "README.md",