diff --git a/clients/client-accessanalyzer/package.json b/clients/client-accessanalyzer/package.json index d7f6733ca0e1..7e60bc889368 100644 --- a/clients/client-accessanalyzer/package.json +++ b/clients/client-accessanalyzer/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-accessanalyzer/tsconfig.json b/clients/client-accessanalyzer/tsconfig.cjs.json similarity index 58% rename from clients/client-accessanalyzer/tsconfig.json rename to clients/client-accessanalyzer/tsconfig.cjs.json index 4dd6413bb0d1..5c3b3307682f 100644 --- a/clients/client-accessanalyzer/tsconfig.json +++ b/clients/client-accessanalyzer/tsconfig.cjs.json @@ -1,19 +1,8 @@ { "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, + "baseUrl": ".", "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true + "outDir": "dist-cjs" }, "typedocOptions": { "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], @@ -29,5 +18,7 @@ "theme": "minimal", "plugin": ["@aws-sdk/client-documentation-generator"] }, - "exclude": ["test/**/*"] + "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..1a6863945e75 100644 --- a/clients/client-accessanalyzer/tsconfig.es.json +++ b/clients/client-accessanalyzer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-accessanalyzer/tsconfig.types.json b/clients/client-accessanalyzer/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-accessanalyzer/tsconfig.types.json +++ b/clients/client-accessanalyzer/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-account/package.json b/clients/client-account/package.json index a66bbf5484cf..32d848d15bf8 100644 --- a/clients/client-account/package.json +++ b/clients/client-account/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-alexa-for-business/tsconfig.json b/clients/client-account/tsconfig.cjs.json similarity index 58% rename from clients/client-alexa-for-business/tsconfig.json rename to clients/client-account/tsconfig.cjs.json index 4dd6413bb0d1..5c3b3307682f 100644 --- a/clients/client-alexa-for-business/tsconfig.json +++ b/clients/client-account/tsconfig.cjs.json @@ -1,19 +1,8 @@ { "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, + "baseUrl": ".", "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true + "outDir": "dist-cjs" }, "typedocOptions": { "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], @@ -29,5 +18,7 @@ "theme": "minimal", "plugin": ["@aws-sdk/client-documentation-generator"] }, - "exclude": ["test/**/*"] + "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..1a6863945e75 100644 --- a/clients/client-account/tsconfig.es.json +++ b/clients/client-account/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-account/tsconfig.json b/clients/client-account/tsconfig.json deleted file mode 100644 index 3d15a85b2981..000000000000 --- a/clients/client-account/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-account/tsconfig.types.json b/clients/client-account/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-account/tsconfig.types.json +++ b/clients/client-account/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-acm-pca/package.json b/clients/client-acm-pca/package.json index 6cb136eb49ae..17167b96fcda 100644 --- a/clients/client-acm-pca/package.json +++ b/clients/client-acm-pca/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-acm-pca/tsconfig.json b/clients/client-acm-pca/tsconfig.cjs.json similarity index 58% rename from clients/client-acm-pca/tsconfig.json rename to clients/client-acm-pca/tsconfig.cjs.json index 4dd6413bb0d1..5c3b3307682f 100644 --- a/clients/client-acm-pca/tsconfig.json +++ b/clients/client-acm-pca/tsconfig.cjs.json @@ -1,19 +1,8 @@ { "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, + "baseUrl": ".", "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true + "outDir": "dist-cjs" }, "typedocOptions": { "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], @@ -29,5 +18,7 @@ "theme": "minimal", "plugin": ["@aws-sdk/client-documentation-generator"] }, - "exclude": ["test/**/*"] + "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..1a6863945e75 100644 --- a/clients/client-acm-pca/tsconfig.es.json +++ b/clients/client-acm-pca/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-acm-pca/tsconfig.types.json b/clients/client-acm-pca/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-acm-pca/tsconfig.types.json +++ b/clients/client-acm-pca/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-acm/package.json b/clients/client-acm/package.json index ce2bf61fe525..b7f22abb8aad 100644 --- a/clients/client-acm/package.json +++ b/clients/client-acm/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-acm/tsconfig.json b/clients/client-acm/tsconfig.cjs.json similarity index 58% rename from clients/client-acm/tsconfig.json rename to clients/client-acm/tsconfig.cjs.json index 4dd6413bb0d1..5c3b3307682f 100644 --- a/clients/client-acm/tsconfig.json +++ b/clients/client-acm/tsconfig.cjs.json @@ -1,19 +1,8 @@ { "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, + "baseUrl": ".", "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true + "outDir": "dist-cjs" }, "typedocOptions": { "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], @@ -29,5 +18,7 @@ "theme": "minimal", "plugin": ["@aws-sdk/client-documentation-generator"] }, - "exclude": ["test/**/*"] + "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..1a6863945e75 100644 --- a/clients/client-acm/tsconfig.es.json +++ b/clients/client-acm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-acm/tsconfig.types.json b/clients/client-acm/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-acm/tsconfig.types.json +++ b/clients/client-acm/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-alexa-for-business/package.json b/clients/client-alexa-for-business/package.json index 5c3199bc6deb..e6ea0d4ba7c5 100644 --- a/clients/client-alexa-for-business/package.json +++ b/clients/client-alexa-for-business/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-alexa-for-business/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-alexa-for-business/tsconfig.types.json b/clients/client-alexa-for-business/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-alexa-for-business/tsconfig.types.json +++ b/clients/client-alexa-for-business/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-amp/package.json b/clients/client-amp/package.json index 76f741e85cff..adee6881a2d9 100644 --- a/clients/client-amp/package.json +++ b/clients/client-amp/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-amp/tsconfig.cjs.json b/clients/client-amp/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-amp/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-amp/tsconfig.es.json +++ b/clients/client-amp/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-amp/tsconfig.json b/clients/client-amp/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-amp/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-amp/tsconfig.types.json b/clients/client-amp/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-amp/tsconfig.types.json +++ b/clients/client-amp/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-amplify/package.json b/clients/client-amplify/package.json index 894783d8070c..5492a3a70b95 100644 --- a/clients/client-amplify/package.json +++ b/clients/client-amplify/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-amplify/tsconfig.cjs.json b/clients/client-amplify/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-amplify/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-amplify/tsconfig.es.json +++ b/clients/client-amplify/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-amplify/tsconfig.json b/clients/client-amplify/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-amplify/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-amplify/tsconfig.types.json b/clients/client-amplify/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-amplify/tsconfig.types.json +++ b/clients/client-amplify/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-amplifybackend/package.json b/clients/client-amplifybackend/package.json index b6aa4503dece..35fee8d29813 100644 --- a/clients/client-amplifybackend/package.json +++ b/clients/client-amplifybackend/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-amplifybackend/tsconfig.cjs.json b/clients/client-amplifybackend/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-amplifybackend/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-amplifybackend/tsconfig.es.json +++ b/clients/client-amplifybackend/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-amplifybackend/tsconfig.json b/clients/client-amplifybackend/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-amplifybackend/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-amplifybackend/tsconfig.types.json b/clients/client-amplifybackend/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-amplifybackend/tsconfig.types.json +++ b/clients/client-amplifybackend/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-api-gateway/package.json b/clients/client-api-gateway/package.json index 6bcf46600aff..f9e05b1a4ca9 100644 --- a/clients/client-api-gateway/package.json +++ b/clients/client-api-gateway/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-api-gateway/tsconfig.cjs.json b/clients/client-api-gateway/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-api-gateway/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-api-gateway/tsconfig.es.json +++ b/clients/client-api-gateway/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-api-gateway/tsconfig.json b/clients/client-api-gateway/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-api-gateway/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-api-gateway/tsconfig.types.json b/clients/client-api-gateway/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-api-gateway/tsconfig.types.json +++ b/clients/client-api-gateway/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-apigatewaymanagementapi/package.json b/clients/client-apigatewaymanagementapi/package.json index d0c3530ca3b9..78226b59cae2 100644 --- a/clients/client-apigatewaymanagementapi/package.json +++ b/clients/client-apigatewaymanagementapi/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-apigatewaymanagementapi/tsconfig.cjs.json b/clients/client-apigatewaymanagementapi/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-apigatewaymanagementapi/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-apigatewaymanagementapi/tsconfig.es.json +++ b/clients/client-apigatewaymanagementapi/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-apigatewaymanagementapi/tsconfig.json b/clients/client-apigatewaymanagementapi/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-apigatewaymanagementapi/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-apigatewaymanagementapi/tsconfig.types.json b/clients/client-apigatewaymanagementapi/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-apigatewaymanagementapi/tsconfig.types.json +++ b/clients/client-apigatewaymanagementapi/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-apigatewayv2/package.json b/clients/client-apigatewayv2/package.json index 1b3b323bfc0d..91796b5ca0d1 100644 --- a/clients/client-apigatewayv2/package.json +++ b/clients/client-apigatewayv2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-apigatewayv2/tsconfig.cjs.json b/clients/client-apigatewayv2/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-apigatewayv2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-apigatewayv2/tsconfig.es.json +++ b/clients/client-apigatewayv2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-apigatewayv2/tsconfig.json b/clients/client-apigatewayv2/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-apigatewayv2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-apigatewayv2/tsconfig.types.json b/clients/client-apigatewayv2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-apigatewayv2/tsconfig.types.json +++ b/clients/client-apigatewayv2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-app-mesh/package.json b/clients/client-app-mesh/package.json index 68e96d4d51b7..de2a51cf908c 100644 --- a/clients/client-app-mesh/package.json +++ b/clients/client-app-mesh/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-app-mesh/tsconfig.cjs.json b/clients/client-app-mesh/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-app-mesh/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-app-mesh/tsconfig.es.json +++ b/clients/client-app-mesh/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-app-mesh/tsconfig.json b/clients/client-app-mesh/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-app-mesh/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-app-mesh/tsconfig.types.json b/clients/client-app-mesh/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-app-mesh/tsconfig.types.json +++ b/clients/client-app-mesh/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-appconfig/package.json b/clients/client-appconfig/package.json index f574e1deebb0..8cedcc7f36de 100644 --- a/clients/client-appconfig/package.json +++ b/clients/client-appconfig/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-appconfig/tsconfig.cjs.json b/clients/client-appconfig/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-appconfig/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-appconfig/tsconfig.es.json +++ b/clients/client-appconfig/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-appconfig/tsconfig.json b/clients/client-appconfig/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-appconfig/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appconfig/tsconfig.types.json b/clients/client-appconfig/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-appconfig/tsconfig.types.json +++ b/clients/client-appconfig/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index bb8f8e279fba..eb206be6caf2 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-appflow/tsconfig.cjs.json b/clients/client-appflow/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-appflow/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-appflow/tsconfig.es.json +++ b/clients/client-appflow/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-appflow/tsconfig.json b/clients/client-appflow/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-appflow/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appflow/tsconfig.types.json b/clients/client-appflow/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-appflow/tsconfig.types.json +++ b/clients/client-appflow/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-appintegrations/package.json b/clients/client-appintegrations/package.json index d6db43035534..fc12e8354f8e 100644 --- a/clients/client-appintegrations/package.json +++ b/clients/client-appintegrations/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-appintegrations/tsconfig.cjs.json b/clients/client-appintegrations/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-appintegrations/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-appintegrations/tsconfig.es.json +++ b/clients/client-appintegrations/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-appintegrations/tsconfig.json b/clients/client-appintegrations/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-appintegrations/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appintegrations/tsconfig.types.json b/clients/client-appintegrations/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-appintegrations/tsconfig.types.json +++ b/clients/client-appintegrations/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-application-auto-scaling/package.json b/clients/client-application-auto-scaling/package.json index 9f3a72006456..a41324be9f14 100644 --- a/clients/client-application-auto-scaling/package.json +++ b/clients/client-application-auto-scaling/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-application-auto-scaling/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-application-auto-scaling/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-application-auto-scaling/tsconfig.types.json b/clients/client-application-auto-scaling/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-application-auto-scaling/tsconfig.types.json +++ b/clients/client-application-auto-scaling/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-application-discovery-service/package.json b/clients/client-application-discovery-service/package.json index 20f2fdc41207..2ead99ed556e 100644 --- a/clients/client-application-discovery-service/package.json +++ b/clients/client-application-discovery-service/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-application-discovery-service/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-application-discovery-service/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-application-discovery-service/tsconfig.types.json b/clients/client-application-discovery-service/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-application-discovery-service/tsconfig.types.json +++ b/clients/client-application-discovery-service/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-application-insights/package.json b/clients/client-application-insights/package.json index 127fac3090ea..342f8d51d17a 100644 --- a/clients/client-application-insights/package.json +++ b/clients/client-application-insights/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-application-insights/tsconfig.cjs.json b/clients/client-application-insights/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-application-insights/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-application-insights/tsconfig.es.json +++ b/clients/client-application-insights/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-application-insights/tsconfig.json b/clients/client-application-insights/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-application-insights/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-application-insights/tsconfig.types.json b/clients/client-application-insights/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-application-insights/tsconfig.types.json +++ b/clients/client-application-insights/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-applicationcostprofiler/package.json b/clients/client-applicationcostprofiler/package.json index 8755916876c4..1ecf9c6fbfef 100644 --- a/clients/client-applicationcostprofiler/package.json +++ b/clients/client-applicationcostprofiler/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-applicationcostprofiler/tsconfig.cjs.json b/clients/client-applicationcostprofiler/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-applicationcostprofiler/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-applicationcostprofiler/tsconfig.es.json +++ b/clients/client-applicationcostprofiler/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-applicationcostprofiler/tsconfig.json b/clients/client-applicationcostprofiler/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-applicationcostprofiler/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-applicationcostprofiler/tsconfig.types.json b/clients/client-applicationcostprofiler/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-applicationcostprofiler/tsconfig.types.json +++ b/clients/client-applicationcostprofiler/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-apprunner/package.json b/clients/client-apprunner/package.json index 295d1268e110..f11de518c672 100644 --- a/clients/client-apprunner/package.json +++ b/clients/client-apprunner/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-apprunner/tsconfig.cjs.json b/clients/client-apprunner/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-apprunner/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-apprunner/tsconfig.es.json +++ b/clients/client-apprunner/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-apprunner/tsconfig.json b/clients/client-apprunner/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-apprunner/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-apprunner/tsconfig.types.json b/clients/client-apprunner/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-apprunner/tsconfig.types.json +++ b/clients/client-apprunner/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-appstream/package.json b/clients/client-appstream/package.json index e35e50cbc493..e348459afd9e 100644 --- a/clients/client-appstream/package.json +++ b/clients/client-appstream/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-appstream/tsconfig.cjs.json b/clients/client-appstream/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-appstream/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-appstream/tsconfig.es.json +++ b/clients/client-appstream/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-appstream/tsconfig.json b/clients/client-appstream/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-appstream/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appstream/tsconfig.types.json b/clients/client-appstream/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-appstream/tsconfig.types.json +++ b/clients/client-appstream/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-appsync/package.json b/clients/client-appsync/package.json index cbd0655bbe01..9b8d82d6fe8f 100644 --- a/clients/client-appsync/package.json +++ b/clients/client-appsync/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-appsync/tsconfig.cjs.json b/clients/client-appsync/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-appsync/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-appsync/tsconfig.es.json +++ b/clients/client-appsync/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-appsync/tsconfig.json b/clients/client-appsync/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-appsync/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-appsync/tsconfig.types.json b/clients/client-appsync/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-appsync/tsconfig.types.json +++ b/clients/client-appsync/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-athena/package.json b/clients/client-athena/package.json index 48fcd394f5de..f8d71f04b8cb 100644 --- a/clients/client-athena/package.json +++ b/clients/client-athena/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-athena/tsconfig.cjs.json b/clients/client-athena/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-athena/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-athena/tsconfig.es.json +++ b/clients/client-athena/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-athena/tsconfig.json b/clients/client-athena/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-athena/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-athena/tsconfig.types.json b/clients/client-athena/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-athena/tsconfig.types.json +++ b/clients/client-athena/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-auditmanager/package.json b/clients/client-auditmanager/package.json index e5a1f3f2d7bb..a543fadfb0ab 100644 --- a/clients/client-auditmanager/package.json +++ b/clients/client-auditmanager/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-auditmanager/tsconfig.cjs.json b/clients/client-auditmanager/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-auditmanager/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-auditmanager/tsconfig.es.json +++ b/clients/client-auditmanager/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-auditmanager/tsconfig.json b/clients/client-auditmanager/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-auditmanager/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-auditmanager/tsconfig.types.json b/clients/client-auditmanager/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-auditmanager/tsconfig.types.json +++ b/clients/client-auditmanager/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-auto-scaling-plans/package.json b/clients/client-auto-scaling-plans/package.json index 05b8e67b1c8a..4f87e2492d83 100644 --- a/clients/client-auto-scaling-plans/package.json +++ b/clients/client-auto-scaling-plans/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-auto-scaling-plans/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-auto-scaling-plans/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-auto-scaling-plans/tsconfig.types.json b/clients/client-auto-scaling-plans/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-auto-scaling-plans/tsconfig.types.json +++ b/clients/client-auto-scaling-plans/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-auto-scaling/package.json b/clients/client-auto-scaling/package.json index 8e69f3368bd4..e1fef6e05850 100644 --- a/clients/client-auto-scaling/package.json +++ b/clients/client-auto-scaling/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-auto-scaling/tsconfig.cjs.json b/clients/client-auto-scaling/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-auto-scaling/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-auto-scaling/tsconfig.es.json +++ b/clients/client-auto-scaling/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-auto-scaling/tsconfig.json b/clients/client-auto-scaling/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-auto-scaling/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-auto-scaling/tsconfig.types.json b/clients/client-auto-scaling/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-auto-scaling/tsconfig.types.json +++ b/clients/client-auto-scaling/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-backup/package.json b/clients/client-backup/package.json index 680162693845..04bec3a3bc1a 100644 --- a/clients/client-backup/package.json +++ b/clients/client-backup/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-backup/tsconfig.cjs.json b/clients/client-backup/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-backup/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-backup/tsconfig.es.json +++ b/clients/client-backup/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-backup/tsconfig.json b/clients/client-backup/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-backup/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-backup/tsconfig.types.json b/clients/client-backup/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-backup/tsconfig.types.json +++ b/clients/client-backup/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-batch/package.json b/clients/client-batch/package.json index 0374821d1e95..bc8d2970e35b 100644 --- a/clients/client-batch/package.json +++ b/clients/client-batch/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-batch/tsconfig.cjs.json b/clients/client-batch/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-batch/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-batch/tsconfig.es.json +++ b/clients/client-batch/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-batch/tsconfig.json b/clients/client-batch/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-batch/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-batch/tsconfig.types.json b/clients/client-batch/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-batch/tsconfig.types.json +++ b/clients/client-batch/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-braket/package.json b/clients/client-braket/package.json index 17a3b4a97128..16832413049c 100644 --- a/clients/client-braket/package.json +++ b/clients/client-braket/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-braket/tsconfig.cjs.json b/clients/client-braket/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-braket/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-braket/tsconfig.es.json +++ b/clients/client-braket/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-braket/tsconfig.json b/clients/client-braket/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-braket/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-braket/tsconfig.types.json b/clients/client-braket/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-braket/tsconfig.types.json +++ b/clients/client-braket/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-budgets/package.json b/clients/client-budgets/package.json index 53f9d41a3290..d4871e0e0c3c 100644 --- a/clients/client-budgets/package.json +++ b/clients/client-budgets/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-budgets/tsconfig.cjs.json b/clients/client-budgets/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-budgets/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-budgets/tsconfig.es.json +++ b/clients/client-budgets/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-budgets/tsconfig.json b/clients/client-budgets/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-budgets/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-budgets/tsconfig.types.json b/clients/client-budgets/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-budgets/tsconfig.types.json +++ b/clients/client-budgets/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-chime-sdk-identity/package.json b/clients/client-chime-sdk-identity/package.json index fe256826db45..a8bbc61ab8e0 100644 --- a/clients/client-chime-sdk-identity/package.json +++ b/clients/client-chime-sdk-identity/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-chime-sdk-identity/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-chime-sdk-identity/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-chime-sdk-identity/tsconfig.types.json b/clients/client-chime-sdk-identity/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-chime-sdk-identity/tsconfig.types.json +++ b/clients/client-chime-sdk-identity/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-chime-sdk-messaging/package.json b/clients/client-chime-sdk-messaging/package.json index 5e8f9b6a3708..c2c772178d29 100644 --- a/clients/client-chime-sdk-messaging/package.json +++ b/clients/client-chime-sdk-messaging/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-chime-sdk-messaging/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-chime-sdk-messaging/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-chime-sdk-messaging/tsconfig.types.json b/clients/client-chime-sdk-messaging/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-chime-sdk-messaging/tsconfig.types.json +++ b/clients/client-chime-sdk-messaging/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-chime/package.json b/clients/client-chime/package.json index 81095b6c1dd2..6f20b5ed90b5 100644 --- a/clients/client-chime/package.json +++ b/clients/client-chime/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-chime/tsconfig.cjs.json b/clients/client-chime/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-chime/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-chime/tsconfig.es.json +++ b/clients/client-chime/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-chime/tsconfig.json b/clients/client-chime/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-chime/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-chime/tsconfig.types.json b/clients/client-chime/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-chime/tsconfig.types.json +++ b/clients/client-chime/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloud9/package.json b/clients/client-cloud9/package.json index df46fe52e8de..e16dd8cddb1f 100644 --- a/clients/client-cloud9/package.json +++ b/clients/client-cloud9/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloud9/tsconfig.cjs.json b/clients/client-cloud9/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloud9/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloud9/tsconfig.es.json +++ b/clients/client-cloud9/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloud9/tsconfig.json b/clients/client-cloud9/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloud9/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloud9/tsconfig.types.json b/clients/client-cloud9/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloud9/tsconfig.types.json +++ b/clients/client-cloud9/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudcontrol/package.json b/clients/client-cloudcontrol/package.json index 36d50ef9b5e9..9844c2de5767 100644 --- a/clients/client-cloudcontrol/package.json +++ b/clients/client-cloudcontrol/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudcontrol/tsconfig.cjs.json b/clients/client-cloudcontrol/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudcontrol/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudcontrol/tsconfig.es.json +++ b/clients/client-cloudcontrol/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudcontrol/tsconfig.json b/clients/client-cloudcontrol/tsconfig.json deleted file mode 100644 index 3d15a85b2981..000000000000 --- a/clients/client-cloudcontrol/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudcontrol/tsconfig.types.json b/clients/client-cloudcontrol/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudcontrol/tsconfig.types.json +++ b/clients/client-cloudcontrol/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-clouddirectory/package.json b/clients/client-clouddirectory/package.json index caa5c6acbf0e..86db44d66b72 100644 --- a/clients/client-clouddirectory/package.json +++ b/clients/client-clouddirectory/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-clouddirectory/tsconfig.cjs.json b/clients/client-clouddirectory/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-clouddirectory/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-clouddirectory/tsconfig.es.json +++ b/clients/client-clouddirectory/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-clouddirectory/tsconfig.json b/clients/client-clouddirectory/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-clouddirectory/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-clouddirectory/tsconfig.types.json b/clients/client-clouddirectory/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-clouddirectory/tsconfig.types.json +++ b/clients/client-clouddirectory/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudformation/package.json b/clients/client-cloudformation/package.json index 8c87a148049f..23c57079552f 100644 --- a/clients/client-cloudformation/package.json +++ b/clients/client-cloudformation/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -60,9 +60,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudformation/tsconfig.cjs.json b/clients/client-cloudformation/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudformation/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudformation/tsconfig.es.json +++ b/clients/client-cloudformation/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudformation/tsconfig.json b/clients/client-cloudformation/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloudformation/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudformation/tsconfig.types.json b/clients/client-cloudformation/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudformation/tsconfig.types.json +++ b/clients/client-cloudformation/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudfront/package.json b/clients/client-cloudfront/package.json index 8869db5d4938..9cec69bc4ae6 100644 --- a/clients/client-cloudfront/package.json +++ b/clients/client-cloudfront/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -59,9 +59,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudfront/tsconfig.cjs.json b/clients/client-cloudfront/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudfront/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudfront/tsconfig.es.json +++ b/clients/client-cloudfront/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudfront/tsconfig.json b/clients/client-cloudfront/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloudfront/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudfront/tsconfig.types.json b/clients/client-cloudfront/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudfront/tsconfig.types.json +++ b/clients/client-cloudfront/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudhsm-v2/package.json b/clients/client-cloudhsm-v2/package.json index aaf2b3a1d6b4..036df135e9b8 100644 --- a/clients/client-cloudhsm-v2/package.json +++ b/clients/client-cloudhsm-v2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudhsm-v2/tsconfig.cjs.json b/clients/client-cloudhsm-v2/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudhsm-v2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudhsm-v2/tsconfig.es.json +++ b/clients/client-cloudhsm-v2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudhsm-v2/tsconfig.json b/clients/client-cloudhsm-v2/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloudhsm-v2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudhsm-v2/tsconfig.types.json b/clients/client-cloudhsm-v2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudhsm-v2/tsconfig.types.json +++ b/clients/client-cloudhsm-v2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudhsm/package.json b/clients/client-cloudhsm/package.json index 230c9bc6d3d4..e451dc2b26d6 100644 --- a/clients/client-cloudhsm/package.json +++ b/clients/client-cloudhsm/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudhsm/tsconfig.cjs.json b/clients/client-cloudhsm/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudhsm/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudhsm/tsconfig.es.json +++ b/clients/client-cloudhsm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudhsm/tsconfig.json b/clients/client-cloudhsm/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloudhsm/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudhsm/tsconfig.types.json b/clients/client-cloudhsm/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudhsm/tsconfig.types.json +++ b/clients/client-cloudhsm/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudsearch-domain/package.json b/clients/client-cloudsearch-domain/package.json index a899558dc47e..6bd357d3256f 100644 --- a/clients/client-cloudsearch-domain/package.json +++ b/clients/client-cloudsearch-domain/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudsearch-domain/tsconfig.cjs.json b/clients/client-cloudsearch-domain/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudsearch-domain/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudsearch-domain/tsconfig.es.json +++ b/clients/client-cloudsearch-domain/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudsearch-domain/tsconfig.json b/clients/client-cloudsearch-domain/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloudsearch-domain/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudsearch-domain/tsconfig.types.json b/clients/client-cloudsearch-domain/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudsearch-domain/tsconfig.types.json +++ b/clients/client-cloudsearch-domain/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudsearch/package.json b/clients/client-cloudsearch/package.json index 49e9022fcb19..a71e348f33df 100644 --- a/clients/client-cloudsearch/package.json +++ b/clients/client-cloudsearch/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudsearch/tsconfig.cjs.json b/clients/client-cloudsearch/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudsearch/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudsearch/tsconfig.es.json +++ b/clients/client-cloudsearch/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudsearch/tsconfig.json b/clients/client-cloudsearch/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloudsearch/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudsearch/tsconfig.types.json b/clients/client-cloudsearch/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudsearch/tsconfig.types.json +++ b/clients/client-cloudsearch/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudtrail/package.json b/clients/client-cloudtrail/package.json index 6fbe04e16da3..0961e2ecbc0a 100644 --- a/clients/client-cloudtrail/package.json +++ b/clients/client-cloudtrail/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudtrail/tsconfig.cjs.json b/clients/client-cloudtrail/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudtrail/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudtrail/tsconfig.es.json +++ b/clients/client-cloudtrail/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudtrail/tsconfig.json b/clients/client-cloudtrail/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloudtrail/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudtrail/tsconfig.types.json b/clients/client-cloudtrail/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudtrail/tsconfig.types.json +++ b/clients/client-cloudtrail/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudwatch-events/package.json b/clients/client-cloudwatch-events/package.json index 51d78fa69278..069a64ed059e 100644 --- a/clients/client-cloudwatch-events/package.json +++ b/clients/client-cloudwatch-events/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudwatch-events/tsconfig.cjs.json b/clients/client-cloudwatch-events/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudwatch-events/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudwatch-events/tsconfig.es.json +++ b/clients/client-cloudwatch-events/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudwatch-events/tsconfig.json b/clients/client-cloudwatch-events/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloudwatch-events/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudwatch-events/tsconfig.types.json b/clients/client-cloudwatch-events/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudwatch-events/tsconfig.types.json +++ b/clients/client-cloudwatch-events/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudwatch-logs/package.json b/clients/client-cloudwatch-logs/package.json index 7e9351649021..fd9f1d614c98 100644 --- a/clients/client-cloudwatch-logs/package.json +++ b/clients/client-cloudwatch-logs/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudwatch-logs/tsconfig.cjs.json b/clients/client-cloudwatch-logs/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudwatch-logs/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudwatch-logs/tsconfig.es.json +++ b/clients/client-cloudwatch-logs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudwatch-logs/tsconfig.json b/clients/client-cloudwatch-logs/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloudwatch-logs/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudwatch-logs/tsconfig.types.json b/clients/client-cloudwatch-logs/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudwatch-logs/tsconfig.types.json +++ b/clients/client-cloudwatch-logs/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cloudwatch/package.json b/clients/client-cloudwatch/package.json index 52ad952dc6c6..9d371b4c4df6 100644 --- a/clients/client-cloudwatch/package.json +++ b/clients/client-cloudwatch/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cloudwatch/tsconfig.cjs.json b/clients/client-cloudwatch/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cloudwatch/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cloudwatch/tsconfig.es.json +++ b/clients/client-cloudwatch/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cloudwatch/tsconfig.json b/clients/client-cloudwatch/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cloudwatch/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cloudwatch/tsconfig.types.json b/clients/client-cloudwatch/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cloudwatch/tsconfig.types.json +++ b/clients/client-cloudwatch/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-codeartifact/package.json b/clients/client-codeartifact/package.json index a68f83b71fdf..78050c5bec89 100644 --- a/clients/client-codeartifact/package.json +++ b/clients/client-codeartifact/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-codeartifact/tsconfig.cjs.json b/clients/client-codeartifact/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-codeartifact/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-codeartifact/tsconfig.es.json +++ b/clients/client-codeartifact/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-codeartifact/tsconfig.json b/clients/client-codeartifact/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-codeartifact/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codeartifact/tsconfig.types.json b/clients/client-codeartifact/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-codeartifact/tsconfig.types.json +++ b/clients/client-codeartifact/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-codebuild/package.json b/clients/client-codebuild/package.json index 4ebf39fde36e..4d30c1c6428c 100644 --- a/clients/client-codebuild/package.json +++ b/clients/client-codebuild/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-codebuild/tsconfig.cjs.json b/clients/client-codebuild/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-codebuild/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-codebuild/tsconfig.es.json +++ b/clients/client-codebuild/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-codebuild/tsconfig.json b/clients/client-codebuild/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-codebuild/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codebuild/tsconfig.types.json b/clients/client-codebuild/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-codebuild/tsconfig.types.json +++ b/clients/client-codebuild/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-codecommit/package.json b/clients/client-codecommit/package.json index b3e266a63493..e52d4be77b36 100644 --- a/clients/client-codecommit/package.json +++ b/clients/client-codecommit/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-codecommit/tsconfig.cjs.json b/clients/client-codecommit/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-codecommit/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-codecommit/tsconfig.es.json +++ b/clients/client-codecommit/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-codecommit/tsconfig.json b/clients/client-codecommit/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-codecommit/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codecommit/tsconfig.types.json b/clients/client-codecommit/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-codecommit/tsconfig.types.json +++ b/clients/client-codecommit/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-codedeploy/package.json b/clients/client-codedeploy/package.json index 0eecf098a46d..6b14cb4b4817 100644 --- a/clients/client-codedeploy/package.json +++ b/clients/client-codedeploy/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-codedeploy/tsconfig.cjs.json b/clients/client-codedeploy/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-codedeploy/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-codedeploy/tsconfig.es.json +++ b/clients/client-codedeploy/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-codedeploy/tsconfig.json b/clients/client-codedeploy/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-codedeploy/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codedeploy/tsconfig.types.json b/clients/client-codedeploy/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-codedeploy/tsconfig.types.json +++ b/clients/client-codedeploy/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-codeguru-reviewer/package.json b/clients/client-codeguru-reviewer/package.json index 71db120cdb37..b05e70e97bc2 100644 --- a/clients/client-codeguru-reviewer/package.json +++ b/clients/client-codeguru-reviewer/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-codeguru-reviewer/tsconfig.cjs.json b/clients/client-codeguru-reviewer/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-codeguru-reviewer/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-codeguru-reviewer/tsconfig.es.json +++ b/clients/client-codeguru-reviewer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-codeguru-reviewer/tsconfig.json b/clients/client-codeguru-reviewer/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-codeguru-reviewer/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codeguru-reviewer/tsconfig.types.json b/clients/client-codeguru-reviewer/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-codeguru-reviewer/tsconfig.types.json +++ b/clients/client-codeguru-reviewer/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-codeguruprofiler/package.json b/clients/client-codeguruprofiler/package.json index 044def43ae9b..a1199c732dc0 100644 --- a/clients/client-codeguruprofiler/package.json +++ b/clients/client-codeguruprofiler/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-codeguruprofiler/tsconfig.cjs.json b/clients/client-codeguruprofiler/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-codeguruprofiler/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-codeguruprofiler/tsconfig.es.json +++ b/clients/client-codeguruprofiler/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-codeguruprofiler/tsconfig.json b/clients/client-codeguruprofiler/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-codeguruprofiler/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codeguruprofiler/tsconfig.types.json b/clients/client-codeguruprofiler/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-codeguruprofiler/tsconfig.types.json +++ b/clients/client-codeguruprofiler/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-codepipeline/package.json b/clients/client-codepipeline/package.json index 4b05edb0c96e..74c1f156b4ea 100644 --- a/clients/client-codepipeline/package.json +++ b/clients/client-codepipeline/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-codepipeline/tsconfig.cjs.json b/clients/client-codepipeline/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-codepipeline/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-codepipeline/tsconfig.es.json +++ b/clients/client-codepipeline/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-codepipeline/tsconfig.json b/clients/client-codepipeline/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-codepipeline/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codepipeline/tsconfig.types.json b/clients/client-codepipeline/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-codepipeline/tsconfig.types.json +++ b/clients/client-codepipeline/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-codestar-connections/package.json b/clients/client-codestar-connections/package.json index 0c871c93920a..9edf66663546 100644 --- a/clients/client-codestar-connections/package.json +++ b/clients/client-codestar-connections/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-codestar-connections/tsconfig.cjs.json b/clients/client-codestar-connections/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-codestar-connections/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-codestar-connections/tsconfig.es.json +++ b/clients/client-codestar-connections/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-codestar-connections/tsconfig.json b/clients/client-codestar-connections/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-codestar-connections/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codestar-connections/tsconfig.types.json b/clients/client-codestar-connections/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-codestar-connections/tsconfig.types.json +++ b/clients/client-codestar-connections/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-codestar-notifications/package.json b/clients/client-codestar-notifications/package.json index 1588823aed58..13286221791e 100644 --- a/clients/client-codestar-notifications/package.json +++ b/clients/client-codestar-notifications/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-codestar-notifications/tsconfig.cjs.json b/clients/client-codestar-notifications/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-codestar-notifications/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-codestar-notifications/tsconfig.es.json +++ b/clients/client-codestar-notifications/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-codestar-notifications/tsconfig.json b/clients/client-codestar-notifications/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-codestar-notifications/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codestar-notifications/tsconfig.types.json b/clients/client-codestar-notifications/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-codestar-notifications/tsconfig.types.json +++ b/clients/client-codestar-notifications/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-codestar/package.json b/clients/client-codestar/package.json index 3636cd24af1c..5269fc614caa 100644 --- a/clients/client-codestar/package.json +++ b/clients/client-codestar/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-codestar/tsconfig.cjs.json b/clients/client-codestar/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-codestar/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-codestar/tsconfig.es.json +++ b/clients/client-codestar/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-codestar/tsconfig.json b/clients/client-codestar/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-codestar/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-codestar/tsconfig.types.json b/clients/client-codestar/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-codestar/tsconfig.types.json +++ b/clients/client-codestar/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cognito-identity-provider/package.json b/clients/client-cognito-identity-provider/package.json index 23f92dc56cbb..20bb6fc6c80e 100644 --- a/clients/client-cognito-identity-provider/package.json +++ b/clients/client-cognito-identity-provider/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-cognito-identity-provider/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-cognito-identity-provider/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cognito-identity-provider/tsconfig.types.json b/clients/client-cognito-identity-provider/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cognito-identity-provider/tsconfig.types.json +++ b/clients/client-cognito-identity-provider/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cognito-identity/package.json b/clients/client-cognito-identity/package.json index dcb6262a5d84..8a44ac84d1e4 100644 --- a/clients/client-cognito-identity/package.json +++ b/clients/client-cognito-identity/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -59,9 +59,9 @@ "@types/mocha": "^8.0.4", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cognito-identity/tsconfig.json b/clients/client-cognito-identity/tsconfig.cjs.json similarity index 62% rename from clients/client-cognito-identity/tsconfig.json rename to clients/client-cognito-identity/tsconfig.cjs.json index cbb7e0dec925..60d107e943f2 100644 --- a/clients/client-cognito-identity/tsconfig.json +++ b/clients/client-cognito-identity/tsconfig.cjs.json @@ -1,19 +1,8 @@ { "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, + "baseUrl": ".", "rootDir": "src", "outDir": "dist-cjs", - "removeComments": true, "types": ["mocha", "node"] }, "typedocOptions": { @@ -30,5 +19,7 @@ "theme": "minimal", "plugin": ["@aws-sdk/client-documentation-generator"] }, - "exclude": ["test/**/*"] + "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..ac004116eb33 100644 --- a/clients/client-cognito-identity/tsconfig.es.json +++ b/clients/client-cognito-identity/tsconfig.es.json @@ -1,10 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "types": ["mocha", "node"] + }, + "include": ["src/"] } diff --git a/clients/client-cognito-identity/tsconfig.types.json b/clients/client-cognito-identity/tsconfig.types.json index b7018298d8ae..0e52672aa1bc 100644 --- a/clients/client-cognito-identity/tsconfig.types.json +++ b/clients/client-cognito-identity/tsconfig.types.json @@ -1,9 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types" + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types", + "types": ["mocha", "node"] }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cognito-sync/package.json b/clients/client-cognito-sync/package.json index 8e9b52be7724..3c7d28ea98dd 100644 --- a/clients/client-cognito-sync/package.json +++ b/clients/client-cognito-sync/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cognito-sync/tsconfig.cjs.json b/clients/client-cognito-sync/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cognito-sync/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cognito-sync/tsconfig.es.json +++ b/clients/client-cognito-sync/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cognito-sync/tsconfig.json b/clients/client-cognito-sync/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cognito-sync/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cognito-sync/tsconfig.types.json b/clients/client-cognito-sync/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cognito-sync/tsconfig.types.json +++ b/clients/client-cognito-sync/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-comprehend/package.json b/clients/client-comprehend/package.json index eac0b032043d..c337b141194e 100644 --- a/clients/client-comprehend/package.json +++ b/clients/client-comprehend/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-comprehend/tsconfig.cjs.json b/clients/client-comprehend/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-comprehend/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-comprehend/tsconfig.es.json +++ b/clients/client-comprehend/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-comprehend/tsconfig.json b/clients/client-comprehend/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-comprehend/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-comprehend/tsconfig.types.json b/clients/client-comprehend/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-comprehend/tsconfig.types.json +++ b/clients/client-comprehend/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-comprehendmedical/package.json b/clients/client-comprehendmedical/package.json index bb85eef544c2..0ee75e512b03 100644 --- a/clients/client-comprehendmedical/package.json +++ b/clients/client-comprehendmedical/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-comprehendmedical/tsconfig.cjs.json b/clients/client-comprehendmedical/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-comprehendmedical/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-comprehendmedical/tsconfig.es.json +++ b/clients/client-comprehendmedical/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-comprehendmedical/tsconfig.json b/clients/client-comprehendmedical/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-comprehendmedical/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-comprehendmedical/tsconfig.types.json b/clients/client-comprehendmedical/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-comprehendmedical/tsconfig.types.json +++ b/clients/client-comprehendmedical/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-compute-optimizer/package.json b/clients/client-compute-optimizer/package.json index e3ddb8684018..f771382a643c 100644 --- a/clients/client-compute-optimizer/package.json +++ b/clients/client-compute-optimizer/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-compute-optimizer/tsconfig.cjs.json b/clients/client-compute-optimizer/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-compute-optimizer/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-compute-optimizer/tsconfig.es.json +++ b/clients/client-compute-optimizer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-compute-optimizer/tsconfig.json b/clients/client-compute-optimizer/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-compute-optimizer/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-compute-optimizer/tsconfig.types.json b/clients/client-compute-optimizer/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-compute-optimizer/tsconfig.types.json +++ b/clients/client-compute-optimizer/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-config-service/package.json b/clients/client-config-service/package.json index 467526f51596..f16d56458de8 100644 --- a/clients/client-config-service/package.json +++ b/clients/client-config-service/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-config-service/tsconfig.cjs.json b/clients/client-config-service/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-config-service/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-config-service/tsconfig.es.json +++ b/clients/client-config-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-config-service/tsconfig.json b/clients/client-config-service/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-config-service/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-config-service/tsconfig.types.json b/clients/client-config-service/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-config-service/tsconfig.types.json +++ b/clients/client-config-service/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-connect-contact-lens/package.json b/clients/client-connect-contact-lens/package.json index 907078f4c0e3..727b128a255a 100644 --- a/clients/client-connect-contact-lens/package.json +++ b/clients/client-connect-contact-lens/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-connect-contact-lens/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-connect-contact-lens/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-connect-contact-lens/tsconfig.types.json b/clients/client-connect-contact-lens/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-connect-contact-lens/tsconfig.types.json +++ b/clients/client-connect-contact-lens/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-connect/package.json b/clients/client-connect/package.json index 867d11e33876..f5f11211d337 100644 --- a/clients/client-connect/package.json +++ b/clients/client-connect/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-connect/tsconfig.cjs.json b/clients/client-connect/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-connect/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-connect/tsconfig.es.json +++ b/clients/client-connect/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-connect/tsconfig.json b/clients/client-connect/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-connect/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-connect/tsconfig.types.json b/clients/client-connect/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-connect/tsconfig.types.json +++ b/clients/client-connect/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-connectparticipant/package.json b/clients/client-connectparticipant/package.json index 05a4f9a337eb..7c5e979e9a16 100644 --- a/clients/client-connectparticipant/package.json +++ b/clients/client-connectparticipant/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-connectparticipant/tsconfig.cjs.json b/clients/client-connectparticipant/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-connectparticipant/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-connectparticipant/tsconfig.es.json +++ b/clients/client-connectparticipant/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-connectparticipant/tsconfig.json b/clients/client-connectparticipant/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-connectparticipant/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-connectparticipant/tsconfig.types.json b/clients/client-connectparticipant/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-connectparticipant/tsconfig.types.json +++ b/clients/client-connectparticipant/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "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 a58d38eab933..e2657fd7a4d0 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.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-cost-and-usage-report-service/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-cost-and-usage-report-service/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "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 b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cost-and-usage-report-service/tsconfig.types.json +++ b/clients/client-cost-and-usage-report-service/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-cost-explorer/package.json b/clients/client-cost-explorer/package.json index 0f00b0ed10ed..4fc0cdc0359d 100644 --- a/clients/client-cost-explorer/package.json +++ b/clients/client-cost-explorer/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-cost-explorer/tsconfig.cjs.json b/clients/client-cost-explorer/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-cost-explorer/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-cost-explorer/tsconfig.es.json +++ b/clients/client-cost-explorer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-cost-explorer/tsconfig.json b/clients/client-cost-explorer/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-cost-explorer/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-cost-explorer/tsconfig.types.json b/clients/client-cost-explorer/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-cost-explorer/tsconfig.types.json +++ b/clients/client-cost-explorer/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-customer-profiles/package.json b/clients/client-customer-profiles/package.json index 9d67613d1cc5..84aec02b7561 100644 --- a/clients/client-customer-profiles/package.json +++ b/clients/client-customer-profiles/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-customer-profiles/tsconfig.cjs.json b/clients/client-customer-profiles/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-customer-profiles/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-customer-profiles/tsconfig.es.json +++ b/clients/client-customer-profiles/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-customer-profiles/tsconfig.json b/clients/client-customer-profiles/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-customer-profiles/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-customer-profiles/tsconfig.types.json b/clients/client-customer-profiles/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-customer-profiles/tsconfig.types.json +++ b/clients/client-customer-profiles/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-data-pipeline/package.json b/clients/client-data-pipeline/package.json index 927e8e65e57f..0afb795d5755 100644 --- a/clients/client-data-pipeline/package.json +++ b/clients/client-data-pipeline/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-data-pipeline/tsconfig.cjs.json b/clients/client-data-pipeline/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-data-pipeline/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-data-pipeline/tsconfig.es.json +++ b/clients/client-data-pipeline/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-data-pipeline/tsconfig.json b/clients/client-data-pipeline/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-data-pipeline/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-data-pipeline/tsconfig.types.json b/clients/client-data-pipeline/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-data-pipeline/tsconfig.types.json +++ b/clients/client-data-pipeline/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-database-migration-service/package.json b/clients/client-database-migration-service/package.json index 4a10ca29eac7..739f08b7fc12 100644 --- a/clients/client-database-migration-service/package.json +++ b/clients/client-database-migration-service/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-database-migration-service/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-database-migration-service/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-database-migration-service/tsconfig.types.json b/clients/client-database-migration-service/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-database-migration-service/tsconfig.types.json +++ b/clients/client-database-migration-service/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-databrew/package.json b/clients/client-databrew/package.json index 42224e5c59af..7da075b77468 100644 --- a/clients/client-databrew/package.json +++ b/clients/client-databrew/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-databrew/tsconfig.cjs.json b/clients/client-databrew/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-databrew/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-databrew/tsconfig.es.json +++ b/clients/client-databrew/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-databrew/tsconfig.json b/clients/client-databrew/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-databrew/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-databrew/tsconfig.types.json b/clients/client-databrew/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-databrew/tsconfig.types.json +++ b/clients/client-databrew/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-dataexchange/package.json b/clients/client-dataexchange/package.json index de5f9dc24910..71c1da8e499a 100644 --- a/clients/client-dataexchange/package.json +++ b/clients/client-dataexchange/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-dataexchange/tsconfig.cjs.json b/clients/client-dataexchange/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-dataexchange/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-dataexchange/tsconfig.es.json +++ b/clients/client-dataexchange/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-dataexchange/tsconfig.json b/clients/client-dataexchange/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-dataexchange/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-dataexchange/tsconfig.types.json b/clients/client-dataexchange/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-dataexchange/tsconfig.types.json +++ b/clients/client-dataexchange/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-datasync/package.json b/clients/client-datasync/package.json index 0b34c6a68a8c..59e7ae3d6993 100644 --- a/clients/client-datasync/package.json +++ b/clients/client-datasync/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-datasync/tsconfig.cjs.json b/clients/client-datasync/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-datasync/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-datasync/tsconfig.es.json +++ b/clients/client-datasync/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-datasync/tsconfig.json b/clients/client-datasync/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-datasync/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-datasync/tsconfig.types.json b/clients/client-datasync/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-datasync/tsconfig.types.json +++ b/clients/client-datasync/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-dax/package.json b/clients/client-dax/package.json index 781f7dbb625e..4fa5eee5126a 100644 --- a/clients/client-dax/package.json +++ b/clients/client-dax/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-dax/tsconfig.cjs.json b/clients/client-dax/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-dax/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-dax/tsconfig.es.json +++ b/clients/client-dax/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-dax/tsconfig.json b/clients/client-dax/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-dax/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-dax/tsconfig.types.json b/clients/client-dax/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-dax/tsconfig.types.json +++ b/clients/client-dax/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-detective/package.json b/clients/client-detective/package.json index 9967acb9e33a..c49ec97cc00e 100644 --- a/clients/client-detective/package.json +++ b/clients/client-detective/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-detective/tsconfig.cjs.json b/clients/client-detective/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-detective/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-detective/tsconfig.es.json +++ b/clients/client-detective/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-detective/tsconfig.json b/clients/client-detective/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-detective/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-detective/tsconfig.types.json b/clients/client-detective/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-detective/tsconfig.types.json +++ b/clients/client-detective/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-device-farm/package.json b/clients/client-device-farm/package.json index 4da37bfe1f79..f016f2021823 100644 --- a/clients/client-device-farm/package.json +++ b/clients/client-device-farm/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-device-farm/tsconfig.cjs.json b/clients/client-device-farm/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-device-farm/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-device-farm/tsconfig.es.json +++ b/clients/client-device-farm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-device-farm/tsconfig.json b/clients/client-device-farm/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-device-farm/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-device-farm/tsconfig.types.json b/clients/client-device-farm/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-device-farm/tsconfig.types.json +++ b/clients/client-device-farm/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-devops-guru/package.json b/clients/client-devops-guru/package.json index 15062e8eaada..03d8681a545c 100644 --- a/clients/client-devops-guru/package.json +++ b/clients/client-devops-guru/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-devops-guru/tsconfig.cjs.json b/clients/client-devops-guru/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-devops-guru/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-devops-guru/tsconfig.es.json +++ b/clients/client-devops-guru/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-devops-guru/tsconfig.json b/clients/client-devops-guru/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-devops-guru/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-devops-guru/tsconfig.types.json b/clients/client-devops-guru/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-devops-guru/tsconfig.types.json +++ b/clients/client-devops-guru/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-direct-connect/package.json b/clients/client-direct-connect/package.json index 0e633e91e271..93a1ad298017 100644 --- a/clients/client-direct-connect/package.json +++ b/clients/client-direct-connect/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-direct-connect/tsconfig.cjs.json b/clients/client-direct-connect/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-direct-connect/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-direct-connect/tsconfig.es.json +++ b/clients/client-direct-connect/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-direct-connect/tsconfig.json b/clients/client-direct-connect/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-direct-connect/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-direct-connect/tsconfig.types.json b/clients/client-direct-connect/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-direct-connect/tsconfig.types.json +++ b/clients/client-direct-connect/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-directory-service/package.json b/clients/client-directory-service/package.json index 0f305c811f47..a5122cdeb0c7 100644 --- a/clients/client-directory-service/package.json +++ b/clients/client-directory-service/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-directory-service/tsconfig.cjs.json b/clients/client-directory-service/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-directory-service/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-directory-service/tsconfig.es.json +++ b/clients/client-directory-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-directory-service/tsconfig.json b/clients/client-directory-service/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-directory-service/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-directory-service/tsconfig.types.json b/clients/client-directory-service/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-directory-service/tsconfig.types.json +++ b/clients/client-directory-service/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-dlm/package.json b/clients/client-dlm/package.json index ed5e923acb28..846a33d8103e 100644 --- a/clients/client-dlm/package.json +++ b/clients/client-dlm/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-dlm/tsconfig.cjs.json b/clients/client-dlm/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-dlm/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-dlm/tsconfig.es.json +++ b/clients/client-dlm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-dlm/tsconfig.json b/clients/client-dlm/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-dlm/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-dlm/tsconfig.types.json b/clients/client-dlm/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-dlm/tsconfig.types.json +++ b/clients/client-dlm/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-docdb/package.json b/clients/client-docdb/package.json index da6e8cf4e9e7..c77d51c65fa8 100644 --- a/clients/client-docdb/package.json +++ b/clients/client-docdb/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -59,9 +59,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-docdb/tsconfig.cjs.json b/clients/client-docdb/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-docdb/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-docdb/tsconfig.es.json +++ b/clients/client-docdb/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-docdb/tsconfig.json b/clients/client-docdb/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-docdb/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-docdb/tsconfig.types.json b/clients/client-docdb/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-docdb/tsconfig.types.json +++ b/clients/client-docdb/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-dynamodb-streams/package.json b/clients/client-dynamodb-streams/package.json index cc84f1295714..cb3dc6335362 100644 --- a/clients/client-dynamodb-streams/package.json +++ b/clients/client-dynamodb-streams/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-dynamodb-streams/tsconfig.cjs.json b/clients/client-dynamodb-streams/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-dynamodb-streams/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-dynamodb-streams/tsconfig.es.json +++ b/clients/client-dynamodb-streams/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-dynamodb-streams/tsconfig.json b/clients/client-dynamodb-streams/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-dynamodb-streams/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-dynamodb-streams/tsconfig.types.json b/clients/client-dynamodb-streams/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-dynamodb-streams/tsconfig.types.json +++ b/clients/client-dynamodb-streams/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-dynamodb/package.json b/clients/client-dynamodb/package.json index 3f9491ffe7bc..e7068ad0e80f 100644 --- a/clients/client-dynamodb/package.json +++ b/clients/client-dynamodb/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -59,9 +59,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-dynamodb/tsconfig.cjs.json b/clients/client-dynamodb/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-dynamodb/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-dynamodb/tsconfig.es.json +++ b/clients/client-dynamodb/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-dynamodb/tsconfig.json b/clients/client-dynamodb/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-dynamodb/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-dynamodb/tsconfig.types.json b/clients/client-dynamodb/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-dynamodb/tsconfig.types.json +++ b/clients/client-dynamodb/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ebs/package.json b/clients/client-ebs/package.json index eb5170e0e6b5..48f09a059d39 100644 --- a/clients/client-ebs/package.json +++ b/clients/client-ebs/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ebs/tsconfig.cjs.json b/clients/client-ebs/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ebs/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ebs/tsconfig.es.json +++ b/clients/client-ebs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ebs/tsconfig.json b/clients/client-ebs/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ebs/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ebs/tsconfig.types.json b/clients/client-ebs/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ebs/tsconfig.types.json +++ b/clients/client-ebs/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ec2-instance-connect/package.json b/clients/client-ec2-instance-connect/package.json index b6478f93e0e6..ae7fecf9a1ed 100644 --- a/clients/client-ec2-instance-connect/package.json +++ b/clients/client-ec2-instance-connect/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-ec2-instance-connect/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-ec2-instance-connect/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ec2-instance-connect/tsconfig.types.json b/clients/client-ec2-instance-connect/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ec2-instance-connect/tsconfig.types.json +++ b/clients/client-ec2-instance-connect/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ec2/package.json b/clients/client-ec2/package.json index 4bff942ff653..6ebd6abde630 100644 --- a/clients/client-ec2/package.json +++ b/clients/client-ec2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -61,9 +61,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ec2/tsconfig.cjs.json b/clients/client-ec2/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ec2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ec2/tsconfig.es.json +++ b/clients/client-ec2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ec2/tsconfig.json b/clients/client-ec2/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ec2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ec2/tsconfig.types.json b/clients/client-ec2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ec2/tsconfig.types.json +++ b/clients/client-ec2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ecr-public/package.json b/clients/client-ecr-public/package.json index 45a86d995161..13739f994b30 100644 --- a/clients/client-ecr-public/package.json +++ b/clients/client-ecr-public/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ecr-public/tsconfig.cjs.json b/clients/client-ecr-public/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ecr-public/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ecr-public/tsconfig.es.json +++ b/clients/client-ecr-public/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ecr-public/tsconfig.json b/clients/client-ecr-public/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ecr-public/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ecr-public/tsconfig.types.json b/clients/client-ecr-public/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ecr-public/tsconfig.types.json +++ b/clients/client-ecr-public/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ecr/package.json b/clients/client-ecr/package.json index 4c5cc93fe3c2..d5a307368faa 100644 --- a/clients/client-ecr/package.json +++ b/clients/client-ecr/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ecr/tsconfig.cjs.json b/clients/client-ecr/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ecr/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ecr/tsconfig.es.json +++ b/clients/client-ecr/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ecr/tsconfig.json b/clients/client-ecr/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ecr/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ecr/tsconfig.types.json b/clients/client-ecr/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ecr/tsconfig.types.json +++ b/clients/client-ecr/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ecs/package.json b/clients/client-ecs/package.json index 86344c8c7908..ade7b3f772b4 100644 --- a/clients/client-ecs/package.json +++ b/clients/client-ecs/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ecs/tsconfig.cjs.json b/clients/client-ecs/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ecs/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ecs/tsconfig.es.json +++ b/clients/client-ecs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ecs/tsconfig.json b/clients/client-ecs/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ecs/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ecs/tsconfig.types.json b/clients/client-ecs/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ecs/tsconfig.types.json +++ b/clients/client-ecs/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-efs/package.json b/clients/client-efs/package.json index 54994f518b8d..607cf9545b1c 100644 --- a/clients/client-efs/package.json +++ b/clients/client-efs/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-efs/tsconfig.cjs.json b/clients/client-efs/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-efs/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-efs/tsconfig.es.json +++ b/clients/client-efs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-efs/tsconfig.json b/clients/client-efs/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-efs/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-efs/tsconfig.types.json b/clients/client-efs/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-efs/tsconfig.types.json +++ b/clients/client-efs/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-eks/package.json b/clients/client-eks/package.json index 791e859b3232..626fdb393722 100644 --- a/clients/client-eks/package.json +++ b/clients/client-eks/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-eks/tsconfig.cjs.json b/clients/client-eks/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-eks/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-eks/tsconfig.es.json +++ b/clients/client-eks/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-eks/tsconfig.json b/clients/client-eks/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-eks/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-eks/tsconfig.types.json b/clients/client-eks/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-eks/tsconfig.types.json +++ b/clients/client-eks/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-elastic-beanstalk/package.json b/clients/client-elastic-beanstalk/package.json index 37ce7ba9ee99..ab42a9c4cfab 100644 --- a/clients/client-elastic-beanstalk/package.json +++ b/clients/client-elastic-beanstalk/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-elastic-beanstalk/tsconfig.cjs.json b/clients/client-elastic-beanstalk/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-elastic-beanstalk/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-elastic-beanstalk/tsconfig.es.json +++ b/clients/client-elastic-beanstalk/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-elastic-beanstalk/tsconfig.json b/clients/client-elastic-beanstalk/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-elastic-beanstalk/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elastic-beanstalk/tsconfig.types.json b/clients/client-elastic-beanstalk/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-elastic-beanstalk/tsconfig.types.json +++ b/clients/client-elastic-beanstalk/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-elastic-inference/package.json b/clients/client-elastic-inference/package.json index 7fc80be4dd65..e885124ad341 100644 --- a/clients/client-elastic-inference/package.json +++ b/clients/client-elastic-inference/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-elastic-inference/tsconfig.cjs.json b/clients/client-elastic-inference/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-elastic-inference/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-elastic-inference/tsconfig.es.json +++ b/clients/client-elastic-inference/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-elastic-inference/tsconfig.json b/clients/client-elastic-inference/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-elastic-inference/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elastic-inference/tsconfig.types.json b/clients/client-elastic-inference/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-elastic-inference/tsconfig.types.json +++ b/clients/client-elastic-inference/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-elastic-load-balancing-v2/package.json b/clients/client-elastic-load-balancing-v2/package.json index d3a08f356942..04f29e70417b 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.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-elastic-load-balancing-v2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-elastic-load-balancing-v2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "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 b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-elastic-load-balancing-v2/tsconfig.types.json +++ b/clients/client-elastic-load-balancing-v2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-elastic-load-balancing/package.json b/clients/client-elastic-load-balancing/package.json index d7d8bbb88a61..87b9f1bf188a 100644 --- a/clients/client-elastic-load-balancing/package.json +++ b/clients/client-elastic-load-balancing/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-elastic-load-balancing/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-elastic-load-balancing/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elastic-load-balancing/tsconfig.types.json b/clients/client-elastic-load-balancing/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-elastic-load-balancing/tsconfig.types.json +++ b/clients/client-elastic-load-balancing/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-elastic-transcoder/package.json b/clients/client-elastic-transcoder/package.json index d0105890257b..242561f3375b 100644 --- a/clients/client-elastic-transcoder/package.json +++ b/clients/client-elastic-transcoder/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-elastic-transcoder/tsconfig.cjs.json b/clients/client-elastic-transcoder/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-elastic-transcoder/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-elastic-transcoder/tsconfig.es.json +++ b/clients/client-elastic-transcoder/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-elastic-transcoder/tsconfig.json b/clients/client-elastic-transcoder/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-elastic-transcoder/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elastic-transcoder/tsconfig.types.json b/clients/client-elastic-transcoder/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-elastic-transcoder/tsconfig.types.json +++ b/clients/client-elastic-transcoder/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-elasticache/package.json b/clients/client-elasticache/package.json index b43903f3fa23..ff60fe1be428 100644 --- a/clients/client-elasticache/package.json +++ b/clients/client-elasticache/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-elasticache/tsconfig.cjs.json b/clients/client-elasticache/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-elasticache/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-elasticache/tsconfig.es.json +++ b/clients/client-elasticache/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-elasticache/tsconfig.json b/clients/client-elasticache/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-elasticache/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elasticache/tsconfig.types.json b/clients/client-elasticache/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-elasticache/tsconfig.types.json +++ b/clients/client-elasticache/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-elasticsearch-service/package.json b/clients/client-elasticsearch-service/package.json index 2fd0072ceb85..8b9b47910aea 100644 --- a/clients/client-elasticsearch-service/package.json +++ b/clients/client-elasticsearch-service/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-elasticsearch-service/tsconfig.cjs.json b/clients/client-elasticsearch-service/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-elasticsearch-service/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-elasticsearch-service/tsconfig.es.json +++ b/clients/client-elasticsearch-service/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-elasticsearch-service/tsconfig.json b/clients/client-elasticsearch-service/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-elasticsearch-service/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-elasticsearch-service/tsconfig.types.json b/clients/client-elasticsearch-service/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-elasticsearch-service/tsconfig.types.json +++ b/clients/client-elasticsearch-service/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-emr-containers/package.json b/clients/client-emr-containers/package.json index f9e9866d8f14..cb4cbfc9addf 100644 --- a/clients/client-emr-containers/package.json +++ b/clients/client-emr-containers/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-emr-containers/tsconfig.cjs.json b/clients/client-emr-containers/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-emr-containers/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-emr-containers/tsconfig.es.json +++ b/clients/client-emr-containers/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-emr-containers/tsconfig.json b/clients/client-emr-containers/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-emr-containers/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-emr-containers/tsconfig.types.json b/clients/client-emr-containers/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-emr-containers/tsconfig.types.json +++ b/clients/client-emr-containers/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-emr/package.json b/clients/client-emr/package.json index 87d8d4930ff7..3aa1e048ec09 100644 --- a/clients/client-emr/package.json +++ b/clients/client-emr/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-emr/tsconfig.cjs.json b/clients/client-emr/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-emr/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-emr/tsconfig.es.json +++ b/clients/client-emr/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-emr/tsconfig.json b/clients/client-emr/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-emr/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-emr/tsconfig.types.json b/clients/client-emr/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-emr/tsconfig.types.json +++ b/clients/client-emr/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-eventbridge/package.json b/clients/client-eventbridge/package.json index 4f84178efad4..ce4be2f0d76f 100644 --- a/clients/client-eventbridge/package.json +++ b/clients/client-eventbridge/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-eventbridge/tsconfig.cjs.json b/clients/client-eventbridge/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-eventbridge/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-eventbridge/tsconfig.es.json +++ b/clients/client-eventbridge/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-eventbridge/tsconfig.json b/clients/client-eventbridge/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-eventbridge/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-eventbridge/tsconfig.types.json b/clients/client-eventbridge/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-eventbridge/tsconfig.types.json +++ b/clients/client-eventbridge/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-finspace-data/package.json b/clients/client-finspace-data/package.json index 7e9ea98ede61..e7c3446200ad 100644 --- a/clients/client-finspace-data/package.json +++ b/clients/client-finspace-data/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-finspace-data/tsconfig.cjs.json b/clients/client-finspace-data/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-finspace-data/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-finspace-data/tsconfig.es.json +++ b/clients/client-finspace-data/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-finspace-data/tsconfig.json b/clients/client-finspace-data/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-finspace-data/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-finspace-data/tsconfig.types.json b/clients/client-finspace-data/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-finspace-data/tsconfig.types.json +++ b/clients/client-finspace-data/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-finspace/package.json b/clients/client-finspace/package.json index 9f72f9fe876b..2e850476f476 100644 --- a/clients/client-finspace/package.json +++ b/clients/client-finspace/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-finspace/tsconfig.cjs.json b/clients/client-finspace/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-finspace/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-finspace/tsconfig.es.json +++ b/clients/client-finspace/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-finspace/tsconfig.json b/clients/client-finspace/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-finspace/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-finspace/tsconfig.types.json b/clients/client-finspace/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-finspace/tsconfig.types.json +++ b/clients/client-finspace/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-firehose/package.json b/clients/client-firehose/package.json index ee7dd41dbce0..0f021099d846 100644 --- a/clients/client-firehose/package.json +++ b/clients/client-firehose/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-firehose/tsconfig.cjs.json b/clients/client-firehose/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-firehose/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-firehose/tsconfig.es.json +++ b/clients/client-firehose/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-firehose/tsconfig.json b/clients/client-firehose/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-firehose/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-firehose/tsconfig.types.json b/clients/client-firehose/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-firehose/tsconfig.types.json +++ b/clients/client-firehose/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-fis/package.json b/clients/client-fis/package.json index 2553a56937ca..20499b911341 100644 --- a/clients/client-fis/package.json +++ b/clients/client-fis/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-fis/tsconfig.cjs.json b/clients/client-fis/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-fis/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-fis/tsconfig.es.json +++ b/clients/client-fis/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-fis/tsconfig.json b/clients/client-fis/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-fis/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-fis/tsconfig.types.json b/clients/client-fis/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-fis/tsconfig.types.json +++ b/clients/client-fis/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-fms/package.json b/clients/client-fms/package.json index 21c9ecf9ba57..540bb2601f81 100644 --- a/clients/client-fms/package.json +++ b/clients/client-fms/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-fms/tsconfig.cjs.json b/clients/client-fms/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-fms/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-fms/tsconfig.es.json +++ b/clients/client-fms/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-fms/tsconfig.json b/clients/client-fms/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-fms/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-fms/tsconfig.types.json b/clients/client-fms/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-fms/tsconfig.types.json +++ b/clients/client-fms/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-forecast/package.json b/clients/client-forecast/package.json index 57d54db24628..07d1b8de3898 100644 --- a/clients/client-forecast/package.json +++ b/clients/client-forecast/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-forecast/tsconfig.cjs.json b/clients/client-forecast/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-forecast/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-forecast/tsconfig.es.json +++ b/clients/client-forecast/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-forecast/tsconfig.json b/clients/client-forecast/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-forecast/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-forecast/tsconfig.types.json b/clients/client-forecast/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-forecast/tsconfig.types.json +++ b/clients/client-forecast/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-forecastquery/package.json b/clients/client-forecastquery/package.json index 93c83855538c..a1abbf7637d1 100644 --- a/clients/client-forecastquery/package.json +++ b/clients/client-forecastquery/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-forecastquery/tsconfig.cjs.json b/clients/client-forecastquery/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-forecastquery/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-forecastquery/tsconfig.es.json +++ b/clients/client-forecastquery/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-forecastquery/tsconfig.json b/clients/client-forecastquery/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-forecastquery/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-forecastquery/tsconfig.types.json b/clients/client-forecastquery/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-forecastquery/tsconfig.types.json +++ b/clients/client-forecastquery/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-frauddetector/package.json b/clients/client-frauddetector/package.json index df51c8e7df0a..e801f7d4f4cd 100644 --- a/clients/client-frauddetector/package.json +++ b/clients/client-frauddetector/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-frauddetector/tsconfig.cjs.json b/clients/client-frauddetector/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-frauddetector/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-frauddetector/tsconfig.es.json +++ b/clients/client-frauddetector/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-frauddetector/tsconfig.json b/clients/client-frauddetector/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-frauddetector/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-frauddetector/tsconfig.types.json b/clients/client-frauddetector/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-frauddetector/tsconfig.types.json +++ b/clients/client-frauddetector/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-fsx/package.json b/clients/client-fsx/package.json index 2dc5add7ba7a..b1f0eaf64122 100644 --- a/clients/client-fsx/package.json +++ b/clients/client-fsx/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-fsx/tsconfig.cjs.json b/clients/client-fsx/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-fsx/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-fsx/tsconfig.es.json +++ b/clients/client-fsx/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-fsx/tsconfig.json b/clients/client-fsx/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-fsx/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-fsx/tsconfig.types.json b/clients/client-fsx/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-fsx/tsconfig.types.json +++ b/clients/client-fsx/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-gamelift/package.json b/clients/client-gamelift/package.json index 76f874a4a12f..839dfdf416cb 100644 --- a/clients/client-gamelift/package.json +++ b/clients/client-gamelift/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-gamelift/tsconfig.cjs.json b/clients/client-gamelift/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-gamelift/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-gamelift/tsconfig.es.json +++ b/clients/client-gamelift/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-gamelift/tsconfig.json b/clients/client-gamelift/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-gamelift/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-gamelift/tsconfig.types.json b/clients/client-gamelift/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-gamelift/tsconfig.types.json +++ b/clients/client-gamelift/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-glacier/package.json b/clients/client-glacier/package.json index c3bfd678d0f1..1338afd3fb50 100644 --- a/clients/client-glacier/package.json +++ b/clients/client-glacier/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -59,9 +59,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-glacier/tsconfig.cjs.json b/clients/client-glacier/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-glacier/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-glacier/tsconfig.es.json +++ b/clients/client-glacier/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-glacier/tsconfig.json b/clients/client-glacier/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-glacier/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-glacier/tsconfig.types.json b/clients/client-glacier/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-glacier/tsconfig.types.json +++ b/clients/client-glacier/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-global-accelerator/package.json b/clients/client-global-accelerator/package.json index c9c49e296a2c..7b70f2829624 100644 --- a/clients/client-global-accelerator/package.json +++ b/clients/client-global-accelerator/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-global-accelerator/tsconfig.cjs.json b/clients/client-global-accelerator/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-global-accelerator/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-global-accelerator/tsconfig.es.json +++ b/clients/client-global-accelerator/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-global-accelerator/tsconfig.json b/clients/client-global-accelerator/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-global-accelerator/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-global-accelerator/tsconfig.types.json b/clients/client-global-accelerator/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-global-accelerator/tsconfig.types.json +++ b/clients/client-global-accelerator/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-glue/package.json b/clients/client-glue/package.json index b7bd30c3b0e3..dd116de596aa 100644 --- a/clients/client-glue/package.json +++ b/clients/client-glue/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-glue/tsconfig.cjs.json b/clients/client-glue/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-glue/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-glue/tsconfig.es.json +++ b/clients/client-glue/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-glue/tsconfig.json b/clients/client-glue/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-glue/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-glue/tsconfig.types.json b/clients/client-glue/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-glue/tsconfig.types.json +++ b/clients/client-glue/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-greengrass/package.json b/clients/client-greengrass/package.json index 8cc58a8e8d4a..2c1e58b6a6dc 100644 --- a/clients/client-greengrass/package.json +++ b/clients/client-greengrass/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-greengrass/tsconfig.cjs.json b/clients/client-greengrass/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-greengrass/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-greengrass/tsconfig.es.json +++ b/clients/client-greengrass/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-greengrass/tsconfig.json b/clients/client-greengrass/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-greengrass/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-greengrass/tsconfig.types.json b/clients/client-greengrass/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-greengrass/tsconfig.types.json +++ b/clients/client-greengrass/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-greengrassv2/package.json b/clients/client-greengrassv2/package.json index 253213e05388..882286a679eb 100644 --- a/clients/client-greengrassv2/package.json +++ b/clients/client-greengrassv2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-greengrassv2/tsconfig.cjs.json b/clients/client-greengrassv2/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-greengrassv2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-greengrassv2/tsconfig.es.json +++ b/clients/client-greengrassv2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-greengrassv2/tsconfig.json b/clients/client-greengrassv2/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-greengrassv2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-greengrassv2/tsconfig.types.json b/clients/client-greengrassv2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-greengrassv2/tsconfig.types.json +++ b/clients/client-greengrassv2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-groundstation/package.json b/clients/client-groundstation/package.json index e795a48f34bb..3b5384c598ab 100644 --- a/clients/client-groundstation/package.json +++ b/clients/client-groundstation/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-groundstation/tsconfig.cjs.json b/clients/client-groundstation/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-groundstation/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-groundstation/tsconfig.es.json +++ b/clients/client-groundstation/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-groundstation/tsconfig.json b/clients/client-groundstation/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-groundstation/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-groundstation/tsconfig.types.json b/clients/client-groundstation/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-groundstation/tsconfig.types.json +++ b/clients/client-groundstation/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-guardduty/package.json b/clients/client-guardduty/package.json index 6d0cb8ba158c..b85591355f20 100644 --- a/clients/client-guardduty/package.json +++ b/clients/client-guardduty/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-guardduty/tsconfig.cjs.json b/clients/client-guardduty/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-guardduty/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-guardduty/tsconfig.es.json +++ b/clients/client-guardduty/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-guardduty/tsconfig.json b/clients/client-guardduty/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-guardduty/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-guardduty/tsconfig.types.json b/clients/client-guardduty/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-guardduty/tsconfig.types.json +++ b/clients/client-guardduty/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-health/package.json b/clients/client-health/package.json index d304b3fa934d..972dc6f5325f 100644 --- a/clients/client-health/package.json +++ b/clients/client-health/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-health/tsconfig.cjs.json b/clients/client-health/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-health/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-health/tsconfig.es.json +++ b/clients/client-health/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-health/tsconfig.json b/clients/client-health/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-health/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-health/tsconfig.types.json b/clients/client-health/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-health/tsconfig.types.json +++ b/clients/client-health/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-healthlake/package.json b/clients/client-healthlake/package.json index 74870954053e..398a94041db2 100644 --- a/clients/client-healthlake/package.json +++ b/clients/client-healthlake/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-healthlake/tsconfig.cjs.json b/clients/client-healthlake/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-healthlake/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-healthlake/tsconfig.es.json +++ b/clients/client-healthlake/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-healthlake/tsconfig.json b/clients/client-healthlake/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-healthlake/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-healthlake/tsconfig.types.json b/clients/client-healthlake/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-healthlake/tsconfig.types.json +++ b/clients/client-healthlake/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-honeycode/package.json b/clients/client-honeycode/package.json index bcf01f6cc37a..3d90fbcc3e28 100644 --- a/clients/client-honeycode/package.json +++ b/clients/client-honeycode/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-honeycode/tsconfig.cjs.json b/clients/client-honeycode/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-honeycode/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-honeycode/tsconfig.es.json +++ b/clients/client-honeycode/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-honeycode/tsconfig.json b/clients/client-honeycode/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-honeycode/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-honeycode/tsconfig.types.json b/clients/client-honeycode/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-honeycode/tsconfig.types.json +++ b/clients/client-honeycode/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iam/package.json b/clients/client-iam/package.json index 11e1fbbb8eb8..bc4a31586781 100644 --- a/clients/client-iam/package.json +++ b/clients/client-iam/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-iam/tsconfig.cjs.json b/clients/client-iam/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-iam/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-iam/tsconfig.es.json +++ b/clients/client-iam/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-iam/tsconfig.json b/clients/client-iam/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-iam/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iam/tsconfig.types.json b/clients/client-iam/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iam/tsconfig.types.json +++ b/clients/client-iam/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-identitystore/package.json b/clients/client-identitystore/package.json index dbea13e1a905..3e473efd04f5 100644 --- a/clients/client-identitystore/package.json +++ b/clients/client-identitystore/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-identitystore/tsconfig.cjs.json b/clients/client-identitystore/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-identitystore/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-identitystore/tsconfig.es.json +++ b/clients/client-identitystore/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-identitystore/tsconfig.json b/clients/client-identitystore/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-identitystore/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-identitystore/tsconfig.types.json b/clients/client-identitystore/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-identitystore/tsconfig.types.json +++ b/clients/client-identitystore/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-imagebuilder/package.json b/clients/client-imagebuilder/package.json index f6fd1e50e910..28b834c05e90 100644 --- a/clients/client-imagebuilder/package.json +++ b/clients/client-imagebuilder/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-imagebuilder/tsconfig.cjs.json b/clients/client-imagebuilder/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-imagebuilder/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-imagebuilder/tsconfig.es.json +++ b/clients/client-imagebuilder/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-imagebuilder/tsconfig.json b/clients/client-imagebuilder/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-imagebuilder/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-imagebuilder/tsconfig.types.json b/clients/client-imagebuilder/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-imagebuilder/tsconfig.types.json +++ b/clients/client-imagebuilder/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-inspector/package.json b/clients/client-inspector/package.json index d05c664b3559..93dd7add32c2 100644 --- a/clients/client-inspector/package.json +++ b/clients/client-inspector/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-inspector/tsconfig.cjs.json b/clients/client-inspector/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-inspector/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-inspector/tsconfig.es.json +++ b/clients/client-inspector/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-inspector/tsconfig.json b/clients/client-inspector/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-inspector/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-inspector/tsconfig.types.json b/clients/client-inspector/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-inspector/tsconfig.types.json +++ b/clients/client-inspector/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iot-1click-devices-service/package.json b/clients/client-iot-1click-devices-service/package.json index 3ebc61d38825..935d99e7ef75 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.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-iot-1click-devices-service/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-iot-1click-devices-service/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "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 b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iot-1click-devices-service/tsconfig.types.json +++ b/clients/client-iot-1click-devices-service/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iot-1click-projects/package.json b/clients/client-iot-1click-projects/package.json index 633e8b7503fe..1358a8830fc7 100644 --- a/clients/client-iot-1click-projects/package.json +++ b/clients/client-iot-1click-projects/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-iot-1click-projects/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-iot-1click-projects/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-1click-projects/tsconfig.types.json b/clients/client-iot-1click-projects/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iot-1click-projects/tsconfig.types.json +++ b/clients/client-iot-1click-projects/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iot-data-plane/package.json b/clients/client-iot-data-plane/package.json index 49e7ebb5f7b4..9838fe6706d5 100644 --- a/clients/client-iot-data-plane/package.json +++ b/clients/client-iot-data-plane/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-iot-data-plane/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-iot-data-plane/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-data-plane/tsconfig.types.json b/clients/client-iot-data-plane/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iot-data-plane/tsconfig.types.json +++ b/clients/client-iot-data-plane/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iot-events-data/package.json b/clients/client-iot-events-data/package.json index be25ce583b3c..9b13756d454c 100644 --- a/clients/client-iot-events-data/package.json +++ b/clients/client-iot-events-data/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-iot-events-data/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-iot-events-data/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-events-data/tsconfig.types.json b/clients/client-iot-events-data/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iot-events-data/tsconfig.types.json +++ b/clients/client-iot-events-data/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iot-events/package.json b/clients/client-iot-events/package.json index f7b5b547e9ee..43ca77d26f85 100644 --- a/clients/client-iot-events/package.json +++ b/clients/client-iot-events/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-iot-events/tsconfig.cjs.json b/clients/client-iot-events/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-iot-events/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-iot-events/tsconfig.es.json +++ b/clients/client-iot-events/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-iot-events/tsconfig.json b/clients/client-iot-events/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-iot-events/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-events/tsconfig.types.json b/clients/client-iot-events/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iot-events/tsconfig.types.json +++ b/clients/client-iot-events/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iot-jobs-data-plane/package.json b/clients/client-iot-jobs-data-plane/package.json index a2367ffcd99b..60a1da4a6831 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.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-iot-jobs-data-plane/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-iot-jobs-data-plane/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "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 b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iot-jobs-data-plane/tsconfig.types.json +++ b/clients/client-iot-jobs-data-plane/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iot-wireless/package.json b/clients/client-iot-wireless/package.json index eacf9697229a..3be65834cc9d 100644 --- a/clients/client-iot-wireless/package.json +++ b/clients/client-iot-wireless/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-iot-wireless/tsconfig.cjs.json b/clients/client-iot-wireless/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-iot-wireless/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-iot-wireless/tsconfig.es.json +++ b/clients/client-iot-wireless/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-iot-wireless/tsconfig.json b/clients/client-iot-wireless/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-iot-wireless/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot-wireless/tsconfig.types.json b/clients/client-iot-wireless/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iot-wireless/tsconfig.types.json +++ b/clients/client-iot-wireless/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iot/package.json b/clients/client-iot/package.json index 7682c767b83c..dc118f42448e 100644 --- a/clients/client-iot/package.json +++ b/clients/client-iot/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-iot/tsconfig.cjs.json b/clients/client-iot/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-iot/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-iot/tsconfig.es.json +++ b/clients/client-iot/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-iot/tsconfig.json b/clients/client-iot/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-iot/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iot/tsconfig.types.json b/clients/client-iot/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iot/tsconfig.types.json +++ b/clients/client-iot/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iotanalytics/package.json b/clients/client-iotanalytics/package.json index 02919456c3fe..909a666a4d27 100644 --- a/clients/client-iotanalytics/package.json +++ b/clients/client-iotanalytics/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-iotanalytics/tsconfig.cjs.json b/clients/client-iotanalytics/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-iotanalytics/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-iotanalytics/tsconfig.es.json +++ b/clients/client-iotanalytics/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-iotanalytics/tsconfig.json b/clients/client-iotanalytics/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-iotanalytics/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotanalytics/tsconfig.types.json b/clients/client-iotanalytics/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iotanalytics/tsconfig.types.json +++ b/clients/client-iotanalytics/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iotdeviceadvisor/package.json b/clients/client-iotdeviceadvisor/package.json index a70c01fe83f8..be9e3d11050f 100644 --- a/clients/client-iotdeviceadvisor/package.json +++ b/clients/client-iotdeviceadvisor/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-iotdeviceadvisor/tsconfig.cjs.json b/clients/client-iotdeviceadvisor/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-iotdeviceadvisor/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-iotdeviceadvisor/tsconfig.es.json +++ b/clients/client-iotdeviceadvisor/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-iotdeviceadvisor/tsconfig.json b/clients/client-iotdeviceadvisor/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-iotdeviceadvisor/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotdeviceadvisor/tsconfig.types.json b/clients/client-iotdeviceadvisor/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iotdeviceadvisor/tsconfig.types.json +++ b/clients/client-iotdeviceadvisor/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iotfleethub/package.json b/clients/client-iotfleethub/package.json index d53aca28bfe8..82639d0185a5 100644 --- a/clients/client-iotfleethub/package.json +++ b/clients/client-iotfleethub/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-iotfleethub/tsconfig.cjs.json b/clients/client-iotfleethub/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-iotfleethub/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-iotfleethub/tsconfig.es.json +++ b/clients/client-iotfleethub/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-iotfleethub/tsconfig.json b/clients/client-iotfleethub/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-iotfleethub/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotfleethub/tsconfig.types.json b/clients/client-iotfleethub/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iotfleethub/tsconfig.types.json +++ b/clients/client-iotfleethub/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iotsecuretunneling/package.json b/clients/client-iotsecuretunneling/package.json index 8f37b555d9b0..8c7d453481f2 100644 --- a/clients/client-iotsecuretunneling/package.json +++ b/clients/client-iotsecuretunneling/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-iotsecuretunneling/tsconfig.cjs.json b/clients/client-iotsecuretunneling/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-iotsecuretunneling/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-iotsecuretunneling/tsconfig.es.json +++ b/clients/client-iotsecuretunneling/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-iotsecuretunneling/tsconfig.json b/clients/client-iotsecuretunneling/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-iotsecuretunneling/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotsecuretunneling/tsconfig.types.json b/clients/client-iotsecuretunneling/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iotsecuretunneling/tsconfig.types.json +++ b/clients/client-iotsecuretunneling/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iotsitewise/package.json b/clients/client-iotsitewise/package.json index 11beb6940c68..796a1a204b9a 100644 --- a/clients/client-iotsitewise/package.json +++ b/clients/client-iotsitewise/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-iotsitewise/tsconfig.cjs.json b/clients/client-iotsitewise/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-iotsitewise/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-iotsitewise/tsconfig.es.json +++ b/clients/client-iotsitewise/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-iotsitewise/tsconfig.json b/clients/client-iotsitewise/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-iotsitewise/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotsitewise/tsconfig.types.json b/clients/client-iotsitewise/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iotsitewise/tsconfig.types.json +++ b/clients/client-iotsitewise/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-iotthingsgraph/package.json b/clients/client-iotthingsgraph/package.json index 78e3750ab479..1a2fa08696a7 100644 --- a/clients/client-iotthingsgraph/package.json +++ b/clients/client-iotthingsgraph/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-iotthingsgraph/tsconfig.cjs.json b/clients/client-iotthingsgraph/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-iotthingsgraph/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-iotthingsgraph/tsconfig.es.json +++ b/clients/client-iotthingsgraph/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-iotthingsgraph/tsconfig.json b/clients/client-iotthingsgraph/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-iotthingsgraph/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-iotthingsgraph/tsconfig.types.json b/clients/client-iotthingsgraph/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-iotthingsgraph/tsconfig.types.json +++ b/clients/client-iotthingsgraph/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ivs/package.json b/clients/client-ivs/package.json index c722048dbdb2..18bdea5ca46d 100644 --- a/clients/client-ivs/package.json +++ b/clients/client-ivs/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ivs/tsconfig.cjs.json b/clients/client-ivs/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ivs/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ivs/tsconfig.es.json +++ b/clients/client-ivs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ivs/tsconfig.json b/clients/client-ivs/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ivs/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ivs/tsconfig.types.json b/clients/client-ivs/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ivs/tsconfig.types.json +++ b/clients/client-ivs/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kafka/package.json b/clients/client-kafka/package.json index 8123ea5f09ee..8bfceb95c6b2 100644 --- a/clients/client-kafka/package.json +++ b/clients/client-kafka/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-kafka/tsconfig.cjs.json b/clients/client-kafka/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-kafka/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-kafka/tsconfig.es.json +++ b/clients/client-kafka/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-kafka/tsconfig.json b/clients/client-kafka/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-kafka/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kafka/tsconfig.types.json b/clients/client-kafka/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kafka/tsconfig.types.json +++ b/clients/client-kafka/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kafkaconnect/package.json b/clients/client-kafkaconnect/package.json index 9eede095f32e..7cce4727add7 100644 --- a/clients/client-kafkaconnect/package.json +++ b/clients/client-kafkaconnect/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-kafkaconnect/tsconfig.cjs.json b/clients/client-kafkaconnect/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-kafkaconnect/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-kafkaconnect/tsconfig.es.json +++ b/clients/client-kafkaconnect/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-kafkaconnect/tsconfig.json b/clients/client-kafkaconnect/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-kafkaconnect/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kafkaconnect/tsconfig.types.json b/clients/client-kafkaconnect/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kafkaconnect/tsconfig.types.json +++ b/clients/client-kafkaconnect/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kendra/package.json b/clients/client-kendra/package.json index 3cc7e50015fd..ffeceb4e31d9 100644 --- a/clients/client-kendra/package.json +++ b/clients/client-kendra/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-kendra/tsconfig.cjs.json b/clients/client-kendra/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-kendra/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-kendra/tsconfig.es.json +++ b/clients/client-kendra/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-kendra/tsconfig.json b/clients/client-kendra/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-kendra/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kendra/tsconfig.types.json b/clients/client-kendra/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kendra/tsconfig.types.json +++ b/clients/client-kendra/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kinesis-analytics-v2/package.json b/clients/client-kinesis-analytics-v2/package.json index cf351a6e7036..9fb6f7dd502d 100644 --- a/clients/client-kinesis-analytics-v2/package.json +++ b/clients/client-kinesis-analytics-v2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-kinesis-analytics-v2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-kinesis-analytics-v2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-analytics-v2/tsconfig.types.json b/clients/client-kinesis-analytics-v2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kinesis-analytics-v2/tsconfig.types.json +++ b/clients/client-kinesis-analytics-v2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kinesis-analytics/package.json b/clients/client-kinesis-analytics/package.json index 97118d6ea4e2..4d7cd8053274 100644 --- a/clients/client-kinesis-analytics/package.json +++ b/clients/client-kinesis-analytics/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-kinesis-analytics/tsconfig.cjs.json b/clients/client-kinesis-analytics/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-kinesis-analytics/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-kinesis-analytics/tsconfig.es.json +++ b/clients/client-kinesis-analytics/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-kinesis-analytics/tsconfig.json b/clients/client-kinesis-analytics/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-kinesis-analytics/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-analytics/tsconfig.types.json b/clients/client-kinesis-analytics/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kinesis-analytics/tsconfig.types.json +++ b/clients/client-kinesis-analytics/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kinesis-video-archived-media/package.json b/clients/client-kinesis-video-archived-media/package.json index bd340ed55485..13b1169ed77e 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.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-kinesis-video-archived-media/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-kinesis-video-archived-media/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "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 b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kinesis-video-archived-media/tsconfig.types.json +++ b/clients/client-kinesis-video-archived-media/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kinesis-video-media/package.json b/clients/client-kinesis-video-media/package.json index a6999590999c..a0da9c0a3278 100644 --- a/clients/client-kinesis-video-media/package.json +++ b/clients/client-kinesis-video-media/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-kinesis-video-media/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-kinesis-video-media/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-video-media/tsconfig.types.json b/clients/client-kinesis-video-media/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kinesis-video-media/tsconfig.types.json +++ b/clients/client-kinesis-video-media/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kinesis-video-signaling/package.json b/clients/client-kinesis-video-signaling/package.json index 70f88fb11905..c5fd42e4511a 100644 --- a/clients/client-kinesis-video-signaling/package.json +++ b/clients/client-kinesis-video-signaling/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-kinesis-video-signaling/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-kinesis-video-signaling/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-video-signaling/tsconfig.types.json b/clients/client-kinesis-video-signaling/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kinesis-video-signaling/tsconfig.types.json +++ b/clients/client-kinesis-video-signaling/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kinesis-video/package.json b/clients/client-kinesis-video/package.json index feb6b633126b..76eb1e324104 100644 --- a/clients/client-kinesis-video/package.json +++ b/clients/client-kinesis-video/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-kinesis-video/tsconfig.cjs.json b/clients/client-kinesis-video/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-kinesis-video/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-kinesis-video/tsconfig.es.json +++ b/clients/client-kinesis-video/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-kinesis-video/tsconfig.json b/clients/client-kinesis-video/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-kinesis-video/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis-video/tsconfig.types.json b/clients/client-kinesis-video/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kinesis-video/tsconfig.types.json +++ b/clients/client-kinesis-video/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kinesis/package.json b/clients/client-kinesis/package.json index dbf3b982fa92..a926b6834d3d 100644 --- a/clients/client-kinesis/package.json +++ b/clients/client-kinesis/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -59,9 +59,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-kinesis/tsconfig.cjs.json b/clients/client-kinesis/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-kinesis/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-kinesis/tsconfig.es.json +++ b/clients/client-kinesis/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-kinesis/tsconfig.json b/clients/client-kinesis/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-kinesis/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kinesis/tsconfig.types.json b/clients/client-kinesis/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kinesis/tsconfig.types.json +++ b/clients/client-kinesis/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-kms/package.json b/clients/client-kms/package.json index dd36e0025291..064457d04ad3 100644 --- a/clients/client-kms/package.json +++ b/clients/client-kms/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-kms/tsconfig.cjs.json b/clients/client-kms/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-kms/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-kms/tsconfig.es.json +++ b/clients/client-kms/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-kms/tsconfig.json b/clients/client-kms/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-kms/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-kms/tsconfig.types.json b/clients/client-kms/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-kms/tsconfig.types.json +++ b/clients/client-kms/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-lakeformation/package.json b/clients/client-lakeformation/package.json index f57197c0e0cb..e0f7c50f4a65 100644 --- a/clients/client-lakeformation/package.json +++ b/clients/client-lakeformation/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-lakeformation/tsconfig.cjs.json b/clients/client-lakeformation/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-lakeformation/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-lakeformation/tsconfig.es.json +++ b/clients/client-lakeformation/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-lakeformation/tsconfig.json b/clients/client-lakeformation/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-lakeformation/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lakeformation/tsconfig.types.json b/clients/client-lakeformation/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-lakeformation/tsconfig.types.json +++ b/clients/client-lakeformation/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-lambda/package.json b/clients/client-lambda/package.json index e0a51a52da11..5fb62bdda8ca 100644 --- a/clients/client-lambda/package.json +++ b/clients/client-lambda/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-lambda/tsconfig.cjs.json b/clients/client-lambda/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-lambda/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-lambda/tsconfig.es.json +++ b/clients/client-lambda/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-lambda/tsconfig.json b/clients/client-lambda/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-lambda/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lambda/tsconfig.types.json b/clients/client-lambda/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-lambda/tsconfig.types.json +++ b/clients/client-lambda/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-lex-model-building-service/package.json b/clients/client-lex-model-building-service/package.json index 7522162b69bc..13b49c55a0da 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.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-lex-model-building-service/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-lex-model-building-service/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "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 b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-lex-model-building-service/tsconfig.types.json +++ b/clients/client-lex-model-building-service/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-lex-models-v2/package.json b/clients/client-lex-models-v2/package.json index 2f598beff288..0ea53b7c50b9 100644 --- a/clients/client-lex-models-v2/package.json +++ b/clients/client-lex-models-v2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-lex-models-v2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-lex-models-v2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lex-models-v2/tsconfig.types.json b/clients/client-lex-models-v2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-lex-models-v2/tsconfig.types.json +++ b/clients/client-lex-models-v2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-lex-runtime-service/package.json b/clients/client-lex-runtime-service/package.json index de93ee60073f..d774f74d512f 100644 --- a/clients/client-lex-runtime-service/package.json +++ b/clients/client-lex-runtime-service/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/mocha": "^8.0.4", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-lex-runtime-service/tsconfig.json b/clients/client-lex-runtime-service/tsconfig.cjs.json similarity index 62% rename from clients/client-lex-runtime-service/tsconfig.json rename to clients/client-lex-runtime-service/tsconfig.cjs.json index cbb7e0dec925..60d107e943f2 100644 --- a/clients/client-lex-runtime-service/tsconfig.json +++ b/clients/client-lex-runtime-service/tsconfig.cjs.json @@ -1,19 +1,8 @@ { "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, + "baseUrl": ".", "rootDir": "src", "outDir": "dist-cjs", - "removeComments": true, "types": ["mocha", "node"] }, "typedocOptions": { @@ -30,5 +19,7 @@ "theme": "minimal", "plugin": ["@aws-sdk/client-documentation-generator"] }, - "exclude": ["test/**/*"] + "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..ac004116eb33 100644 --- a/clients/client-lex-runtime-service/tsconfig.es.json +++ b/clients/client-lex-runtime-service/tsconfig.es.json @@ -1,10 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "types": ["mocha", "node"] + }, + "include": ["src/"] } diff --git a/clients/client-lex-runtime-service/tsconfig.types.json b/clients/client-lex-runtime-service/tsconfig.types.json index b7018298d8ae..0e52672aa1bc 100644 --- a/clients/client-lex-runtime-service/tsconfig.types.json +++ b/clients/client-lex-runtime-service/tsconfig.types.json @@ -1,9 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types" + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types", + "types": ["mocha", "node"] }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-lex-runtime-v2/package.json b/clients/client-lex-runtime-v2/package.json index c4916f868242..b1993bd16302 100644 --- a/clients/client-lex-runtime-v2/package.json +++ b/clients/client-lex-runtime-v2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -60,9 +60,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-lex-runtime-v2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-lex-runtime-v2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lex-runtime-v2/tsconfig.types.json b/clients/client-lex-runtime-v2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-lex-runtime-v2/tsconfig.types.json +++ b/clients/client-lex-runtime-v2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-license-manager/package.json b/clients/client-license-manager/package.json index bc9428437944..acff089d93fc 100644 --- a/clients/client-license-manager/package.json +++ b/clients/client-license-manager/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-license-manager/tsconfig.cjs.json b/clients/client-license-manager/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-license-manager/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-license-manager/tsconfig.es.json +++ b/clients/client-license-manager/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-license-manager/tsconfig.json b/clients/client-license-manager/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-license-manager/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-license-manager/tsconfig.types.json b/clients/client-license-manager/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-license-manager/tsconfig.types.json +++ b/clients/client-license-manager/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-lightsail/package.json b/clients/client-lightsail/package.json index 8583cc894bf5..8adaa03ed0a1 100644 --- a/clients/client-lightsail/package.json +++ b/clients/client-lightsail/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-lightsail/tsconfig.cjs.json b/clients/client-lightsail/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-lightsail/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-lightsail/tsconfig.es.json +++ b/clients/client-lightsail/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-lightsail/tsconfig.json b/clients/client-lightsail/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-lightsail/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lightsail/tsconfig.types.json b/clients/client-lightsail/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-lightsail/tsconfig.types.json +++ b/clients/client-lightsail/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-location/package.json b/clients/client-location/package.json index 8c654177190b..27bcac287b62 100644 --- a/clients/client-location/package.json +++ b/clients/client-location/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-location/tsconfig.cjs.json b/clients/client-location/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-location/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-location/tsconfig.es.json +++ b/clients/client-location/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-location/tsconfig.json b/clients/client-location/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-location/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-location/tsconfig.types.json b/clients/client-location/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-location/tsconfig.types.json +++ b/clients/client-location/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-lookoutequipment/package.json b/clients/client-lookoutequipment/package.json index 472dfec89b8d..657b91a4d7d1 100644 --- a/clients/client-lookoutequipment/package.json +++ b/clients/client-lookoutequipment/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-lookoutequipment/tsconfig.cjs.json b/clients/client-lookoutequipment/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-lookoutequipment/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-lookoutequipment/tsconfig.es.json +++ b/clients/client-lookoutequipment/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-lookoutequipment/tsconfig.json b/clients/client-lookoutequipment/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-lookoutequipment/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lookoutequipment/tsconfig.types.json b/clients/client-lookoutequipment/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-lookoutequipment/tsconfig.types.json +++ b/clients/client-lookoutequipment/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-lookoutmetrics/package.json b/clients/client-lookoutmetrics/package.json index 3de9693f1c94..d281b02186a3 100644 --- a/clients/client-lookoutmetrics/package.json +++ b/clients/client-lookoutmetrics/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-lookoutmetrics/tsconfig.cjs.json b/clients/client-lookoutmetrics/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-lookoutmetrics/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-lookoutmetrics/tsconfig.es.json +++ b/clients/client-lookoutmetrics/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-lookoutmetrics/tsconfig.json b/clients/client-lookoutmetrics/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-lookoutmetrics/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lookoutmetrics/tsconfig.types.json b/clients/client-lookoutmetrics/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-lookoutmetrics/tsconfig.types.json +++ b/clients/client-lookoutmetrics/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-lookoutvision/package.json b/clients/client-lookoutvision/package.json index 79bd8b01a311..cf772c50910e 100644 --- a/clients/client-lookoutvision/package.json +++ b/clients/client-lookoutvision/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-lookoutvision/tsconfig.cjs.json b/clients/client-lookoutvision/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-lookoutvision/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-lookoutvision/tsconfig.es.json +++ b/clients/client-lookoutvision/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-lookoutvision/tsconfig.json b/clients/client-lookoutvision/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-lookoutvision/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-lookoutvision/tsconfig.types.json b/clients/client-lookoutvision/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-lookoutvision/tsconfig.types.json +++ b/clients/client-lookoutvision/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-machine-learning/package.json b/clients/client-machine-learning/package.json index 51cec150f5cf..6ec9994678b3 100644 --- a/clients/client-machine-learning/package.json +++ b/clients/client-machine-learning/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-machine-learning/tsconfig.cjs.json b/clients/client-machine-learning/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-machine-learning/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-machine-learning/tsconfig.es.json +++ b/clients/client-machine-learning/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-machine-learning/tsconfig.json b/clients/client-machine-learning/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-machine-learning/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-machine-learning/tsconfig.types.json b/clients/client-machine-learning/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-machine-learning/tsconfig.types.json +++ b/clients/client-machine-learning/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-macie/package.json b/clients/client-macie/package.json index 64ba6640bd6e..b23fbe1db9e6 100644 --- a/clients/client-macie/package.json +++ b/clients/client-macie/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-macie/tsconfig.cjs.json b/clients/client-macie/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-macie/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-macie/tsconfig.es.json +++ b/clients/client-macie/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-macie/tsconfig.json b/clients/client-macie/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-macie/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-macie/tsconfig.types.json b/clients/client-macie/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-macie/tsconfig.types.json +++ b/clients/client-macie/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-macie2/package.json b/clients/client-macie2/package.json index 37660f298a74..a621ac9b5f83 100644 --- a/clients/client-macie2/package.json +++ b/clients/client-macie2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-macie2/tsconfig.cjs.json b/clients/client-macie2/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-macie2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-macie2/tsconfig.es.json +++ b/clients/client-macie2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-macie2/tsconfig.json b/clients/client-macie2/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-macie2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-macie2/tsconfig.types.json b/clients/client-macie2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-macie2/tsconfig.types.json +++ b/clients/client-macie2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-managedblockchain/package.json b/clients/client-managedblockchain/package.json index d1c7243c0465..135b3feb3380 100644 --- a/clients/client-managedblockchain/package.json +++ b/clients/client-managedblockchain/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-managedblockchain/tsconfig.cjs.json b/clients/client-managedblockchain/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-managedblockchain/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-managedblockchain/tsconfig.es.json +++ b/clients/client-managedblockchain/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-managedblockchain/tsconfig.json b/clients/client-managedblockchain/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-managedblockchain/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-managedblockchain/tsconfig.types.json b/clients/client-managedblockchain/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-managedblockchain/tsconfig.types.json +++ b/clients/client-managedblockchain/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-marketplace-catalog/package.json b/clients/client-marketplace-catalog/package.json index f4178ad7cb0a..bd79a9d58206 100644 --- a/clients/client-marketplace-catalog/package.json +++ b/clients/client-marketplace-catalog/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-marketplace-catalog/tsconfig.cjs.json b/clients/client-marketplace-catalog/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-marketplace-catalog/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-marketplace-catalog/tsconfig.es.json +++ b/clients/client-marketplace-catalog/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-marketplace-catalog/tsconfig.json b/clients/client-marketplace-catalog/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-marketplace-catalog/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-marketplace-catalog/tsconfig.types.json b/clients/client-marketplace-catalog/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-marketplace-catalog/tsconfig.types.json +++ b/clients/client-marketplace-catalog/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-marketplace-commerce-analytics/package.json b/clients/client-marketplace-commerce-analytics/package.json index 18bd118a186d..40d0c5134fa7 100644 --- a/clients/client-marketplace-commerce-analytics/package.json +++ b/clients/client-marketplace-commerce-analytics/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-marketplace-commerce-analytics/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-marketplace-commerce-analytics/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-marketplace-commerce-analytics/tsconfig.types.json b/clients/client-marketplace-commerce-analytics/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-marketplace-commerce-analytics/tsconfig.types.json +++ b/clients/client-marketplace-commerce-analytics/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-marketplace-entitlement-service/package.json b/clients/client-marketplace-entitlement-service/package.json index 55e0f312cd9b..7b863966b4ef 100644 --- a/clients/client-marketplace-entitlement-service/package.json +++ b/clients/client-marketplace-entitlement-service/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-marketplace-entitlement-service/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-marketplace-entitlement-service/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-marketplace-entitlement-service/tsconfig.types.json b/clients/client-marketplace-entitlement-service/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-marketplace-entitlement-service/tsconfig.types.json +++ b/clients/client-marketplace-entitlement-service/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-marketplace-metering/package.json b/clients/client-marketplace-metering/package.json index 193eac947502..2726cf36ebfa 100644 --- a/clients/client-marketplace-metering/package.json +++ b/clients/client-marketplace-metering/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-marketplace-metering/tsconfig.cjs.json b/clients/client-marketplace-metering/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-marketplace-metering/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-marketplace-metering/tsconfig.es.json +++ b/clients/client-marketplace-metering/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-marketplace-metering/tsconfig.json b/clients/client-marketplace-metering/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-marketplace-metering/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-marketplace-metering/tsconfig.types.json b/clients/client-marketplace-metering/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-marketplace-metering/tsconfig.types.json +++ b/clients/client-marketplace-metering/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mediaconnect/package.json b/clients/client-mediaconnect/package.json index 043bf32915bf..e0880f69c804 100644 --- a/clients/client-mediaconnect/package.json +++ b/clients/client-mediaconnect/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mediaconnect/tsconfig.cjs.json b/clients/client-mediaconnect/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mediaconnect/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mediaconnect/tsconfig.es.json +++ b/clients/client-mediaconnect/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mediaconnect/tsconfig.json b/clients/client-mediaconnect/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mediaconnect/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediaconnect/tsconfig.types.json b/clients/client-mediaconnect/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mediaconnect/tsconfig.types.json +++ b/clients/client-mediaconnect/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mediaconvert/package.json b/clients/client-mediaconvert/package.json index 6150cefe20ae..be569ff431c1 100644 --- a/clients/client-mediaconvert/package.json +++ b/clients/client-mediaconvert/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mediaconvert/tsconfig.cjs.json b/clients/client-mediaconvert/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mediaconvert/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mediaconvert/tsconfig.es.json +++ b/clients/client-mediaconvert/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mediaconvert/tsconfig.json b/clients/client-mediaconvert/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mediaconvert/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediaconvert/tsconfig.types.json b/clients/client-mediaconvert/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mediaconvert/tsconfig.types.json +++ b/clients/client-mediaconvert/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-medialive/package.json b/clients/client-medialive/package.json index a842bce61d4a..f7ba5ea1a1ae 100644 --- a/clients/client-medialive/package.json +++ b/clients/client-medialive/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-medialive/tsconfig.cjs.json b/clients/client-medialive/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-medialive/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-medialive/tsconfig.es.json +++ b/clients/client-medialive/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-medialive/tsconfig.json b/clients/client-medialive/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-medialive/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-medialive/tsconfig.types.json b/clients/client-medialive/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-medialive/tsconfig.types.json +++ b/clients/client-medialive/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mediapackage-vod/package.json b/clients/client-mediapackage-vod/package.json index d3a329099540..1599c2264550 100644 --- a/clients/client-mediapackage-vod/package.json +++ b/clients/client-mediapackage-vod/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mediapackage-vod/tsconfig.cjs.json b/clients/client-mediapackage-vod/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mediapackage-vod/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mediapackage-vod/tsconfig.es.json +++ b/clients/client-mediapackage-vod/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mediapackage-vod/tsconfig.json b/clients/client-mediapackage-vod/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mediapackage-vod/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediapackage-vod/tsconfig.types.json b/clients/client-mediapackage-vod/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mediapackage-vod/tsconfig.types.json +++ b/clients/client-mediapackage-vod/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mediapackage/package.json b/clients/client-mediapackage/package.json index 48466266d27f..603932ebcc7c 100644 --- a/clients/client-mediapackage/package.json +++ b/clients/client-mediapackage/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mediapackage/tsconfig.cjs.json b/clients/client-mediapackage/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mediapackage/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mediapackage/tsconfig.es.json +++ b/clients/client-mediapackage/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mediapackage/tsconfig.json b/clients/client-mediapackage/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mediapackage/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediapackage/tsconfig.types.json b/clients/client-mediapackage/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mediapackage/tsconfig.types.json +++ b/clients/client-mediapackage/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mediastore-data/package.json b/clients/client-mediastore-data/package.json index faeb231c8a5a..0323701b2a2d 100644 --- a/clients/client-mediastore-data/package.json +++ b/clients/client-mediastore-data/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/mocha": "^8.0.4", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mediastore-data/tsconfig.json b/clients/client-mediastore-data/tsconfig.cjs.json similarity index 62% rename from clients/client-mediastore-data/tsconfig.json rename to clients/client-mediastore-data/tsconfig.cjs.json index 9c47e41f1772..fe1e1446ea68 100644 --- a/clients/client-mediastore-data/tsconfig.json +++ b/clients/client-mediastore-data/tsconfig.cjs.json @@ -1,19 +1,8 @@ { "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, + "baseUrl": ".", "rootDir": "src", "outDir": "dist-cjs", - "removeComments": true, "types": ["mocha"] }, "typedocOptions": { @@ -30,5 +19,7 @@ "theme": "minimal", "plugin": ["@aws-sdk/client-documentation-generator"] }, - "exclude": ["test/**/*"] + "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..f7327f178c16 100644 --- a/clients/client-mediastore-data/tsconfig.es.json +++ b/clients/client-mediastore-data/tsconfig.es.json @@ -1,10 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "types": ["mocha"] + }, + "include": ["src/"] } diff --git a/clients/client-mediastore-data/tsconfig.types.json b/clients/client-mediastore-data/tsconfig.types.json index b7018298d8ae..1db0fb8ef7ee 100644 --- a/clients/client-mediastore-data/tsconfig.types.json +++ b/clients/client-mediastore-data/tsconfig.types.json @@ -1,9 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types" + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types", + "types": ["mocha"] }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mediastore/package.json b/clients/client-mediastore/package.json index 07a11349e8ff..f2a62dd4fe78 100644 --- a/clients/client-mediastore/package.json +++ b/clients/client-mediastore/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mediastore/tsconfig.cjs.json b/clients/client-mediastore/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mediastore/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mediastore/tsconfig.es.json +++ b/clients/client-mediastore/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mediastore/tsconfig.json b/clients/client-mediastore/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mediastore/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediastore/tsconfig.types.json b/clients/client-mediastore/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mediastore/tsconfig.types.json +++ b/clients/client-mediastore/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mediatailor/package.json b/clients/client-mediatailor/package.json index ca223a5e644f..1c1a6d0b0fb3 100644 --- a/clients/client-mediatailor/package.json +++ b/clients/client-mediatailor/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mediatailor/tsconfig.cjs.json b/clients/client-mediatailor/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mediatailor/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mediatailor/tsconfig.es.json +++ b/clients/client-mediatailor/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mediatailor/tsconfig.json b/clients/client-mediatailor/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mediatailor/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mediatailor/tsconfig.types.json b/clients/client-mediatailor/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mediatailor/tsconfig.types.json +++ b/clients/client-mediatailor/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-memorydb/package.json b/clients/client-memorydb/package.json index ef44a940a33d..098f36f9451e 100644 --- a/clients/client-memorydb/package.json +++ b/clients/client-memorydb/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-memorydb/tsconfig.cjs.json b/clients/client-memorydb/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-memorydb/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-memorydb/tsconfig.es.json +++ b/clients/client-memorydb/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-memorydb/tsconfig.json b/clients/client-memorydb/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-memorydb/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-memorydb/tsconfig.types.json b/clients/client-memorydb/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-memorydb/tsconfig.types.json +++ b/clients/client-memorydb/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mgn/package.json b/clients/client-mgn/package.json index 2affc3fbaa6b..c802e8f81670 100644 --- a/clients/client-mgn/package.json +++ b/clients/client-mgn/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mgn/tsconfig.cjs.json b/clients/client-mgn/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mgn/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mgn/tsconfig.es.json +++ b/clients/client-mgn/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mgn/tsconfig.json b/clients/client-mgn/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mgn/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mgn/tsconfig.types.json b/clients/client-mgn/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mgn/tsconfig.types.json +++ b/clients/client-mgn/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-migration-hub/package.json b/clients/client-migration-hub/package.json index a0fe30d366af..3172f5163426 100644 --- a/clients/client-migration-hub/package.json +++ b/clients/client-migration-hub/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-migration-hub/tsconfig.cjs.json b/clients/client-migration-hub/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-migration-hub/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-migration-hub/tsconfig.es.json +++ b/clients/client-migration-hub/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-migration-hub/tsconfig.json b/clients/client-migration-hub/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-migration-hub/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-migration-hub/tsconfig.types.json b/clients/client-migration-hub/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-migration-hub/tsconfig.types.json +++ b/clients/client-migration-hub/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-migrationhub-config/package.json b/clients/client-migrationhub-config/package.json index 3711d538802e..0cec2e35c789 100644 --- a/clients/client-migrationhub-config/package.json +++ b/clients/client-migrationhub-config/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-migrationhub-config/tsconfig.cjs.json b/clients/client-migrationhub-config/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-migrationhub-config/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-migrationhub-config/tsconfig.es.json +++ b/clients/client-migrationhub-config/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-migrationhub-config/tsconfig.json b/clients/client-migrationhub-config/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-migrationhub-config/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-migrationhub-config/tsconfig.types.json b/clients/client-migrationhub-config/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-migrationhub-config/tsconfig.types.json +++ b/clients/client-migrationhub-config/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mobile/package.json b/clients/client-mobile/package.json index 9401a9031dfd..27f3bc526330 100644 --- a/clients/client-mobile/package.json +++ b/clients/client-mobile/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mobile/tsconfig.cjs.json b/clients/client-mobile/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mobile/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mobile/tsconfig.es.json +++ b/clients/client-mobile/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mobile/tsconfig.json b/clients/client-mobile/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mobile/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mobile/tsconfig.types.json b/clients/client-mobile/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mobile/tsconfig.types.json +++ b/clients/client-mobile/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mq/package.json b/clients/client-mq/package.json index 8945fb8ff89c..5f8dfe72a659 100644 --- a/clients/client-mq/package.json +++ b/clients/client-mq/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mq/tsconfig.cjs.json b/clients/client-mq/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mq/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mq/tsconfig.es.json +++ b/clients/client-mq/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mq/tsconfig.json b/clients/client-mq/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mq/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mq/tsconfig.types.json b/clients/client-mq/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mq/tsconfig.types.json +++ b/clients/client-mq/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mturk/package.json b/clients/client-mturk/package.json index abae279799aa..defe94f7ce2e 100644 --- a/clients/client-mturk/package.json +++ b/clients/client-mturk/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mturk/tsconfig.cjs.json b/clients/client-mturk/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mturk/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mturk/tsconfig.es.json +++ b/clients/client-mturk/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mturk/tsconfig.json b/clients/client-mturk/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mturk/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mturk/tsconfig.types.json b/clients/client-mturk/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mturk/tsconfig.types.json +++ b/clients/client-mturk/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-mwaa/package.json b/clients/client-mwaa/package.json index 2ae4e37e7e6e..d338fee2056a 100644 --- a/clients/client-mwaa/package.json +++ b/clients/client-mwaa/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-mwaa/tsconfig.cjs.json b/clients/client-mwaa/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-mwaa/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-mwaa/tsconfig.es.json +++ b/clients/client-mwaa/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-mwaa/tsconfig.json b/clients/client-mwaa/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-mwaa/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-mwaa/tsconfig.types.json b/clients/client-mwaa/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-mwaa/tsconfig.types.json +++ b/clients/client-mwaa/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-neptune/package.json b/clients/client-neptune/package.json index 66dbba713859..809ca8edfff3 100644 --- a/clients/client-neptune/package.json +++ b/clients/client-neptune/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -59,9 +59,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-neptune/tsconfig.cjs.json b/clients/client-neptune/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-neptune/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-neptune/tsconfig.es.json +++ b/clients/client-neptune/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-neptune/tsconfig.json b/clients/client-neptune/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-neptune/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-neptune/tsconfig.types.json b/clients/client-neptune/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-neptune/tsconfig.types.json +++ b/clients/client-neptune/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-network-firewall/package.json b/clients/client-network-firewall/package.json index 7ab34cd59226..f076a6b4edd2 100644 --- a/clients/client-network-firewall/package.json +++ b/clients/client-network-firewall/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-network-firewall/tsconfig.cjs.json b/clients/client-network-firewall/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-network-firewall/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-network-firewall/tsconfig.es.json +++ b/clients/client-network-firewall/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-network-firewall/tsconfig.json b/clients/client-network-firewall/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-network-firewall/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-network-firewall/tsconfig.types.json b/clients/client-network-firewall/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-network-firewall/tsconfig.types.json +++ b/clients/client-network-firewall/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-networkmanager/package.json b/clients/client-networkmanager/package.json index 3c85107a509d..4e074f8745a5 100644 --- a/clients/client-networkmanager/package.json +++ b/clients/client-networkmanager/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-networkmanager/tsconfig.cjs.json b/clients/client-networkmanager/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-networkmanager/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-networkmanager/tsconfig.es.json +++ b/clients/client-networkmanager/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-networkmanager/tsconfig.json b/clients/client-networkmanager/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-networkmanager/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-networkmanager/tsconfig.types.json b/clients/client-networkmanager/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-networkmanager/tsconfig.types.json +++ b/clients/client-networkmanager/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-nimble/package.json b/clients/client-nimble/package.json index d4c4c6ac79e7..1f20a16b9b14 100644 --- a/clients/client-nimble/package.json +++ b/clients/client-nimble/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-nimble/tsconfig.cjs.json b/clients/client-nimble/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-nimble/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-nimble/tsconfig.es.json +++ b/clients/client-nimble/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-nimble/tsconfig.json b/clients/client-nimble/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-nimble/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-nimble/tsconfig.types.json b/clients/client-nimble/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-nimble/tsconfig.types.json +++ b/clients/client-nimble/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-opensearch/package.json b/clients/client-opensearch/package.json index 9f7551fd4566..317b5adcdd42 100644 --- a/clients/client-opensearch/package.json +++ b/clients/client-opensearch/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-opensearch/tsconfig.cjs.json b/clients/client-opensearch/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-opensearch/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-opensearch/tsconfig.es.json +++ b/clients/client-opensearch/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-opensearch/tsconfig.json b/clients/client-opensearch/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-opensearch/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-opensearch/tsconfig.types.json b/clients/client-opensearch/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-opensearch/tsconfig.types.json +++ b/clients/client-opensearch/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-opsworks/package.json b/clients/client-opsworks/package.json index 2060b1db4932..6d0d9bddcf1b 100644 --- a/clients/client-opsworks/package.json +++ b/clients/client-opsworks/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-opsworks/tsconfig.cjs.json b/clients/client-opsworks/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-opsworks/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-opsworks/tsconfig.es.json +++ b/clients/client-opsworks/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-opsworks/tsconfig.json b/clients/client-opsworks/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-opsworks/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-opsworks/tsconfig.types.json b/clients/client-opsworks/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-opsworks/tsconfig.types.json +++ b/clients/client-opsworks/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-opsworkscm/package.json b/clients/client-opsworkscm/package.json index ab55e57fe5f9..83d74ff888b2 100644 --- a/clients/client-opsworkscm/package.json +++ b/clients/client-opsworkscm/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-opsworkscm/tsconfig.cjs.json b/clients/client-opsworkscm/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-opsworkscm/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-opsworkscm/tsconfig.es.json +++ b/clients/client-opsworkscm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-opsworkscm/tsconfig.json b/clients/client-opsworkscm/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-opsworkscm/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-opsworkscm/tsconfig.types.json b/clients/client-opsworkscm/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-opsworkscm/tsconfig.types.json +++ b/clients/client-opsworkscm/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-organizations/package.json b/clients/client-organizations/package.json index e7e9b09c0517..ca030f126f1d 100644 --- a/clients/client-organizations/package.json +++ b/clients/client-organizations/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-organizations/tsconfig.cjs.json b/clients/client-organizations/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-organizations/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-organizations/tsconfig.es.json +++ b/clients/client-organizations/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-organizations/tsconfig.json b/clients/client-organizations/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-organizations/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-organizations/tsconfig.types.json b/clients/client-organizations/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-organizations/tsconfig.types.json +++ b/clients/client-organizations/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-outposts/package.json b/clients/client-outposts/package.json index 150d10c8efc6..ce292350c7f6 100644 --- a/clients/client-outposts/package.json +++ b/clients/client-outposts/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-outposts/tsconfig.cjs.json b/clients/client-outposts/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-outposts/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-outposts/tsconfig.es.json +++ b/clients/client-outposts/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-outposts/tsconfig.json b/clients/client-outposts/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-outposts/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-outposts/tsconfig.types.json b/clients/client-outposts/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-outposts/tsconfig.types.json +++ b/clients/client-outposts/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-personalize-events/package.json b/clients/client-personalize-events/package.json index 9b8b21f88fbf..e151925aa0c3 100644 --- a/clients/client-personalize-events/package.json +++ b/clients/client-personalize-events/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-personalize-events/tsconfig.cjs.json b/clients/client-personalize-events/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-personalize-events/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-personalize-events/tsconfig.es.json +++ b/clients/client-personalize-events/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-personalize-events/tsconfig.json b/clients/client-personalize-events/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-personalize-events/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-personalize-events/tsconfig.types.json b/clients/client-personalize-events/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-personalize-events/tsconfig.types.json +++ b/clients/client-personalize-events/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-personalize-runtime/package.json b/clients/client-personalize-runtime/package.json index f8377793b29c..a5e5196abafb 100644 --- a/clients/client-personalize-runtime/package.json +++ b/clients/client-personalize-runtime/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-personalize-runtime/tsconfig.cjs.json b/clients/client-personalize-runtime/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-personalize-runtime/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-personalize-runtime/tsconfig.es.json +++ b/clients/client-personalize-runtime/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-personalize-runtime/tsconfig.json b/clients/client-personalize-runtime/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-personalize-runtime/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-personalize-runtime/tsconfig.types.json b/clients/client-personalize-runtime/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-personalize-runtime/tsconfig.types.json +++ b/clients/client-personalize-runtime/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-personalize/package.json b/clients/client-personalize/package.json index 0a6c1e685233..5ed8e21d8f7f 100644 --- a/clients/client-personalize/package.json +++ b/clients/client-personalize/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-personalize/tsconfig.cjs.json b/clients/client-personalize/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-personalize/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-personalize/tsconfig.es.json +++ b/clients/client-personalize/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-personalize/tsconfig.json b/clients/client-personalize/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-personalize/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-personalize/tsconfig.types.json b/clients/client-personalize/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-personalize/tsconfig.types.json +++ b/clients/client-personalize/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-pi/package.json b/clients/client-pi/package.json index 5d7d8f2d61e5..4d213b2c4ce9 100644 --- a/clients/client-pi/package.json +++ b/clients/client-pi/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-pi/tsconfig.cjs.json b/clients/client-pi/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-pi/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-pi/tsconfig.es.json +++ b/clients/client-pi/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-pi/tsconfig.json b/clients/client-pi/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-pi/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-pi/tsconfig.types.json b/clients/client-pi/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-pi/tsconfig.types.json +++ b/clients/client-pi/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-pinpoint-email/package.json b/clients/client-pinpoint-email/package.json index f8acbb246c17..0f1374a75d1e 100644 --- a/clients/client-pinpoint-email/package.json +++ b/clients/client-pinpoint-email/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-pinpoint-email/tsconfig.cjs.json b/clients/client-pinpoint-email/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-pinpoint-email/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-pinpoint-email/tsconfig.es.json +++ b/clients/client-pinpoint-email/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-pinpoint-email/tsconfig.json b/clients/client-pinpoint-email/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-pinpoint-email/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-pinpoint-email/tsconfig.types.json b/clients/client-pinpoint-email/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-pinpoint-email/tsconfig.types.json +++ b/clients/client-pinpoint-email/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-pinpoint-sms-voice/package.json b/clients/client-pinpoint-sms-voice/package.json index 52bef9be793b..7b298d3a6d2a 100644 --- a/clients/client-pinpoint-sms-voice/package.json +++ b/clients/client-pinpoint-sms-voice/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-pinpoint-sms-voice/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-pinpoint-sms-voice/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-pinpoint-sms-voice/tsconfig.types.json b/clients/client-pinpoint-sms-voice/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-pinpoint-sms-voice/tsconfig.types.json +++ b/clients/client-pinpoint-sms-voice/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-pinpoint/package.json b/clients/client-pinpoint/package.json index fa9e1644d5a2..045df77b2b89 100644 --- a/clients/client-pinpoint/package.json +++ b/clients/client-pinpoint/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-pinpoint/tsconfig.cjs.json b/clients/client-pinpoint/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-pinpoint/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-pinpoint/tsconfig.es.json +++ b/clients/client-pinpoint/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-pinpoint/tsconfig.json b/clients/client-pinpoint/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-pinpoint/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-pinpoint/tsconfig.types.json b/clients/client-pinpoint/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-pinpoint/tsconfig.types.json +++ b/clients/client-pinpoint/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-polly/package.json b/clients/client-polly/package.json index c028e156f8ac..3a8ae037d440 100644 --- a/clients/client-polly/package.json +++ b/clients/client-polly/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-polly/tsconfig.cjs.json b/clients/client-polly/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-polly/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-polly/tsconfig.es.json +++ b/clients/client-polly/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-polly/tsconfig.json b/clients/client-polly/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-polly/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-polly/tsconfig.types.json b/clients/client-polly/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-polly/tsconfig.types.json +++ b/clients/client-polly/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-pricing/package.json b/clients/client-pricing/package.json index 39ebe615b6b1..ee623b9f7b2f 100644 --- a/clients/client-pricing/package.json +++ b/clients/client-pricing/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-pricing/tsconfig.cjs.json b/clients/client-pricing/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-pricing/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-pricing/tsconfig.es.json +++ b/clients/client-pricing/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-pricing/tsconfig.json b/clients/client-pricing/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-pricing/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-pricing/tsconfig.types.json b/clients/client-pricing/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-pricing/tsconfig.types.json +++ b/clients/client-pricing/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-proton/package.json b/clients/client-proton/package.json index 5d5f20a3a918..634ae78d7b8e 100644 --- a/clients/client-proton/package.json +++ b/clients/client-proton/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-proton/tsconfig.cjs.json b/clients/client-proton/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-proton/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-proton/tsconfig.es.json +++ b/clients/client-proton/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-proton/tsconfig.json b/clients/client-proton/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-proton/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-proton/tsconfig.types.json b/clients/client-proton/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-proton/tsconfig.types.json +++ b/clients/client-proton/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-qldb-session/package.json b/clients/client-qldb-session/package.json index f289bd1a303d..751ca553a424 100644 --- a/clients/client-qldb-session/package.json +++ b/clients/client-qldb-session/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-qldb-session/tsconfig.cjs.json b/clients/client-qldb-session/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-qldb-session/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-qldb-session/tsconfig.es.json +++ b/clients/client-qldb-session/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-qldb-session/tsconfig.json b/clients/client-qldb-session/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-qldb-session/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-qldb-session/tsconfig.types.json b/clients/client-qldb-session/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-qldb-session/tsconfig.types.json +++ b/clients/client-qldb-session/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-qldb/package.json b/clients/client-qldb/package.json index e73cf5653511..9ffd3de82b91 100644 --- a/clients/client-qldb/package.json +++ b/clients/client-qldb/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-qldb/tsconfig.cjs.json b/clients/client-qldb/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-qldb/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-qldb/tsconfig.es.json +++ b/clients/client-qldb/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-qldb/tsconfig.json b/clients/client-qldb/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-qldb/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-qldb/tsconfig.types.json b/clients/client-qldb/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-qldb/tsconfig.types.json +++ b/clients/client-qldb/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-quicksight/package.json b/clients/client-quicksight/package.json index 017146c3fc9c..cd1f649c89ab 100644 --- a/clients/client-quicksight/package.json +++ b/clients/client-quicksight/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-quicksight/tsconfig.cjs.json b/clients/client-quicksight/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-quicksight/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-quicksight/tsconfig.es.json +++ b/clients/client-quicksight/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-quicksight/tsconfig.json b/clients/client-quicksight/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-quicksight/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-quicksight/tsconfig.types.json b/clients/client-quicksight/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-quicksight/tsconfig.types.json +++ b/clients/client-quicksight/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ram/package.json b/clients/client-ram/package.json index 420d8b852a40..4d41a60c3cff 100644 --- a/clients/client-ram/package.json +++ b/clients/client-ram/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ram/tsconfig.cjs.json b/clients/client-ram/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ram/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ram/tsconfig.es.json +++ b/clients/client-ram/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ram/tsconfig.json b/clients/client-ram/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ram/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ram/tsconfig.types.json b/clients/client-ram/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ram/tsconfig.types.json +++ b/clients/client-ram/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-rds-data/package.json b/clients/client-rds-data/package.json index f162d0dc05e1..fc040b4b07a2 100644 --- a/clients/client-rds-data/package.json +++ b/clients/client-rds-data/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-rds-data/tsconfig.cjs.json b/clients/client-rds-data/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-rds-data/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-rds-data/tsconfig.es.json +++ b/clients/client-rds-data/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-rds-data/tsconfig.json b/clients/client-rds-data/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-rds-data/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-rds-data/tsconfig.types.json b/clients/client-rds-data/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-rds-data/tsconfig.types.json +++ b/clients/client-rds-data/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-rds/package.json b/clients/client-rds/package.json index 74f5b54ad839..135fc2bcc0a4 100644 --- a/clients/client-rds/package.json +++ b/clients/client-rds/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -59,9 +59,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-rds/tsconfig.cjs.json b/clients/client-rds/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-rds/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-rds/tsconfig.es.json +++ b/clients/client-rds/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-rds/tsconfig.json b/clients/client-rds/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-rds/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-rds/tsconfig.types.json b/clients/client-rds/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-rds/tsconfig.types.json +++ b/clients/client-rds/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-redshift-data/package.json b/clients/client-redshift-data/package.json index 96795de25bf8..9a485551f8a4 100644 --- a/clients/client-redshift-data/package.json +++ b/clients/client-redshift-data/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-redshift-data/tsconfig.cjs.json b/clients/client-redshift-data/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-redshift-data/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-redshift-data/tsconfig.es.json +++ b/clients/client-redshift-data/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-redshift-data/tsconfig.json b/clients/client-redshift-data/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-redshift-data/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-redshift-data/tsconfig.types.json b/clients/client-redshift-data/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-redshift-data/tsconfig.types.json +++ b/clients/client-redshift-data/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-redshift/package.json b/clients/client-redshift/package.json index 957ce874738d..b322493f3c89 100644 --- a/clients/client-redshift/package.json +++ b/clients/client-redshift/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-redshift/tsconfig.cjs.json b/clients/client-redshift/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-redshift/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-redshift/tsconfig.es.json +++ b/clients/client-redshift/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-redshift/tsconfig.json b/clients/client-redshift/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-redshift/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-redshift/tsconfig.types.json b/clients/client-redshift/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-redshift/tsconfig.types.json +++ b/clients/client-redshift/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-rekognition/package.json b/clients/client-rekognition/package.json index 22df0390fee0..8d85c9b56c59 100644 --- a/clients/client-rekognition/package.json +++ b/clients/client-rekognition/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-rekognition/tsconfig.cjs.json b/clients/client-rekognition/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-rekognition/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-rekognition/tsconfig.es.json +++ b/clients/client-rekognition/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-rekognition/tsconfig.json b/clients/client-rekognition/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-rekognition/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-rekognition/tsconfig.types.json b/clients/client-rekognition/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-rekognition/tsconfig.types.json +++ b/clients/client-rekognition/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-resource-groups-tagging-api/package.json b/clients/client-resource-groups-tagging-api/package.json index 4f200508baba..a9d542dcbf46 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.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-resource-groups-tagging-api/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-resource-groups-tagging-api/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "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 b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-resource-groups-tagging-api/tsconfig.types.json +++ b/clients/client-resource-groups-tagging-api/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-resource-groups/package.json b/clients/client-resource-groups/package.json index 81f0f8ab962c..9ed7c8a54b24 100644 --- a/clients/client-resource-groups/package.json +++ b/clients/client-resource-groups/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-resource-groups/tsconfig.cjs.json b/clients/client-resource-groups/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-resource-groups/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-resource-groups/tsconfig.es.json +++ b/clients/client-resource-groups/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-resource-groups/tsconfig.json b/clients/client-resource-groups/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-resource-groups/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-resource-groups/tsconfig.types.json b/clients/client-resource-groups/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-resource-groups/tsconfig.types.json +++ b/clients/client-resource-groups/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-robomaker/package.json b/clients/client-robomaker/package.json index 739f0a56c088..1022b569f4da 100644 --- a/clients/client-robomaker/package.json +++ b/clients/client-robomaker/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-robomaker/tsconfig.cjs.json b/clients/client-robomaker/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-robomaker/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-robomaker/tsconfig.es.json +++ b/clients/client-robomaker/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-robomaker/tsconfig.json b/clients/client-robomaker/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-robomaker/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-robomaker/tsconfig.types.json b/clients/client-robomaker/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-robomaker/tsconfig.types.json +++ b/clients/client-robomaker/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-route-53-domains/package.json b/clients/client-route-53-domains/package.json index 8bee4eaa8e89..ffed3a1ae62d 100644 --- a/clients/client-route-53-domains/package.json +++ b/clients/client-route-53-domains/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-route-53-domains/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-route-53-domains/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route-53-domains/tsconfig.types.json b/clients/client-route-53-domains/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-route-53-domains/tsconfig.types.json +++ b/clients/client-route-53-domains/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-route-53/package.json b/clients/client-route-53/package.json index cd3cdb33dc90..1bc36792d9a9 100644 --- a/clients/client-route-53/package.json +++ b/clients/client-route-53/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -60,9 +60,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-route-53/tsconfig.cjs.json b/clients/client-route-53/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-route-53/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-route-53/tsconfig.es.json +++ b/clients/client-route-53/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-route-53/tsconfig.json b/clients/client-route-53/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-route-53/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route-53/tsconfig.types.json b/clients/client-route-53/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-route-53/tsconfig.types.json +++ b/clients/client-route-53/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-route53-recovery-cluster/package.json b/clients/client-route53-recovery-cluster/package.json index 12d53738ddaa..5fe5b124dcc4 100644 --- a/clients/client-route53-recovery-cluster/package.json +++ b/clients/client-route53-recovery-cluster/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-route53-recovery-cluster/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-route53-recovery-cluster/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route53-recovery-cluster/tsconfig.types.json b/clients/client-route53-recovery-cluster/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-route53-recovery-cluster/tsconfig.types.json +++ b/clients/client-route53-recovery-cluster/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-route53-recovery-control-config/package.json b/clients/client-route53-recovery-control-config/package.json index d23d839f8818..28d5ccb35c97 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.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-route53-recovery-control-config/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-route53-recovery-control-config/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "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 b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-route53-recovery-control-config/tsconfig.types.json +++ b/clients/client-route53-recovery-control-config/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-route53-recovery-readiness/package.json b/clients/client-route53-recovery-readiness/package.json index 87b72779edeb..25dfd49f5533 100644 --- a/clients/client-route53-recovery-readiness/package.json +++ b/clients/client-route53-recovery-readiness/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-route53-recovery-readiness/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-route53-recovery-readiness/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route53-recovery-readiness/tsconfig.types.json b/clients/client-route53-recovery-readiness/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-route53-recovery-readiness/tsconfig.types.json +++ b/clients/client-route53-recovery-readiness/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-route53resolver/package.json b/clients/client-route53resolver/package.json index 055684c09282..aaf13b605a67 100644 --- a/clients/client-route53resolver/package.json +++ b/clients/client-route53resolver/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-route53resolver/tsconfig.cjs.json b/clients/client-route53resolver/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-route53resolver/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-route53resolver/tsconfig.es.json +++ b/clients/client-route53resolver/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-route53resolver/tsconfig.json b/clients/client-route53resolver/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-route53resolver/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-route53resolver/tsconfig.types.json b/clients/client-route53resolver/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-route53resolver/tsconfig.types.json +++ b/clients/client-route53resolver/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-s3-control/package.json b/clients/client-s3-control/package.json index 42793ba3b1b6..28a84924a5a8 100644 --- a/clients/client-s3-control/package.json +++ b/clients/client-s3-control/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -67,9 +67,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-s3-control/tsconfig.json b/clients/client-s3-control/tsconfig.cjs.json similarity index 62% rename from clients/client-s3-control/tsconfig.json rename to clients/client-s3-control/tsconfig.cjs.json index cbb7e0dec925..60d107e943f2 100644 --- a/clients/client-s3-control/tsconfig.json +++ b/clients/client-s3-control/tsconfig.cjs.json @@ -1,19 +1,8 @@ { "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, + "baseUrl": ".", "rootDir": "src", "outDir": "dist-cjs", - "removeComments": true, "types": ["mocha", "node"] }, "typedocOptions": { @@ -30,5 +19,7 @@ "theme": "minimal", "plugin": ["@aws-sdk/client-documentation-generator"] }, - "exclude": ["test/**/*"] + "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..ac004116eb33 100644 --- a/clients/client-s3-control/tsconfig.es.json +++ b/clients/client-s3-control/tsconfig.es.json @@ -1,10 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "types": ["mocha", "node"] + }, + "include": ["src/"] } diff --git a/clients/client-s3-control/tsconfig.types.json b/clients/client-s3-control/tsconfig.types.json index b7018298d8ae..0e52672aa1bc 100644 --- a/clients/client-s3-control/tsconfig.types.json +++ b/clients/client-s3-control/tsconfig.types.json @@ -1,9 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types" + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types", + "types": ["mocha", "node"] }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-s3/package.json b/clients/client-s3/package.json index e0d78a37966e..76cecd5d7330 100644 --- a/clients/client-s3/package.json +++ b/clients/client-s3/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -75,9 +75,9 @@ "@types/mocha": "^8.0.4", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-s3/tsconfig.json b/clients/client-s3/tsconfig.cjs.json similarity index 62% rename from clients/client-s3/tsconfig.json rename to clients/client-s3/tsconfig.cjs.json index cbb7e0dec925..60d107e943f2 100644 --- a/clients/client-s3/tsconfig.json +++ b/clients/client-s3/tsconfig.cjs.json @@ -1,19 +1,8 @@ { "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, + "baseUrl": ".", "rootDir": "src", "outDir": "dist-cjs", - "removeComments": true, "types": ["mocha", "node"] }, "typedocOptions": { @@ -30,5 +19,7 @@ "theme": "minimal", "plugin": ["@aws-sdk/client-documentation-generator"] }, - "exclude": ["test/**/*"] + "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..ac004116eb33 100644 --- a/clients/client-s3/tsconfig.es.json +++ b/clients/client-s3/tsconfig.es.json @@ -1,10 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "types": ["mocha", "node"] + }, + "include": ["src/"] } diff --git a/clients/client-s3/tsconfig.types.json b/clients/client-s3/tsconfig.types.json index b7018298d8ae..0e52672aa1bc 100644 --- a/clients/client-s3/tsconfig.types.json +++ b/clients/client-s3/tsconfig.types.json @@ -1,9 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types" + "baseUrl": ".", + "rootDir": "src", + "declarationDir": "dist-types", + "types": ["mocha", "node"] }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-s3outposts/package.json b/clients/client-s3outposts/package.json index 6e0bb7cb231b..870273981768 100644 --- a/clients/client-s3outposts/package.json +++ b/clients/client-s3outposts/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-s3outposts/tsconfig.cjs.json b/clients/client-s3outposts/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-s3outposts/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-s3outposts/tsconfig.es.json +++ b/clients/client-s3outposts/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-s3outposts/tsconfig.json b/clients/client-s3outposts/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-s3outposts/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-s3outposts/tsconfig.types.json b/clients/client-s3outposts/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-s3outposts/tsconfig.types.json +++ b/clients/client-s3outposts/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sagemaker-a2i-runtime/package.json b/clients/client-sagemaker-a2i-runtime/package.json index 86fd3c933ff2..5cf1f321c5a4 100644 --- a/clients/client-sagemaker-a2i-runtime/package.json +++ b/clients/client-sagemaker-a2i-runtime/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-sagemaker-a2i-runtime/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-sagemaker-a2i-runtime/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sagemaker-a2i-runtime/tsconfig.types.json b/clients/client-sagemaker-a2i-runtime/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sagemaker-a2i-runtime/tsconfig.types.json +++ b/clients/client-sagemaker-a2i-runtime/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sagemaker-edge/package.json b/clients/client-sagemaker-edge/package.json index 00cf03b5207c..2660be9ad144 100644 --- a/clients/client-sagemaker-edge/package.json +++ b/clients/client-sagemaker-edge/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sagemaker-edge/tsconfig.cjs.json b/clients/client-sagemaker-edge/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sagemaker-edge/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sagemaker-edge/tsconfig.es.json +++ b/clients/client-sagemaker-edge/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sagemaker-edge/tsconfig.json b/clients/client-sagemaker-edge/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sagemaker-edge/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sagemaker-edge/tsconfig.types.json b/clients/client-sagemaker-edge/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sagemaker-edge/tsconfig.types.json +++ b/clients/client-sagemaker-edge/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sagemaker-featurestore-runtime/package.json b/clients/client-sagemaker-featurestore-runtime/package.json index bf8e07eb0e15..b9eb16c3295c 100644 --- a/clients/client-sagemaker-featurestore-runtime/package.json +++ b/clients/client-sagemaker-featurestore-runtime/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-sagemaker-featurestore-runtime/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-sagemaker-featurestore-runtime/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sagemaker-featurestore-runtime/tsconfig.types.json b/clients/client-sagemaker-featurestore-runtime/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sagemaker-featurestore-runtime/tsconfig.types.json +++ b/clients/client-sagemaker-featurestore-runtime/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sagemaker-runtime/package.json b/clients/client-sagemaker-runtime/package.json index a0157a01cfce..3290a8a6e50f 100644 --- a/clients/client-sagemaker-runtime/package.json +++ b/clients/client-sagemaker-runtime/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sagemaker-runtime/tsconfig.cjs.json b/clients/client-sagemaker-runtime/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sagemaker-runtime/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sagemaker-runtime/tsconfig.es.json +++ b/clients/client-sagemaker-runtime/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sagemaker-runtime/tsconfig.json b/clients/client-sagemaker-runtime/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sagemaker-runtime/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sagemaker-runtime/tsconfig.types.json b/clients/client-sagemaker-runtime/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sagemaker-runtime/tsconfig.types.json +++ b/clients/client-sagemaker-runtime/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sagemaker/package.json b/clients/client-sagemaker/package.json index 6ebda61906c5..fefc0560eefe 100644 --- a/clients/client-sagemaker/package.json +++ b/clients/client-sagemaker/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sagemaker/tsconfig.cjs.json b/clients/client-sagemaker/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sagemaker/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sagemaker/tsconfig.es.json +++ b/clients/client-sagemaker/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sagemaker/tsconfig.json b/clients/client-sagemaker/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sagemaker/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sagemaker/tsconfig.types.json b/clients/client-sagemaker/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sagemaker/tsconfig.types.json +++ b/clients/client-sagemaker/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-savingsplans/package.json b/clients/client-savingsplans/package.json index 4be4bfd2c78d..5618d6573ba2 100644 --- a/clients/client-savingsplans/package.json +++ b/clients/client-savingsplans/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-savingsplans/tsconfig.cjs.json b/clients/client-savingsplans/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-savingsplans/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-savingsplans/tsconfig.es.json +++ b/clients/client-savingsplans/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-savingsplans/tsconfig.json b/clients/client-savingsplans/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-savingsplans/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-savingsplans/tsconfig.types.json b/clients/client-savingsplans/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-savingsplans/tsconfig.types.json +++ b/clients/client-savingsplans/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-schemas/package.json b/clients/client-schemas/package.json index 82d6cfcde74d..330682ff06ed 100644 --- a/clients/client-schemas/package.json +++ b/clients/client-schemas/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-schemas/tsconfig.cjs.json b/clients/client-schemas/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-schemas/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-schemas/tsconfig.es.json +++ b/clients/client-schemas/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-schemas/tsconfig.json b/clients/client-schemas/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-schemas/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-schemas/tsconfig.types.json b/clients/client-schemas/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-schemas/tsconfig.types.json +++ b/clients/client-schemas/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-secrets-manager/package.json b/clients/client-secrets-manager/package.json index 443c35af749e..9e619638b69d 100644 --- a/clients/client-secrets-manager/package.json +++ b/clients/client-secrets-manager/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-secrets-manager/tsconfig.cjs.json b/clients/client-secrets-manager/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-secrets-manager/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-secrets-manager/tsconfig.es.json +++ b/clients/client-secrets-manager/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-secrets-manager/tsconfig.json b/clients/client-secrets-manager/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-secrets-manager/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-secrets-manager/tsconfig.types.json b/clients/client-secrets-manager/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-secrets-manager/tsconfig.types.json +++ b/clients/client-secrets-manager/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-securityhub/package.json b/clients/client-securityhub/package.json index 66129d912df4..208664fb3e90 100644 --- a/clients/client-securityhub/package.json +++ b/clients/client-securityhub/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-securityhub/tsconfig.cjs.json b/clients/client-securityhub/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-securityhub/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-securityhub/tsconfig.es.json +++ b/clients/client-securityhub/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-securityhub/tsconfig.json b/clients/client-securityhub/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-securityhub/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-securityhub/tsconfig.types.json b/clients/client-securityhub/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-securityhub/tsconfig.types.json +++ b/clients/client-securityhub/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-serverlessapplicationrepository/package.json b/clients/client-serverlessapplicationrepository/package.json index d0cc27055ece..6e387684ae3f 100644 --- a/clients/client-serverlessapplicationrepository/package.json +++ b/clients/client-serverlessapplicationrepository/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-serverlessapplicationrepository/tsconfig.cjs.json b/clients/client-serverlessapplicationrepository/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-serverlessapplicationrepository/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-serverlessapplicationrepository/tsconfig.es.json +++ b/clients/client-serverlessapplicationrepository/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-serverlessapplicationrepository/tsconfig.json b/clients/client-serverlessapplicationrepository/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-serverlessapplicationrepository/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-serverlessapplicationrepository/tsconfig.types.json b/clients/client-serverlessapplicationrepository/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-serverlessapplicationrepository/tsconfig.types.json +++ b/clients/client-serverlessapplicationrepository/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-service-catalog-appregistry/package.json b/clients/client-service-catalog-appregistry/package.json index 20433051edf0..7ac5d520adec 100644 --- a/clients/client-service-catalog-appregistry/package.json +++ b/clients/client-service-catalog-appregistry/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-service-catalog-appregistry/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-service-catalog-appregistry/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-service-catalog-appregistry/tsconfig.types.json b/clients/client-service-catalog-appregistry/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-service-catalog-appregistry/tsconfig.types.json +++ b/clients/client-service-catalog-appregistry/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-service-catalog/package.json b/clients/client-service-catalog/package.json index 964b8e3241fb..22c7923372e6 100644 --- a/clients/client-service-catalog/package.json +++ b/clients/client-service-catalog/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-service-catalog/tsconfig.cjs.json b/clients/client-service-catalog/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-service-catalog/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-service-catalog/tsconfig.es.json +++ b/clients/client-service-catalog/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-service-catalog/tsconfig.json b/clients/client-service-catalog/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-service-catalog/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-service-catalog/tsconfig.types.json b/clients/client-service-catalog/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-service-catalog/tsconfig.types.json +++ b/clients/client-service-catalog/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-service-quotas/package.json b/clients/client-service-quotas/package.json index 95f3cf0ee110..6611917074a5 100644 --- a/clients/client-service-quotas/package.json +++ b/clients/client-service-quotas/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-service-quotas/tsconfig.cjs.json b/clients/client-service-quotas/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-service-quotas/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-service-quotas/tsconfig.es.json +++ b/clients/client-service-quotas/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-service-quotas/tsconfig.json b/clients/client-service-quotas/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-service-quotas/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-service-quotas/tsconfig.types.json b/clients/client-service-quotas/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-service-quotas/tsconfig.types.json +++ b/clients/client-service-quotas/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-servicediscovery/package.json b/clients/client-servicediscovery/package.json index fe92f9feaa28..37e573254f49 100644 --- a/clients/client-servicediscovery/package.json +++ b/clients/client-servicediscovery/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-servicediscovery/tsconfig.cjs.json b/clients/client-servicediscovery/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-servicediscovery/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-servicediscovery/tsconfig.es.json +++ b/clients/client-servicediscovery/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-servicediscovery/tsconfig.json b/clients/client-servicediscovery/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-servicediscovery/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-servicediscovery/tsconfig.types.json b/clients/client-servicediscovery/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-servicediscovery/tsconfig.types.json +++ b/clients/client-servicediscovery/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ses/package.json b/clients/client-ses/package.json index 0a137c0a8496..5fd1cff747a7 100644 --- a/clients/client-ses/package.json +++ b/clients/client-ses/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ses/tsconfig.cjs.json b/clients/client-ses/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ses/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ses/tsconfig.es.json +++ b/clients/client-ses/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ses/tsconfig.json b/clients/client-ses/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ses/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ses/tsconfig.types.json b/clients/client-ses/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ses/tsconfig.types.json +++ b/clients/client-ses/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sesv2/package.json b/clients/client-sesv2/package.json index 3507b3726ada..551a00bda1cd 100644 --- a/clients/client-sesv2/package.json +++ b/clients/client-sesv2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sesv2/tsconfig.cjs.json b/clients/client-sesv2/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sesv2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sesv2/tsconfig.es.json +++ b/clients/client-sesv2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sesv2/tsconfig.json b/clients/client-sesv2/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sesv2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sesv2/tsconfig.types.json b/clients/client-sesv2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sesv2/tsconfig.types.json +++ b/clients/client-sesv2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sfn/package.json b/clients/client-sfn/package.json index 4cccb19430a0..1724c85dd35d 100644 --- a/clients/client-sfn/package.json +++ b/clients/client-sfn/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sfn/tsconfig.cjs.json b/clients/client-sfn/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sfn/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sfn/tsconfig.es.json +++ b/clients/client-sfn/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sfn/tsconfig.json b/clients/client-sfn/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sfn/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sfn/tsconfig.types.json b/clients/client-sfn/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sfn/tsconfig.types.json +++ b/clients/client-sfn/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-shield/package.json b/clients/client-shield/package.json index bed4ddc88281..eabb4e743c99 100644 --- a/clients/client-shield/package.json +++ b/clients/client-shield/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-shield/tsconfig.cjs.json b/clients/client-shield/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-shield/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-shield/tsconfig.es.json +++ b/clients/client-shield/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-shield/tsconfig.json b/clients/client-shield/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-shield/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-shield/tsconfig.types.json b/clients/client-shield/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-shield/tsconfig.types.json +++ b/clients/client-shield/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-signer/package.json b/clients/client-signer/package.json index e8597bc0e89e..91766195e8f4 100644 --- a/clients/client-signer/package.json +++ b/clients/client-signer/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-signer/tsconfig.cjs.json b/clients/client-signer/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-signer/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-signer/tsconfig.es.json +++ b/clients/client-signer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-signer/tsconfig.json b/clients/client-signer/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-signer/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-signer/tsconfig.types.json b/clients/client-signer/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-signer/tsconfig.types.json +++ b/clients/client-signer/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sms/package.json b/clients/client-sms/package.json index 49303f1afe7d..70da97ace633 100644 --- a/clients/client-sms/package.json +++ b/clients/client-sms/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sms/tsconfig.cjs.json b/clients/client-sms/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sms/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sms/tsconfig.es.json +++ b/clients/client-sms/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sms/tsconfig.json b/clients/client-sms/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sms/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sms/tsconfig.types.json b/clients/client-sms/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sms/tsconfig.types.json +++ b/clients/client-sms/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-snow-device-management/package.json b/clients/client-snow-device-management/package.json index 4a060390ffad..3b4a8ef47f53 100644 --- a/clients/client-snow-device-management/package.json +++ b/clients/client-snow-device-management/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, 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..5c3b3307682f --- /dev/null +++ b/clients/client-snow-device-management/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 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", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "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 4dd6413bb0d1..000000000000 --- a/clients/client-snow-device-management/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-snow-device-management/tsconfig.types.json b/clients/client-snow-device-management/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-snow-device-management/tsconfig.types.json +++ b/clients/client-snow-device-management/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-snowball/package.json b/clients/client-snowball/package.json index ec43256dba8a..9f238288459a 100644 --- a/clients/client-snowball/package.json +++ b/clients/client-snowball/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-snowball/tsconfig.cjs.json b/clients/client-snowball/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-snowball/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-snowball/tsconfig.es.json +++ b/clients/client-snowball/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-snowball/tsconfig.json b/clients/client-snowball/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-snowball/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-snowball/tsconfig.types.json b/clients/client-snowball/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-snowball/tsconfig.types.json +++ b/clients/client-snowball/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sns/package.json b/clients/client-sns/package.json index 2faebac24a79..f2c23506f58a 100644 --- a/clients/client-sns/package.json +++ b/clients/client-sns/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sns/tsconfig.cjs.json b/clients/client-sns/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sns/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sns/tsconfig.es.json +++ b/clients/client-sns/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sns/tsconfig.json b/clients/client-sns/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sns/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sns/tsconfig.types.json b/clients/client-sns/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sns/tsconfig.types.json +++ b/clients/client-sns/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sqs/package.json b/clients/client-sqs/package.json index 704f870c2e0b..e6ca76c1d20e 100644 --- a/clients/client-sqs/package.json +++ b/clients/client-sqs/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -59,9 +59,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sqs/tsconfig.cjs.json b/clients/client-sqs/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sqs/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sqs/tsconfig.es.json +++ b/clients/client-sqs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sqs/tsconfig.json b/clients/client-sqs/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sqs/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sqs/tsconfig.types.json b/clients/client-sqs/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sqs/tsconfig.types.json +++ b/clients/client-sqs/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ssm-contacts/package.json b/clients/client-ssm-contacts/package.json index a3ed2ec17cf0..4602368364df 100644 --- a/clients/client-ssm-contacts/package.json +++ b/clients/client-ssm-contacts/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ssm-contacts/tsconfig.cjs.json b/clients/client-ssm-contacts/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ssm-contacts/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ssm-contacts/tsconfig.es.json +++ b/clients/client-ssm-contacts/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ssm-contacts/tsconfig.json b/clients/client-ssm-contacts/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ssm-contacts/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ssm-contacts/tsconfig.types.json b/clients/client-ssm-contacts/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ssm-contacts/tsconfig.types.json +++ b/clients/client-ssm-contacts/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ssm-incidents/package.json b/clients/client-ssm-incidents/package.json index ea3f44f4247e..69ddcc235da2 100644 --- a/clients/client-ssm-incidents/package.json +++ b/clients/client-ssm-incidents/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ssm-incidents/tsconfig.cjs.json b/clients/client-ssm-incidents/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ssm-incidents/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ssm-incidents/tsconfig.es.json +++ b/clients/client-ssm-incidents/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ssm-incidents/tsconfig.json b/clients/client-ssm-incidents/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ssm-incidents/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ssm-incidents/tsconfig.types.json b/clients/client-ssm-incidents/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ssm-incidents/tsconfig.types.json +++ b/clients/client-ssm-incidents/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-ssm/package.json b/clients/client-ssm/package.json index a5f6e40c6da1..4469694cc66d 100644 --- a/clients/client-ssm/package.json +++ b/clients/client-ssm/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-ssm/tsconfig.cjs.json b/clients/client-ssm/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-ssm/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-ssm/tsconfig.es.json +++ b/clients/client-ssm/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-ssm/tsconfig.json b/clients/client-ssm/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-ssm/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-ssm/tsconfig.types.json b/clients/client-ssm/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-ssm/tsconfig.types.json +++ b/clients/client-ssm/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sso-admin/package.json b/clients/client-sso-admin/package.json index a3e6e4c662bd..1a36dc592cf4 100644 --- a/clients/client-sso-admin/package.json +++ b/clients/client-sso-admin/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sso-admin/tsconfig.cjs.json b/clients/client-sso-admin/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sso-admin/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sso-admin/tsconfig.es.json +++ b/clients/client-sso-admin/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sso-admin/tsconfig.json b/clients/client-sso-admin/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sso-admin/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sso-admin/tsconfig.types.json b/clients/client-sso-admin/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sso-admin/tsconfig.types.json +++ b/clients/client-sso-admin/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sso-oidc/package.json b/clients/client-sso-oidc/package.json index fccf2d34c932..2587005bdd68 100644 --- a/clients/client-sso-oidc/package.json +++ b/clients/client-sso-oidc/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -52,9 +52,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sso-oidc/tsconfig.cjs.json b/clients/client-sso-oidc/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sso-oidc/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sso-oidc/tsconfig.es.json +++ b/clients/client-sso-oidc/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sso-oidc/tsconfig.json b/clients/client-sso-oidc/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sso-oidc/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sso-oidc/tsconfig.types.json b/clients/client-sso-oidc/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sso-oidc/tsconfig.types.json +++ b/clients/client-sso-oidc/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sso/package.json b/clients/client-sso/package.json index 842887567fdd..55b1728652e2 100644 --- a/clients/client-sso/package.json +++ b/clients/client-sso/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -52,9 +52,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sso/tsconfig.cjs.json b/clients/client-sso/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sso/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sso/tsconfig.es.json +++ b/clients/client-sso/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sso/tsconfig.json b/clients/client-sso/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sso/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sso/tsconfig.types.json b/clients/client-sso/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sso/tsconfig.types.json +++ b/clients/client-sso/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-storage-gateway/package.json b/clients/client-storage-gateway/package.json index fedfb4805fff..3a1d3a729b47 100644 --- a/clients/client-storage-gateway/package.json +++ b/clients/client-storage-gateway/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-storage-gateway/tsconfig.cjs.json b/clients/client-storage-gateway/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-storage-gateway/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-storage-gateway/tsconfig.es.json +++ b/clients/client-storage-gateway/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-storage-gateway/tsconfig.json b/clients/client-storage-gateway/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-storage-gateway/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-storage-gateway/tsconfig.types.json b/clients/client-storage-gateway/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-storage-gateway/tsconfig.types.json +++ b/clients/client-storage-gateway/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-sts/package.json b/clients/client-sts/package.json index 5eb29e15028a..0e21f6bd3146 100644 --- a/clients/client-sts/package.json +++ b/clients/client-sts/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-sts/tsconfig.cjs.json b/clients/client-sts/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-sts/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-sts/tsconfig.es.json +++ b/clients/client-sts/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-sts/tsconfig.json b/clients/client-sts/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-sts/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-sts/tsconfig.types.json b/clients/client-sts/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-sts/tsconfig.types.json +++ b/clients/client-sts/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-support/package.json b/clients/client-support/package.json index 8af83963d39e..b57515c43431 100644 --- a/clients/client-support/package.json +++ b/clients/client-support/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-support/tsconfig.cjs.json b/clients/client-support/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-support/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-support/tsconfig.es.json +++ b/clients/client-support/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-support/tsconfig.json b/clients/client-support/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-support/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-support/tsconfig.types.json b/clients/client-support/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-support/tsconfig.types.json +++ b/clients/client-support/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-swf/package.json b/clients/client-swf/package.json index 355358188bee..98837f541841 100644 --- a/clients/client-swf/package.json +++ b/clients/client-swf/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-swf/tsconfig.cjs.json b/clients/client-swf/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-swf/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-swf/tsconfig.es.json +++ b/clients/client-swf/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-swf/tsconfig.json b/clients/client-swf/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-swf/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-swf/tsconfig.types.json b/clients/client-swf/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-swf/tsconfig.types.json +++ b/clients/client-swf/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-synthetics/package.json b/clients/client-synthetics/package.json index dc5e4e293da3..d2562be0e0ca 100644 --- a/clients/client-synthetics/package.json +++ b/clients/client-synthetics/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-synthetics/tsconfig.cjs.json b/clients/client-synthetics/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-synthetics/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-synthetics/tsconfig.es.json +++ b/clients/client-synthetics/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-synthetics/tsconfig.json b/clients/client-synthetics/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-synthetics/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-synthetics/tsconfig.types.json b/clients/client-synthetics/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-synthetics/tsconfig.types.json +++ b/clients/client-synthetics/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-textract/package.json b/clients/client-textract/package.json index 184c7fe8f46e..2619abc70256 100644 --- a/clients/client-textract/package.json +++ b/clients/client-textract/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-textract/tsconfig.cjs.json b/clients/client-textract/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-textract/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-textract/tsconfig.es.json +++ b/clients/client-textract/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-textract/tsconfig.json b/clients/client-textract/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-textract/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-textract/tsconfig.types.json b/clients/client-textract/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-textract/tsconfig.types.json +++ b/clients/client-textract/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-timestream-query/package.json b/clients/client-timestream-query/package.json index 52a9a56108c1..94efcd5d79c0 100644 --- a/clients/client-timestream-query/package.json +++ b/clients/client-timestream-query/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-timestream-query/tsconfig.cjs.json b/clients/client-timestream-query/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-timestream-query/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-timestream-query/tsconfig.es.json +++ b/clients/client-timestream-query/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-timestream-query/tsconfig.json b/clients/client-timestream-query/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-timestream-query/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-timestream-query/tsconfig.types.json b/clients/client-timestream-query/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-timestream-query/tsconfig.types.json +++ b/clients/client-timestream-query/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-timestream-write/package.json b/clients/client-timestream-write/package.json index 78516abab6de..876bb244e9c1 100644 --- a/clients/client-timestream-write/package.json +++ b/clients/client-timestream-write/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-timestream-write/tsconfig.cjs.json b/clients/client-timestream-write/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-timestream-write/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-timestream-write/tsconfig.es.json +++ b/clients/client-timestream-write/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-timestream-write/tsconfig.json b/clients/client-timestream-write/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-timestream-write/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-timestream-write/tsconfig.types.json b/clients/client-timestream-write/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-timestream-write/tsconfig.types.json +++ b/clients/client-timestream-write/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-transcribe-streaming/package.json b/clients/client-transcribe-streaming/package.json index 524e1d10eb87..7fabb3f3ebc8 100644 --- a/clients/client-transcribe-streaming/package.json +++ b/clients/client-transcribe-streaming/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -63,9 +63,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-transcribe-streaming/tsconfig.cjs.json b/clients/client-transcribe-streaming/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-transcribe-streaming/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..23d5b0682410 100644 --- a/clients/client-transcribe-streaming/tsconfig.es.json +++ b/clients/client-transcribe-streaming/tsconfig.es.json @@ -1,11 +1,11 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "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"] + "exclude": ["test"], + "include": ["src/"] } diff --git a/clients/client-transcribe-streaming/tsconfig.json b/clients/client-transcribe-streaming/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-transcribe-streaming/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-transcribe-streaming/tsconfig.types.json b/clients/client-transcribe-streaming/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-transcribe-streaming/tsconfig.types.json +++ b/clients/client-transcribe-streaming/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-transcribe/package.json b/clients/client-transcribe/package.json index 838f387c89e0..cd9c1ca8b1c2 100644 --- a/clients/client-transcribe/package.json +++ b/clients/client-transcribe/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-transcribe/tsconfig.cjs.json b/clients/client-transcribe/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-transcribe/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-transcribe/tsconfig.es.json +++ b/clients/client-transcribe/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-transcribe/tsconfig.json b/clients/client-transcribe/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-transcribe/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-transcribe/tsconfig.types.json b/clients/client-transcribe/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-transcribe/tsconfig.types.json +++ b/clients/client-transcribe/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-transfer/package.json b/clients/client-transfer/package.json index dc76ea132774..2ba7ab1eb1d4 100644 --- a/clients/client-transfer/package.json +++ b/clients/client-transfer/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-transfer/tsconfig.cjs.json b/clients/client-transfer/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-transfer/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-transfer/tsconfig.es.json +++ b/clients/client-transfer/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-transfer/tsconfig.json b/clients/client-transfer/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-transfer/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-transfer/tsconfig.types.json b/clients/client-transfer/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-transfer/tsconfig.types.json +++ b/clients/client-transfer/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-translate/package.json b/clients/client-translate/package.json index 56ab756c513c..5a31847ab7b2 100644 --- a/clients/client-translate/package.json +++ b/clients/client-translate/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-translate/tsconfig.cjs.json b/clients/client-translate/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-translate/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-translate/tsconfig.es.json +++ b/clients/client-translate/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-translate/tsconfig.json b/clients/client-translate/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-translate/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-translate/tsconfig.types.json b/clients/client-translate/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-translate/tsconfig.types.json +++ b/clients/client-translate/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-voice-id/package.json b/clients/client-voice-id/package.json index f52e58c8436e..f2f6ca6b2198 100644 --- a/clients/client-voice-id/package.json +++ b/clients/client-voice-id/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-voice-id/tsconfig.cjs.json b/clients/client-voice-id/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-voice-id/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-voice-id/tsconfig.es.json +++ b/clients/client-voice-id/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-voice-id/tsconfig.json b/clients/client-voice-id/tsconfig.json deleted file mode 100644 index 3d15a85b2981..000000000000 --- a/clients/client-voice-id/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-voice-id/tsconfig.types.json b/clients/client-voice-id/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-voice-id/tsconfig.types.json +++ b/clients/client-voice-id/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-waf-regional/package.json b/clients/client-waf-regional/package.json index a6432ed6876e..228c6184004d 100644 --- a/clients/client-waf-regional/package.json +++ b/clients/client-waf-regional/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-waf-regional/tsconfig.cjs.json b/clients/client-waf-regional/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-waf-regional/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-waf-regional/tsconfig.es.json +++ b/clients/client-waf-regional/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-waf-regional/tsconfig.json b/clients/client-waf-regional/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-waf-regional/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-waf-regional/tsconfig.types.json b/clients/client-waf-regional/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-waf-regional/tsconfig.types.json +++ b/clients/client-waf-regional/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-waf/package.json b/clients/client-waf/package.json index c2bf690a7dd9..8d7443ce223a 100644 --- a/clients/client-waf/package.json +++ b/clients/client-waf/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-waf/tsconfig.cjs.json b/clients/client-waf/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-waf/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-waf/tsconfig.es.json +++ b/clients/client-waf/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-waf/tsconfig.json b/clients/client-waf/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-waf/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-waf/tsconfig.types.json b/clients/client-waf/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-waf/tsconfig.types.json +++ b/clients/client-waf/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-wafv2/package.json b/clients/client-wafv2/package.json index c3e9deba10f3..335ba073d0d0 100644 --- a/clients/client-wafv2/package.json +++ b/clients/client-wafv2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-wafv2/tsconfig.cjs.json b/clients/client-wafv2/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-wafv2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-wafv2/tsconfig.es.json +++ b/clients/client-wafv2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-wafv2/tsconfig.json b/clients/client-wafv2/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-wafv2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-wafv2/tsconfig.types.json b/clients/client-wafv2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-wafv2/tsconfig.types.json +++ b/clients/client-wafv2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-wellarchitected/package.json b/clients/client-wellarchitected/package.json index d6dcea82aad3..967ba1208fa8 100644 --- a/clients/client-wellarchitected/package.json +++ b/clients/client-wellarchitected/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-wellarchitected/tsconfig.cjs.json b/clients/client-wellarchitected/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-wellarchitected/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-wellarchitected/tsconfig.es.json +++ b/clients/client-wellarchitected/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-wellarchitected/tsconfig.json b/clients/client-wellarchitected/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-wellarchitected/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-wellarchitected/tsconfig.types.json b/clients/client-wellarchitected/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-wellarchitected/tsconfig.types.json +++ b/clients/client-wellarchitected/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-wisdom/package.json b/clients/client-wisdom/package.json index 08cc919fbf65..2896b5dad477 100644 --- a/clients/client-wisdom/package.json +++ b/clients/client-wisdom/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-wisdom/tsconfig.cjs.json b/clients/client-wisdom/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-wisdom/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-wisdom/tsconfig.es.json +++ b/clients/client-wisdom/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-wisdom/tsconfig.json b/clients/client-wisdom/tsconfig.json deleted file mode 100644 index 3d15a85b2981..000000000000 --- a/clients/client-wisdom/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-wisdom/tsconfig.types.json b/clients/client-wisdom/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-wisdom/tsconfig.types.json +++ b/clients/client-wisdom/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-workdocs/package.json b/clients/client-workdocs/package.json index b6e0a4181274..1d632c9bf734 100644 --- a/clients/client-workdocs/package.json +++ b/clients/client-workdocs/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-workdocs/tsconfig.cjs.json b/clients/client-workdocs/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-workdocs/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-workdocs/tsconfig.es.json +++ b/clients/client-workdocs/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-workdocs/tsconfig.json b/clients/client-workdocs/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-workdocs/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-workdocs/tsconfig.types.json b/clients/client-workdocs/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-workdocs/tsconfig.types.json +++ b/clients/client-workdocs/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-worklink/package.json b/clients/client-worklink/package.json index 710276d05bf1..ed1fc0dfcce7 100644 --- a/clients/client-worklink/package.json +++ b/clients/client-worklink/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-worklink/tsconfig.cjs.json b/clients/client-worklink/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-worklink/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-worklink/tsconfig.es.json +++ b/clients/client-worklink/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-worklink/tsconfig.json b/clients/client-worklink/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-worklink/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-worklink/tsconfig.types.json b/clients/client-worklink/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-worklink/tsconfig.types.json +++ b/clients/client-worklink/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-workmail/package.json b/clients/client-workmail/package.json index 93d3d46fdb58..0245c1c1e1d4 100644 --- a/clients/client-workmail/package.json +++ b/clients/client-workmail/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-workmail/tsconfig.cjs.json b/clients/client-workmail/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-workmail/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-workmail/tsconfig.es.json +++ b/clients/client-workmail/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-workmail/tsconfig.json b/clients/client-workmail/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-workmail/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-workmail/tsconfig.types.json b/clients/client-workmail/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-workmail/tsconfig.types.json +++ b/clients/client-workmail/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-workmailmessageflow/package.json b/clients/client-workmailmessageflow/package.json index 56b02688110d..2603dd34a830 100644 --- a/clients/client-workmailmessageflow/package.json +++ b/clients/client-workmailmessageflow/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-workmailmessageflow/tsconfig.cjs.json b/clients/client-workmailmessageflow/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-workmailmessageflow/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-workmailmessageflow/tsconfig.es.json +++ b/clients/client-workmailmessageflow/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-workmailmessageflow/tsconfig.json b/clients/client-workmailmessageflow/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-workmailmessageflow/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-workmailmessageflow/tsconfig.types.json b/clients/client-workmailmessageflow/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-workmailmessageflow/tsconfig.types.json +++ b/clients/client-workmailmessageflow/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-workspaces/package.json b/clients/client-workspaces/package.json index c70ed69ed65f..16db6352310f 100644 --- a/clients/client-workspaces/package.json +++ b/clients/client-workspaces/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-workspaces/tsconfig.cjs.json b/clients/client-workspaces/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-workspaces/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-workspaces/tsconfig.es.json +++ b/clients/client-workspaces/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-workspaces/tsconfig.json b/clients/client-workspaces/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-workspaces/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-workspaces/tsconfig.types.json b/clients/client-workspaces/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-workspaces/tsconfig.types.json +++ b/clients/client-workspaces/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/clients/client-xray/package.json b/clients/client-xray/package.json index b4a01ef2f0b1..34b9e748cedb 100644 --- a/clients/client-xray/package.json +++ b/clients/client-xray/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -55,9 +55,9 @@ "@aws-sdk/client-documentation-generator": "3.35.0", "@types/node": "^12.7.5", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/clients/client-xray/tsconfig.cjs.json b/clients/client-xray/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/clients/client-xray/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "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..1a6863945e75 100644 --- a/clients/client-xray/tsconfig.es.json +++ b/clients/client-xray/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/clients/client-xray/tsconfig.json b/clients/client-xray/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/clients/client-xray/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/clients/client-xray/tsconfig.types.json b/clients/client-xray/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/clients/client-xray/tsconfig.types.json +++ b/clients/client-xray/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/lib/lib-dynamodb/package.json b/lib/lib-dynamodb/package.json index fe5e37b25b47..9c09e9a5d0ae 100644 --- a/lib/lib-dynamodb/package.json +++ b/lib/lib-dynamodb/package.json @@ -34,9 +34,9 @@ "@aws-sdk/client-dynamodb": "3.35.0", "@aws-sdk/smithy-client": "3.35.0", "@aws-sdk/types": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^14.11.2", - "jest": "^26.4.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "typesVersions": { diff --git a/lib/lib-storage/package.json b/lib/lib-storage/package.json index 1c75e383ef67..06cb485f5321 100644 --- a/lib/lib-storage/package.json +++ b/lib/lib-storage/package.json @@ -33,16 +33,16 @@ "devDependencies": { "@aws-sdk/abort-controller": "3.35.0", "@aws-sdk/client-s3": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^14.11.2", "jasmine-core": "^3.6.0", - "jest": "^26.4.2", + "jest": "^27.2.4", "karma": "^5.2.3", "karma-chrome-launcher": "^3.1.0", "karma-jasmine": "^4.0.1", "karma-spec-reporter": "^0.0.32", "karma-typescript": "^5.2.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typescript": "~4.3.5", "web-streams-polyfill": "^3.0.0" }, diff --git a/lib/lib-storage/src/Upload.spec.ts b/lib/lib-storage/src/Upload.spec.ts index ba1a5195e2a5..bc36138ccbf5 100644 --- a/lib/lib-storage/src/Upload.spec.ts +++ b/lib/lib-storage/src/Upload.spec.ts @@ -37,9 +37,10 @@ jest.mock("@aws-sdk/client-s3", () => ({ })); import { S3 } from "@aws-sdk/client-s3"; -import { Upload, Progress } from "./index"; import { Readable } from "stream"; +import { Progress, Upload } from "./index"; + const DEFAULT_PART_SIZE = 1024 * 1024 * 5; describe(Upload.name, () => { @@ -61,7 +62,7 @@ describe(Upload.name, () => { Body: "this-is-a-sample-payload", }; - it("correctly exposes the event emitter API", (done) => { + it("correctly exposes the event emitter API", () => { const upload = new Upload({ params, client: new S3({}), @@ -71,11 +72,9 @@ describe(Upload.name, () => { expect(upload.eventNames).toBeDefined(); expect(upload.off).toBeDefined(); expect(upload.on).toBeDefined(); - - done(); }); - it("should upload using PUT when empty buffer", async (done) => { + it("should upload using PUT when empty buffer", async () => { const buffer = Buffer.from(""); const actionParams = { ...params, Body: buffer }; const upload = new Upload({ @@ -100,11 +99,9 @@ describe(Upload.name, () => { expect(completeMultipartMock).toHaveBeenCalledTimes(0); // no tags were passed. expect(putObjectTaggingMock).toHaveBeenCalledTimes(0); - - done(); }); - it("should upload using PUT when empty stream", async (done) => { + it("should upload using PUT when empty stream", async () => { const stream = new Readable({}); stream.push(null); const actionParams = { ...params, Body: stream }; @@ -130,11 +127,9 @@ describe(Upload.name, () => { expect(completeMultipartMock).toHaveBeenCalledTimes(0); // no tags were passed. expect(putObjectTaggingMock).toHaveBeenCalledTimes(0); - - done(); }); - it("should upload using PUT when parts are smaller than one part", async (done) => { + it("should upload using PUT when parts are smaller than one part", async () => { const upload = new Upload({ params, client: new S3({}), @@ -157,11 +152,9 @@ describe(Upload.name, () => { expect(completeMultipartMock).toHaveBeenCalledTimes(0); // no tags were passed. expect(putObjectTaggingMock).toHaveBeenCalledTimes(0); - - done(); }); - it("should upload using PUT when parts are smaller than one part stream", async (done) => { + it("should upload using PUT when parts are smaller than one part stream", async () => { const streamBody = Readable.from( (function* () { yield params.Body; @@ -189,11 +182,9 @@ describe(Upload.name, () => { expect(completeMultipartMock).toHaveBeenCalledTimes(0); // no tags were passed. expect(putObjectTaggingMock).toHaveBeenCalledTimes(0); - - done(); }); - it("should upload using multi-part when parts are larger than part size", async (done) => { + it("should upload using multi-part when parts are larger than part size", async () => { // create a string that's larger than 5MB. const partSize = 1024 * 1024 * 5; const largeBuffer = Buffer.from("#".repeat(partSize + 10)); @@ -255,10 +246,9 @@ describe(Upload.name, () => { expect(putObjectTaggingMock).toHaveBeenCalledTimes(0); // put was not called expect(putObjectMock).toHaveBeenCalledTimes(0); - done(); }); - it("should upload using multi-part when parts are larger than part size stream", async (done) => { + it("should upload using multi-part when parts are larger than part size stream", async () => { // create a string that's larger than 5MB. const largeBuffer = Buffer.from("#".repeat(DEFAULT_PART_SIZE + 10)); const firstBuffer = largeBuffer.subarray(0, DEFAULT_PART_SIZE); @@ -324,10 +314,9 @@ describe(Upload.name, () => { expect(putObjectTaggingMock).toHaveBeenCalledTimes(0); // put was not called expect(putObjectMock).toHaveBeenCalledTimes(0); - done(); }); - it("should add tags to the object if tags have been added PUT", async (done) => { + it("should add tags to the object if tags have been added PUT", async () => { const tags = [ { Key: "k1", @@ -357,11 +346,9 @@ describe(Upload.name, () => { TagSet: tags, }, }); - - done(); }); - it("should add tags to the object if tags have been added multi-part", async (done) => { + it("should add tags to the object if tags have been added multi-part", async () => { const largeBuffer = Buffer.from("#".repeat(DEFAULT_PART_SIZE + 10)); const actionParams = { ...params, Body: largeBuffer }; const tags = [ @@ -393,44 +380,35 @@ describe(Upload.name, () => { TagSet: tags, }, }); - - done(); }); - it("should validate partsize", async (done) => { + it("should validate partsize", () => { try { - const upload = new Upload({ + new Upload({ params, partSize: 6, client: new S3({}), }); - - //should not get here. - expect(1).toEqual(0); + fail(); } catch (error) { expect(error).toBeDefined(); - done(); } }); - it("should validate queue size", (done) => { + it("should validate queue size", () => { try { - const upload = new Upload({ + new Upload({ params, queueSize: -1, client: new S3({}), }); - - //should not get here. - expect(1).toEqual(0); + fail(); } catch (error) { expect(error).toBeDefined(); - done(); } - done(); }); - it("should provide progress updates", async (done) => { + it("should provide progress updates", async () => { const upload = new Upload({ params, client: new S3({}), @@ -444,12 +422,11 @@ describe(Upload.name, () => { part: 1, total: 24, }); - done(); }); await upload.done(); }); - it("should provide progress updates multi-part buffer", async (done) => { + it("should provide progress updates multi-part buffer", async () => { const partSize = 1024 * 1024 * 5; const largeBuffer = Buffer.from("#".repeat(partSize + 10)); const firstBuffer = largeBuffer.subarray(0, partSize); @@ -459,7 +436,7 @@ describe(Upload.name, () => { client: new S3({}), }); - let received = []; + const received = []; upload.on("httpUploadProgress", (progress: Progress) => { received.push(progress); }); @@ -479,10 +456,9 @@ describe(Upload.name, () => { total: largeBuffer.byteLength, }); expect(received.length).toBe(2); - done(); }); - it("should provide progress updates multi-part stream", async (done) => { + it("should provide progress updates multi-part stream", async () => { const partSize = 1024 * 1024 * 5; const largeBuffer = Buffer.from("#".repeat(partSize + 10)); const streamBody = Readable.from( @@ -496,7 +472,7 @@ describe(Upload.name, () => { client: new S3({}), }); - let received = []; + const received = []; upload.on("httpUploadProgress", (progress: Progress) => { received.push(progress); }); @@ -516,10 +492,9 @@ describe(Upload.name, () => { total: undefined, }); expect(received.length).toBe(2); - done(); }); - it("should provide progress updates empty buffer", async (done) => { + it("should provide progress updates empty buffer", async () => { const buffer = Buffer.from(""); const actionParams = { ...params, Body: buffer }; const upload = new Upload({ @@ -527,7 +502,7 @@ describe(Upload.name, () => { client: new S3({}), }); - let received = []; + const received = []; upload.on("httpUploadProgress", (progress: Progress) => { received.push(progress); }); @@ -540,10 +515,9 @@ describe(Upload.name, () => { total: 0, }); expect(received.length).toBe(1); - done(); }); - it("should provide progress updates empty stream", async (done) => { + it("should provide progress updates empty stream", async () => { const stream = Readable.from((function* () {})()); const actionParams = { ...params, Body: stream }; const upload = new Upload({ @@ -551,7 +525,7 @@ describe(Upload.name, () => { client: new S3({}), }); - let received = []; + const received = []; upload.on("httpUploadProgress", (progress: Progress) => { received.push(progress); }); @@ -564,6 +538,5 @@ describe(Upload.name, () => { total: 0, }); expect(received.length).toBe(1); - done(); }); }); diff --git a/lib/lib-storage/src/chunks/getChunkBuffer.spec.ts b/lib/lib-storage/src/chunks/getChunkBuffer.spec.ts index 3bb5ee763097..8f4335dcdc81 100644 --- a/lib/lib-storage/src/chunks/getChunkBuffer.spec.ts +++ b/lib/lib-storage/src/chunks/getChunkBuffer.spec.ts @@ -5,7 +5,7 @@ describe.only(getChunkBuffer.name, () => { const getBuffer = (size: number) => Buffer.from("#".repeat(size)); describe("Buffer chunking", () => { - it("should come back with small sub buffers", async (done) => { + it("should come back with small sub buffers", async () => { const chunklength = 100; const totalLength = 1000; const buffer = getBuffer(totalLength); @@ -25,10 +25,9 @@ describe.only(getChunkBuffer.name, () => { } expect(chunkNum).toEqual(expectedNumberOfChunks); - done(); }); - it("should come back with the last chunk the remainder size", async (done) => { + it("should come back with the last chunk the remainder size", async () => { const chunklength = 1000; const totalLength = 2200; const buffer = getBuffer(totalLength); @@ -46,10 +45,9 @@ describe.only(getChunkBuffer.name, () => { expect(chunks[1].lastPart).toBe(undefined); expect(byteLength(chunks[2].data)).toBe(totalLength % chunklength); expect(chunks[2].lastPart).toBe(true); - done(); }); - it("should come back with one chunk if it is a small buffer", async (done) => { + it("should come back with one chunk if it is a small buffer", async () => { const chunklength = 1000; const totalLength = 200; const buffer = getBuffer(totalLength); @@ -63,7 +61,6 @@ describe.only(getChunkBuffer.name, () => { expect(chunks.length).toEqual(1); expect(byteLength(chunks[0].data)).toBe(totalLength % chunklength); expect(chunks[0].lastPart).toBe(true); - done(); }); }); }); diff --git a/lib/lib-storage/src/chunks/getDataReadable.spec.ts b/lib/lib-storage/src/chunks/getDataReadable.spec.ts index c64c3682c14c..d33e974b2dff 100644 --- a/lib/lib-storage/src/chunks/getDataReadable.spec.ts +++ b/lib/lib-storage/src/chunks/getDataReadable.spec.ts @@ -1,8 +1,9 @@ import { Readable } from "stream"; + import { byteLength } from "../bytelength"; +import { RawDataPart as DataPart } from "../Upload"; import { getChunkStream as chunkFromReadable } from "./getChunkStream"; import { getDataReadable } from "./getDataReadable"; -import { RawDataPart as DataPart } from "../Upload"; const fs = require("fs"); @@ -31,7 +32,7 @@ describe(chunkFromReadable.name, () => { return chunks; }; - it("should return chunks of a specific size", async (done) => { + it("should return chunks of a specific size", async () => { const chunks = await getChunks(58, 1, 20); expect(chunks.length).toBe(3); @@ -46,10 +47,9 @@ describe(chunkFromReadable.name, () => { expect(byteLength(chunks[2].data)).toEqual(18); expect(chunks[2].partNumber).toEqual(3); expect(chunks[2].lastPart).toBe(true); - done(); }); - it("should properly chunk a file", async (done) => { + it("should properly chunk a file", async () => { const fileStream = fs.createReadStream(__dirname + "/sample.file"); const chunks: DataPart[] = []; const chunker = chunkFromReadable(fileStream, _6MB, getDataReadable); @@ -61,10 +61,9 @@ describe(chunkFromReadable.name, () => { expect(byteLength(chunks[0].data)).toEqual(byteLength(fileStream)); expect(chunks[0].partNumber).toEqual(1); expect(chunks[0].lastPart).toBe(true); - done(); }); - it("should properly chunk a large stream of unknown size", async (done) => { + it("should properly chunk a large stream of unknown size", async () => { //should go into 11 chunks. Each with ~6mb and the last with 3mb const chunks = await getChunks(_6MB / 2, 21, _6MB); @@ -75,6 +74,5 @@ describe(chunkFromReadable.name, () => { } expect(byteLength(chunks[10].data)).toEqual(_6MB / 2); expect(chunks[10].lastPart).toBe(true); - done(); }); }); diff --git a/lib/lib-storage/src/chunks/getDataReadableStream.spec.ts b/lib/lib-storage/src/chunks/getDataReadableStream.spec.ts index 084f7f345ca6..ad75495bb330 100644 --- a/lib/lib-storage/src/chunks/getDataReadableStream.spec.ts +++ b/lib/lib-storage/src/chunks/getDataReadableStream.spec.ts @@ -35,18 +35,16 @@ describe("chunkFromReadable.name", () => { return chunks; }; - it("should a single chunk if the stream is smaller than partsize", async (done) => { + it("should a single chunk if the stream is smaller than partsize", async () => { const chunks = await getChunks(34, 2, 100); expect(chunks.length).toBe(1); expect(byteLength(chunks[0].data)).toEqual(68); expect(chunks[0].partNumber).toEqual(1); expect(chunks[0].lastPart).toBe(true); - - done(); }); - it("should return chunks of a specific size", async (done) => { + it("should return chunks of a specific size", async () => { const chunks = await getChunks(58, 1, 20); expect(chunks.length).toBe(3); @@ -61,10 +59,9 @@ describe("chunkFromReadable.name", () => { expect(byteLength(chunks[2].data)).toEqual(18); expect(chunks[2].partNumber).toEqual(3); expect(chunks[2].lastPart).toBe(true); - done(); }); - it("should properly chunk a large stream of unknown size", async (done) => { + it("should properly chunk a large stream of unknown size", async () => { const chunks = await getChunks(_6MB / 2, 21, _6MB); expect(chunks.length).toEqual(11); @@ -74,6 +71,5 @@ describe("chunkFromReadable.name", () => { } expect(byteLength(chunks[10].data)).toEqual(_6MB / 2); expect(chunks[10].lastPart).toBe(true); - done(); }); }); diff --git a/package.json b/package.json index 180f8db2ecbf..554df1e00984 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@mixer/parallel-prettier": "^2.0.1", "@types/chai-as-promised": "^7.1.2", "@types/fs-extra": "^8.0.1", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@typescript-eslint/eslint-plugin": "4.30.0", "@typescript-eslint/parser": "4.30.0", "async": "3.2.1", @@ -69,7 +69,7 @@ "generate-changelog": "^1.7.1", "husky": "^4.2.3", "jasmine-core": "^3.5.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "jmespath": "^0.15.0", "json5": "^2.2.0", "karma": "^5.1.0", @@ -89,7 +89,7 @@ "prettier": "2.3.0", "puppeteer": "^5.1.0", "strip-comments": "2.0.1", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "ts-loader": "^7.0.5", "ts-mocha": "8.0.0", "typedoc-plugin-lerna-packages": "^0.3.1", diff --git a/packages/abort-controller/package.json b/packages/abort-controller/package.json index 3a5196719b81..ee270827cee2 100644 --- a/packages/abort-controller/package.json +++ b/packages/abort-controller/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/body-checksum-browser/jest.config.js b/packages/body-checksum-browser/jest.config.js index a8d1c2e49912..bd895a5df03e 100644 --- a/packages/body-checksum-browser/jest.config.js +++ b/packages/body-checksum-browser/jest.config.js @@ -2,4 +2,5 @@ const base = require("../../jest.config.base.js"); module.exports = { ...base, + testEnvironment: "jsdom", }; diff --git a/packages/body-checksum-browser/package.json b/packages/body-checksum-browser/package.json index c0c6b6848a90..38c903499713 100644 --- a/packages/body-checksum-browser/package.json +++ b/packages/body-checksum-browser/package.json @@ -28,8 +28,8 @@ "devDependencies": { "@aws-crypto/sha256-js": "^1.0.0", "@aws-sdk/util-utf8-browser": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "typesVersions": { diff --git a/packages/body-checksum-node/package.json b/packages/body-checksum-node/package.json index 1cdec7199680..f1d16d38cabc 100644 --- a/packages/body-checksum-node/package.json +++ b/packages/body-checksum-node/package.json @@ -29,8 +29,8 @@ "devDependencies": { "@aws-crypto/sha256-js": "^1.0.0", "@aws-sdk/util-utf8-node": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/chunked-blob-reader-native/jest.config.js b/packages/chunked-blob-reader-native/jest.config.js index a8d1c2e49912..bd895a5df03e 100644 --- a/packages/chunked-blob-reader-native/jest.config.js +++ b/packages/chunked-blob-reader-native/jest.config.js @@ -2,4 +2,5 @@ const base = require("../../jest.config.base.js"); module.exports = { ...base, + testEnvironment: "jsdom", }; diff --git a/packages/chunked-blob-reader-native/package.json b/packages/chunked-blob-reader-native/package.json index a494a43eeb59..07918cbc42b1 100644 --- a/packages/chunked-blob-reader-native/package.json +++ b/packages/chunked-blob-reader-native/package.json @@ -22,8 +22,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "typesVersions": { diff --git a/packages/chunked-blob-reader/jest.config.js b/packages/chunked-blob-reader/jest.config.js index a8d1c2e49912..bd895a5df03e 100644 --- a/packages/chunked-blob-reader/jest.config.js +++ b/packages/chunked-blob-reader/jest.config.js @@ -2,4 +2,5 @@ const base = require("../../jest.config.base.js"); module.exports = { ...base, + testEnvironment: "jsdom", }; diff --git a/packages/chunked-blob-reader/package.json b/packages/chunked-blob-reader/package.json index 5c9b95c6c64f..57b6aca47517 100644 --- a/packages/chunked-blob-reader/package.json +++ b/packages/chunked-blob-reader/package.json @@ -21,8 +21,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "typesVersions": { diff --git a/packages/chunked-stream-reader-node/package.json b/packages/chunked-stream-reader-node/package.json index 51a162602aa5..4f0937640544 100644 --- a/packages/chunked-stream-reader-node/package.json +++ b/packages/chunked-stream-reader-node/package.json @@ -21,9 +21,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/client-documentation-generator/package.json b/packages/client-documentation-generator/package.json index e338c9c08dd9..c2cb745ecac4 100644 --- a/packages/client-documentation-generator/package.json +++ b/packages/client-documentation-generator/package.json @@ -24,9 +24,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/packages/config-resolver/package.json b/packages/config-resolver/package.json index 865135b3b2e9..52c92f76772c 100644 --- a/packages/config-resolver/package.json +++ b/packages/config-resolver/package.json @@ -19,8 +19,8 @@ "license": "Apache-2.0", "devDependencies": { "@aws-sdk/node-config-provider": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "dependencies": { diff --git a/packages/core-packages-documentation-generator/package.json b/packages/core-packages-documentation-generator/package.json index 74a18bb4f31d..f23f566f1f02 100644 --- a/packages/core-packages-documentation-generator/package.json +++ b/packages/core-packages-documentation-generator/package.json @@ -24,9 +24,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/packages/credential-provider-cognito-identity/package.json b/packages/credential-provider-cognito-identity/package.json index 6d6518ed4487..0a6d0b93b191 100644 --- a/packages/credential-provider-cognito-identity/package.json +++ b/packages/credential-provider-cognito-identity/package.json @@ -25,8 +25,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/credential-provider-cognito-identity/src/localStorage-inmemoryStorage.spec.ts b/packages/credential-provider-cognito-identity/src/localStorage-inmemoryStorage.spec.ts index 1735e066c772..f58dca72e042 100644 --- a/packages/credential-provider-cognito-identity/src/localStorage-inmemoryStorage.spec.ts +++ b/packages/credential-provider-cognito-identity/src/localStorage-inmemoryStorage.spec.ts @@ -2,17 +2,23 @@ import { InMemoryStorage } from "./InMemoryStorage"; import { localStorage as storage } from "./localStorage"; describe("localStorage", () => { + let self: any = {}; // eslint-disable-line prefer-const + let window: any = {}; // eslint-disable-line prefer-const + // set store and restore indexedDB and localStorage before and after the test let indexDB: any = undefined; let localStorage: any = undefined; + beforeEach(() => { if (typeof self === "object") indexDB = self.indexedDB; if (typeof window === "object") localStorage = window.localStorage; }); + afterEach(() => { if (typeof self === "object") defineProperty(self, "indexedDB", indexDB); if (typeof window === "object") defineProperty(window, "localStorage", localStorage); }); + it("should return an in-memory storage implementation when indexDB or localStorage is not available", () => { defineProperty(self, "indexedDB", null); defineProperty(window, "localStorage", null); diff --git a/packages/credential-provider-cognito-identity/src/localStorage.spec.ts b/packages/credential-provider-cognito-identity/src/localStorage.spec.ts index 4b3a5c9e1f48..e2a87b184d77 100644 --- a/packages/credential-provider-cognito-identity/src/localStorage.spec.ts +++ b/packages/credential-provider-cognito-identity/src/localStorage.spec.ts @@ -1,3 +1,6 @@ +/** + * @jest-environment jsdom + */ import { IndexedDbStorage } from "./IndexedDbStorage"; import { localStorage } from "./localStorage"; diff --git a/packages/credential-provider-env/package.json b/packages/credential-provider-env/package.json index fa2c68d423b1..c9aff2504c3c 100644 --- a/packages/credential-provider-env/package.json +++ b/packages/credential-provider-env/package.json @@ -27,9 +27,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/credential-provider-imds/package.json b/packages/credential-provider-imds/package.json index 142f2863ba79..a5eae0b51ea2 100644 --- a/packages/credential-provider-imds/package.json +++ b/packages/credential-provider-imds/package.json @@ -29,9 +29,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "nock": "^13.0.2", "typescript": "~4.3.5" }, diff --git a/packages/credential-provider-ini/package.json b/packages/credential-provider-ini/package.json index 96b6d0df729f..d5e850160a7f 100644 --- a/packages/credential-provider-ini/package.json +++ b/packages/credential-provider-ini/package.json @@ -33,9 +33,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/credential-provider-node/package.json b/packages/credential-provider-node/package.json index ef1a2fad8b24..5eca1271f2cf 100644 --- a/packages/credential-provider-node/package.json +++ b/packages/credential-provider-node/package.json @@ -38,9 +38,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/credential-provider-process/package.json b/packages/credential-provider-process/package.json index 64c4bc55a1e4..0c9d421cbed1 100644 --- a/packages/credential-provider-process/package.json +++ b/packages/credential-provider-process/package.json @@ -29,9 +29,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/credential-provider-sso/package.json b/packages/credential-provider-sso/package.json index 81288e128a20..853de1a38a25 100644 --- a/packages/credential-provider-sso/package.json +++ b/packages/credential-provider-sso/package.json @@ -30,9 +30,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/credential-provider-web-identity/package.json b/packages/credential-provider-web-identity/package.json index 3c0164cbd502..d5c15eacef62 100644 --- a/packages/credential-provider-web-identity/package.json +++ b/packages/credential-provider-web-identity/package.json @@ -27,9 +27,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/credential-providers/package.json b/packages/credential-providers/package.json index b58b5e7587f8..72656d198f2a 100644 --- a/packages/credential-providers/package.json +++ b/packages/credential-providers/package.json @@ -54,9 +54,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/endpoint-cache/package.json b/packages/endpoint-cache/package.json index ffbfb4afaa04..cbf1a25af946 100644 --- a/packages/endpoint-cache/package.json +++ b/packages/endpoint-cache/package.json @@ -22,9 +22,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/eventstream-handler-node/package.json b/packages/eventstream-handler-node/package.json index 4f95b920fdcb..480643216bdf 100644 --- a/packages/eventstream-handler-node/package.json +++ b/packages/eventstream-handler-node/package.json @@ -24,8 +24,8 @@ }, "devDependencies": { "@aws-sdk/util-utf8-node": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/eventstream-handler-node/src/EventStreamPayloadHandler.spec.ts b/packages/eventstream-handler-node/src/EventStreamPayloadHandler.spec.ts index e466ec9d5407..151af4f0dffc 100644 --- a/packages/eventstream-handler-node/src/EventStreamPayloadHandler.spec.ts +++ b/packages/eventstream-handler-node/src/EventStreamPayloadHandler.spec.ts @@ -1,4 +1,6 @@ +import { once } from "events"; import { PassThrough, Readable } from "stream"; + const mockSingingStream = jest.fn().mockImplementation(() => new PassThrough()); jest.mock("./EventSigningStream", () => ({ EventSigningStream: mockSingingStream, @@ -33,7 +35,7 @@ describe("EventStreamPayloadHandler", () => { ).rejects.toThrow("Eventstream payload must be a Readable stream."); }); - it("should close the request payload if downstream middleware throws", async (done) => { + it("should close the request payload if downstream middleware throws", async () => { expect.assertions(2); (mockNextHandler as any).mockImplementationOnce(() => Promise.reject(new Error())); const handler = new EventStreamPayloadHandler({ @@ -52,13 +54,15 @@ describe("EventStreamPayloadHandler", () => { error = e; } expect(error instanceof Error).toBe(true); - //Expect stream is closed - //Ref: should use writableEnded when bumped to Node 13+ + + // Expect stream is closed + // Ref: should use writableEnded when bumped to Node 13+ (mockRequest.body as PassThrough).on("error", (err) => { expect(err.message).toEqual("write after end"); - done(); }); + mockRequest.body.write("This should be allowed to write."); + await once(mockRequest.body, "error"); }); it("should call event signer with request signature from signing middleware", async () => { diff --git a/packages/eventstream-marshaller/package.json b/packages/eventstream-marshaller/package.json index 309f8d6c435f..33805775656c 100644 --- a/packages/eventstream-marshaller/package.json +++ b/packages/eventstream-marshaller/package.json @@ -26,9 +26,9 @@ "devDependencies": { "@aws-sdk/util-utf8-browser": "3.35.0", "@aws-sdk/util-utf8-node": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "browser": { diff --git a/packages/eventstream-serde-browser/package.json b/packages/eventstream-serde-browser/package.json index ab41c827cadd..5f413540e329 100644 --- a/packages/eventstream-serde-browser/package.json +++ b/packages/eventstream-serde-browser/package.json @@ -24,8 +24,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/eventstream-serde-config-resolver/package.json b/packages/eventstream-serde-config-resolver/package.json index 485eb1faede7..b9e406441850 100644 --- a/packages/eventstream-serde-config-resolver/package.json +++ b/packages/eventstream-serde-config-resolver/package.json @@ -22,8 +22,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/eventstream-serde-node/package.json b/packages/eventstream-serde-node/package.json index a1cb9b68d172..bb4a6a182dfc 100644 --- a/packages/eventstream-serde-node/package.json +++ b/packages/eventstream-serde-node/package.json @@ -25,8 +25,8 @@ }, "devDependencies": { "@aws-sdk/util-utf8-node": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/eventstream-serde-universal/package.json b/packages/eventstream-serde-universal/package.json index ed28ffe52065..02e086e694fd 100644 --- a/packages/eventstream-serde-universal/package.json +++ b/packages/eventstream-serde-universal/package.json @@ -24,8 +24,8 @@ }, "devDependencies": { "@aws-sdk/util-utf8-node": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/fetch-http-handler/jest.config.js b/packages/fetch-http-handler/jest.config.js index 6f17d844efe6..e29c0e8a0cde 100644 --- a/packages/fetch-http-handler/jest.config.js +++ b/packages/fetch-http-handler/jest.config.js @@ -2,5 +2,6 @@ const base = require("../../jest.config.base.js"); module.exports = { ...base, + testEnvironment: "jsdom", testPathIgnorePatterns: ["/node_modules/", "(.*).browser.spec.js"], }; diff --git a/packages/fetch-http-handler/package.json b/packages/fetch-http-handler/package.json index c2f98587e94e..0de569699d18 100644 --- a/packages/fetch-http-handler/package.json +++ b/packages/fetch-http-handler/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "@aws-sdk/abort-controller": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "typescript": "~4.3.5" }, "typesVersions": { diff --git a/packages/hash-blob-browser/jest.config.js b/packages/hash-blob-browser/jest.config.js index a8d1c2e49912..bd895a5df03e 100644 --- a/packages/hash-blob-browser/jest.config.js +++ b/packages/hash-blob-browser/jest.config.js @@ -2,4 +2,5 @@ const base = require("../../jest.config.base.js"); module.exports = { ...base, + testEnvironment: "jsdom", }; diff --git a/packages/hash-blob-browser/package.json b/packages/hash-blob-browser/package.json index 1c45bb3c0c1a..549b0f8b0913 100644 --- a/packages/hash-blob-browser/package.json +++ b/packages/hash-blob-browser/package.json @@ -26,8 +26,8 @@ "devDependencies": { "@aws-crypto/sha256-js": "^1.0.0", "@aws-sdk/util-hex-encoding": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "react-native": { diff --git a/packages/hash-node/package.json b/packages/hash-node/package.json index 422b6dd0aa3f..2a36e5583676 100644 --- a/packages/hash-node/package.json +++ b/packages/hash-node/package.json @@ -18,10 +18,10 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", "hash-test-vectors": "^1.3.2", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "dependencies": { diff --git a/packages/hash-stream-node/package.json b/packages/hash-stream-node/package.json index c634702ae141..75e7655e8e0e 100644 --- a/packages/hash-stream-node/package.json +++ b/packages/hash-stream-node/package.json @@ -24,9 +24,9 @@ "devDependencies": { "@aws-crypto/sha256-js": "^1.0.0", "@aws-sdk/util-hex-encoding": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/invalid-dependency/package.json b/packages/invalid-dependency/package.json index 294a3deceb9a..42dd534c5045 100644 --- a/packages/invalid-dependency/package.json +++ b/packages/invalid-dependency/package.json @@ -22,8 +22,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "typesVersions": { diff --git a/packages/is-array-buffer/package.json b/packages/is-array-buffer/package.json index 16837ee98917..f1534e747852 100644 --- a/packages/is-array-buffer/package.json +++ b/packages/is-array-buffer/package.json @@ -18,8 +18,8 @@ "main": "./dist-cjs/index.js", "module": "./dist-es/index.js", "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/karma-credential-loader/package.json b/packages/karma-credential-loader/package.json index e18dca792a28..7ef1d7a94f6a 100644 --- a/packages/karma-credential-loader/package.json +++ b/packages/karma-credential-loader/package.json @@ -22,9 +22,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/md5-js/package.json b/packages/md5-js/package.json index d94f6dab0827..08c1de4ce375 100644 --- a/packages/md5-js/package.json +++ b/packages/md5-js/package.json @@ -21,10 +21,10 @@ "@aws-sdk/util-base64-browser": "3.35.0", "@aws-sdk/util-base64-node": "3.35.0", "@aws-sdk/util-hex-encoding": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", "hash-test-vectors": "^1.3.2", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "dependencies": { diff --git a/packages/middleware-apply-body-checksum/package.json b/packages/middleware-apply-body-checksum/package.json index 9d6530f680fd..69ee8bf1ea78 100644 --- a/packages/middleware-apply-body-checksum/package.json +++ b/packages/middleware-apply-body-checksum/package.json @@ -24,8 +24,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-bucket-endpoint/package.json b/packages/middleware-bucket-endpoint/package.json index a851c5db03c0..1de30a067880 100644 --- a/packages/middleware-bucket-endpoint/package.json +++ b/packages/middleware-bucket-endpoint/package.json @@ -26,8 +26,8 @@ "devDependencies": { "@aws-sdk/middleware-stack": "3.35.0", "@aws-sdk/node-config-provider": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-content-length/package.json b/packages/middleware-content-length/package.json index c98a0c38ff4d..3ab2f0ef3433 100644 --- a/packages/middleware-content-length/package.json +++ b/packages/middleware-content-length/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-endpoint-discovery/package.json b/packages/middleware-endpoint-discovery/package.json index 2179eecd9776..fa65f965d41f 100644 --- a/packages/middleware-endpoint-discovery/package.json +++ b/packages/middleware-endpoint-discovery/package.json @@ -19,8 +19,8 @@ "license": "Apache-2.0", "devDependencies": { "@aws-sdk/node-config-provider": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "dependencies": { diff --git a/packages/middleware-eventstream/package.json b/packages/middleware-eventstream/package.json index 9d20e7fe88c5..42ca5c5b983a 100644 --- a/packages/middleware-eventstream/package.json +++ b/packages/middleware-eventstream/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-expect-continue/package.json b/packages/middleware-expect-continue/package.json index a3094bb7a8e3..8972dfcc9b38 100644 --- a/packages/middleware-expect-continue/package.json +++ b/packages/middleware-expect-continue/package.json @@ -24,8 +24,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-header-default/package.json b/packages/middleware-header-default/package.json index ee07d29ebdda..5ff68ddff7f4 100644 --- a/packages/middleware-header-default/package.json +++ b/packages/middleware-header-default/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-host-header/package.json b/packages/middleware-host-header/package.json index 5b63cb7b4394..5d5bdade97f9 100644 --- a/packages/middleware-host-header/package.json +++ b/packages/middleware-host-header/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-location-constraint/package.json b/packages/middleware-location-constraint/package.json index cf695db22ce9..9831afd84109 100644 --- a/packages/middleware-location-constraint/package.json +++ b/packages/middleware-location-constraint/package.json @@ -22,8 +22,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-logger/package.json b/packages/middleware-logger/package.json index b8733e0db54f..b74b43ffde54 100644 --- a/packages/middleware-logger/package.json +++ b/packages/middleware-logger/package.json @@ -24,9 +24,9 @@ }, "devDependencies": { "@aws-sdk/protocol-http": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-retry/package.json b/packages/middleware-retry/package.json index 4d7039afe561..5d5deb49002d 100644 --- a/packages/middleware-retry/package.json +++ b/packages/middleware-retry/package.json @@ -26,8 +26,8 @@ }, "devDependencies": { "@aws-sdk/node-config-provider": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-retry/src/DefaultRateLimiter.spec.ts b/packages/middleware-retry/src/DefaultRateLimiter.spec.ts index 5449fe4a629c..e10dd114ff06 100644 --- a/packages/middleware-retry/src/DefaultRateLimiter.spec.ts +++ b/packages/middleware-retry/src/DefaultRateLimiter.spec.ts @@ -15,7 +15,7 @@ describe(DefaultRateLimiter.name, () => { describe("getSendToken", () => { beforeEach(() => { - jest.useFakeTimers(); + jest.useFakeTimers("legacy"); }); afterEach(() => { diff --git a/packages/middleware-sdk-api-gateway/package.json b/packages/middleware-sdk-api-gateway/package.json index 08f646319ae7..924d17cc79b7 100644 --- a/packages/middleware-sdk-api-gateway/package.json +++ b/packages/middleware-sdk-api-gateway/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-sdk-ec2/package.json b/packages/middleware-sdk-ec2/package.json index dbee7611b63f..233eb8d8efb6 100644 --- a/packages/middleware-sdk-ec2/package.json +++ b/packages/middleware-sdk-ec2/package.json @@ -26,8 +26,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-sdk-glacier/package.json b/packages/middleware-sdk-glacier/package.json index 4753ebd66bbe..b3d642a0052a 100644 --- a/packages/middleware-sdk-glacier/package.json +++ b/packages/middleware-sdk-glacier/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-sdk-machinelearning/package.json b/packages/middleware-sdk-machinelearning/package.json index 5ec7e9d26b43..765b3750bd6a 100644 --- a/packages/middleware-sdk-machinelearning/package.json +++ b/packages/middleware-sdk-machinelearning/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-sdk-rds/package.json b/packages/middleware-sdk-rds/package.json index 8fca4eed22b0..9db891b50efd 100644 --- a/packages/middleware-sdk-rds/package.json +++ b/packages/middleware-sdk-rds/package.json @@ -25,8 +25,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-sdk-route53/package.json b/packages/middleware-sdk-route53/package.json index 02195516212d..33891a5280cd 100644 --- a/packages/middleware-sdk-route53/package.json +++ b/packages/middleware-sdk-route53/package.json @@ -22,8 +22,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-sdk-s3-control/package.json b/packages/middleware-sdk-s3-control/package.json index dc04f916600a..e931aad04db8 100644 --- a/packages/middleware-sdk-s3-control/package.json +++ b/packages/middleware-sdk-s3-control/package.json @@ -26,8 +26,8 @@ }, "devDependencies": { "@aws-sdk/middleware-stack": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-sdk-s3/package.json b/packages/middleware-sdk-s3/package.json index 3d281c495be4..ac0e760887e0 100644 --- a/packages/middleware-sdk-s3/package.json +++ b/packages/middleware-sdk-s3/package.json @@ -32,8 +32,8 @@ }, "devDependencies": { "@aws-sdk/signature-v4-crt": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "peerDependencies": { diff --git a/packages/middleware-sdk-sqs/package.json b/packages/middleware-sdk-sqs/package.json index a213ec8c384a..6b23aea86195 100644 --- a/packages/middleware-sdk-sqs/package.json +++ b/packages/middleware-sdk-sqs/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-sdk-sts/package.json b/packages/middleware-sdk-sts/package.json index 7443dd649513..2c1cb546c02c 100644 --- a/packages/middleware-sdk-sts/package.json +++ b/packages/middleware-sdk-sts/package.json @@ -18,8 +18,8 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "dependencies": { diff --git a/packages/middleware-sdk-transcribe-streaming/package.json b/packages/middleware-sdk-transcribe-streaming/package.json index ed3166301d93..4e6ba14c9a88 100644 --- a/packages/middleware-sdk-transcribe-streaming/package.json +++ b/packages/middleware-sdk-transcribe-streaming/package.json @@ -29,8 +29,8 @@ "uuid": "^8.3.2" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "jest-websocket-mock": "^2.0.2", "mock-socket": "^9.0.3", "typescript": "~4.3.5" diff --git a/packages/middleware-serde/package.json b/packages/middleware-serde/package.json index 62571685306f..8374fa22561e 100644 --- a/packages/middleware-serde/package.json +++ b/packages/middleware-serde/package.json @@ -22,8 +22,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-signing/package.json b/packages/middleware-signing/package.json index bfdf06081757..db487cc71aad 100644 --- a/packages/middleware-signing/package.json +++ b/packages/middleware-signing/package.json @@ -18,8 +18,8 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "dependencies": { diff --git a/packages/middleware-ssec/package.json b/packages/middleware-ssec/package.json index b4265f3a0aa6..c32d9a1aefef 100644 --- a/packages/middleware-ssec/package.json +++ b/packages/middleware-ssec/package.json @@ -22,8 +22,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-stack/package.json b/packages/middleware-stack/package.json index 5849f124b3d8..a3402c2c2513 100644 --- a/packages/middleware-stack/package.json +++ b/packages/middleware-stack/package.json @@ -24,8 +24,8 @@ }, "devDependencies": { "@aws-sdk/types": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/middleware-user-agent/package.json b/packages/middleware-user-agent/package.json index da8a9232dc96..6a87b9f9d684 100644 --- a/packages/middleware-user-agent/package.json +++ b/packages/middleware-user-agent/package.json @@ -24,8 +24,8 @@ }, "devDependencies": { "@aws-sdk/middleware-stack": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/node-config-provider/package.json b/packages/node-config-provider/package.json index 45ddfdc6262b..9bea614c1f8f 100644 --- a/packages/node-config-provider/package.json +++ b/packages/node-config-provider/package.json @@ -26,9 +26,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/node-http-handler/package.json b/packages/node-http-handler/package.json index b083b547096b..b9ec171c0b0d 100644 --- a/packages/node-http-handler/package.json +++ b/packages/node-http-handler/package.json @@ -27,9 +27,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "jest": { diff --git a/packages/node-http-handler/src/node-http2-handler.spec.ts b/packages/node-http-handler/src/node-http2-handler.spec.ts index da0f9017f2a3..b8a5e01a302e 100644 --- a/packages/node-http-handler/src/node-http2-handler.spec.ts +++ b/packages/node-http-handler/src/node-http2-handler.spec.ts @@ -3,6 +3,7 @@ import { HttpRequest } from "@aws-sdk/protocol-http"; import { rejects } from "assert"; import http2, { constants, Http2Stream } from "http2"; import { Duplex } from "stream"; +import { promisify } from "util"; import { NodeHttp2Handler } from "./node-http2-handler"; import { createMockHttp2Server, createResponseFunction, createResponseFunctionWithDelay } from "./server.mock"; @@ -335,7 +336,7 @@ describe(NodeHttp2Handler.name, () => { const sessionTimeout = 200; describe("destroys sessions on sessionTimeout", () => { - it("disableConcurrentStreams: false (default)", async (done) => { + it("disableConcurrentStreams: false (default)", async () => { nodeH2Handler = new NodeHttp2Handler({ sessionTimeout }); await nodeH2Handler.handle(new HttpRequest(getMockReqOptions()), {}); @@ -345,15 +346,13 @@ describe(NodeHttp2Handler.name, () => { expect(session.destroyed).toBe(false); // @ts-ignore: access private property expect(nodeH2Handler.sessionCache.get(authority).length).toStrictEqual(1); - setTimeout(() => { - expect(session.destroyed).toBe(true); - // @ts-ignore: access private property - expect(nodeH2Handler.sessionCache.get(authority).length).toStrictEqual(0); - done(); - }, sessionTimeout + 100); + await promisify(setTimeout)(sessionTimeout + 100); + expect(session.destroyed).toBe(true); + // @ts-ignore: access private property + expect(nodeH2Handler.sessionCache.get(authority).length).toStrictEqual(0); }); - it("disableConcurrentStreams: true", async (done) => { + it("disableConcurrentStreams: true", async () => { let session; const authority = `${protocol}//${hostname}:${port}`; @@ -368,10 +367,8 @@ describe(NodeHttp2Handler.name, () => { await nodeH2Handler.handle(new HttpRequest(getMockReqOptions()), {}); expect(session.destroyed).toBe(false); - setTimeout(() => { - expect(session.destroyed).toBe(true); - done(); - }, sessionTimeout + 100); + await promisify(setTimeout)(sessionTimeout + 100); + expect(session.destroyed).toBe(true); }); }); }); diff --git a/packages/node-http-handler/src/set-connection-timeout.spec.ts b/packages/node-http-handler/src/set-connection-timeout.spec.ts index 8d9bf545cfb1..c9667f555ab3 100644 --- a/packages/node-http-handler/src/set-connection-timeout.spec.ts +++ b/packages/node-http-handler/src/set-connection-timeout.spec.ts @@ -29,10 +29,14 @@ describe("setConnectionTimeout", () => { }; beforeEach(() => { - jest.useFakeTimers(); + jest.useFakeTimers("legacy"); setConnectionTimeout(clientRequest, reject, timeoutInMs); }); + afterEach(() => { + jest.useRealTimers(); + }); + it("attaches listener", () => { expect(clientRequest.on).toHaveBeenCalledTimes(1); expect(clientRequest.on).toHaveBeenCalledWith("socket", expect.any(Function)); diff --git a/packages/polly-request-presigner/package.json b/packages/polly-request-presigner/package.json index 21f7f25c3817..455ee0b22685 100644 --- a/packages/polly-request-presigner/package.json +++ b/packages/polly-request-presigner/package.json @@ -28,9 +28,9 @@ "devDependencies": { "@aws-sdk/client-polly": "3.35.0", "@aws-sdk/hash-node": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^12.0.2", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/property-provider/package.json b/packages/property-provider/package.json index a90a66015495..f3c0806fecba 100644 --- a/packages/property-provider/package.json +++ b/packages/property-provider/package.json @@ -22,8 +22,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/protocol-http/package.json b/packages/protocol-http/package.json index a2f0c07d6878..372c73b3788c 100644 --- a/packages/protocol-http/package.json +++ b/packages/protocol-http/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/querystring-builder/package.json b/packages/querystring-builder/package.json index ca65f2ef25eb..e207c2f510e9 100644 --- a/packages/querystring-builder/package.json +++ b/packages/querystring-builder/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/querystring-parser/package.json b/packages/querystring-parser/package.json index 60b4ab2a843f..cd50c5f0ded8 100644 --- a/packages/querystring-parser/package.json +++ b/packages/querystring-parser/package.json @@ -22,8 +22,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/s3-presigned-post/package.json b/packages/s3-presigned-post/package.json index 229505810f8a..4bd124b7392a 100644 --- a/packages/s3-presigned-post/package.json +++ b/packages/s3-presigned-post/package.json @@ -28,9 +28,9 @@ "@aws-sdk/client-s3": "3.35.0", "@aws-sdk/hash-node": "3.35.0", "@aws-sdk/protocol-http": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^12.0.2", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/s3-request-presigner/package.json b/packages/s3-request-presigner/package.json index 325c66ed9462..cc4aef9f3a4d 100644 --- a/packages/s3-request-presigner/package.json +++ b/packages/s3-request-presigner/package.json @@ -30,9 +30,9 @@ "devDependencies": { "@aws-sdk/client-s3": "3.35.0", "@aws-sdk/hash-node": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^12.0.2", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/service-error-classification/package.json b/packages/service-error-classification/package.json index 47608140de25..ffaf88ffa76b 100644 --- a/packages/service-error-classification/package.json +++ b/packages/service-error-classification/package.json @@ -19,8 +19,8 @@ "license": "Apache-2.0", "devDependencies": { "@aws-sdk/types": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/sha256-tree-hash/package.json b/packages/sha256-tree-hash/package.json index e4dedeb662a7..01bd593b95a2 100644 --- a/packages/sha256-tree-hash/package.json +++ b/packages/sha256-tree-hash/package.json @@ -25,8 +25,8 @@ "@aws-crypto/sha256-js": "^1.0.0", "@aws-sdk/util-hex-encoding": "3.35.0", "@aws-sdk/util-utf8-node": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/shared-ini-file-loader/package.json b/packages/shared-ini-file-loader/package.json index eb57fcc1ed60..114763ad9500 100644 --- a/packages/shared-ini-file-loader/package.json +++ b/packages/shared-ini-file-loader/package.json @@ -5,9 +5,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "scripts": { diff --git a/packages/signature-v4-crt/package.json b/packages/signature-v4-crt/package.json index df7b88f6cb05..d07721208d42 100644 --- a/packages/signature-v4-crt/package.json +++ b/packages/signature-v4-crt/package.json @@ -32,8 +32,8 @@ "@aws-sdk/protocol-http": "3.35.0", "@aws-sdk/types": "3.35.0", "@aws-sdk/util-buffer-from": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/signature-v4/package.json b/packages/signature-v4/package.json index a546169c13ba..812990889814 100644 --- a/packages/signature-v4/package.json +++ b/packages/signature-v4/package.json @@ -30,8 +30,8 @@ "@aws-crypto/sha256-js": "^1.0.0", "@aws-sdk/protocol-http": "3.35.0", "@aws-sdk/util-buffer-from": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/smithy-client/package.json b/packages/smithy-client/package.json index 8c805d03b017..d5ed88055ef6 100644 --- a/packages/smithy-client/package.json +++ b/packages/smithy-client/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/url-parser/package.json b/packages/url-parser/package.json index ba444f1d9d45..f08ca512f58c 100644 --- a/packages/url-parser/package.json +++ b/packages/url-parser/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "typesVersions": { diff --git a/packages/util-arn-parser/package.json b/packages/util-arn-parser/package.json index 1674a5221c68..37f73f86e8a9 100644 --- a/packages/util-arn-parser/package.json +++ b/packages/util-arn-parser/package.json @@ -21,9 +21,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/util-base64-browser/package.json b/packages/util-base64-browser/package.json index e5c5e2b2137f..6f5bf1e677f7 100644 --- a/packages/util-base64-browser/package.json +++ b/packages/util-base64-browser/package.json @@ -21,9 +21,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/util-base64-node/package.json b/packages/util-base64-node/package.json index 85d51f1b80fa..76e206cdb8dc 100644 --- a/packages/util-base64-node/package.json +++ b/packages/util-base64-node/package.json @@ -22,9 +22,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/util-body-length-browser/package.json b/packages/util-body-length-browser/package.json index c855c8971b08..f94c404b59f5 100644 --- a/packages/util-body-length-browser/package.json +++ b/packages/util-body-length-browser/package.json @@ -22,8 +22,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "typesVersions": { diff --git a/packages/util-body-length-node/package.json b/packages/util-body-length-node/package.json index c80501ca09af..8c4a11421b04 100644 --- a/packages/util-body-length-node/package.json +++ b/packages/util-body-length-node/package.json @@ -11,9 +11,9 @@ "test": "jest" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "main": "./dist-cjs/index.js", diff --git a/packages/util-buffer-from/package.json b/packages/util-buffer-from/package.json index 9fe3b89bcf8e..413d47cb1311 100644 --- a/packages/util-buffer-from/package.json +++ b/packages/util-buffer-from/package.json @@ -19,9 +19,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "main": "./dist-cjs/index.js", diff --git a/packages/util-create-request/package.json b/packages/util-create-request/package.json index 92c73f41487b..6b720587066b 100644 --- a/packages/util-create-request/package.json +++ b/packages/util-create-request/package.json @@ -25,9 +25,9 @@ }, "devDependencies": { "@aws-sdk/protocol-http": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.3", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/util-credentials/package.json b/packages/util-credentials/package.json index 64371dc2ded5..8d3e34f44d34 100644 --- a/packages/util-credentials/package.json +++ b/packages/util-credentials/package.json @@ -26,9 +26,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/util-dynamodb/package.json b/packages/util-dynamodb/package.json index 65c4cc213b56..68db3d865ef1 100644 --- a/packages/util-dynamodb/package.json +++ b/packages/util-dynamodb/package.json @@ -22,8 +22,8 @@ }, "devDependencies": { "@aws-sdk/client-dynamodb": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/util-dynamodb/src/convertToAttr.spec.ts b/packages/util-dynamodb/src/convertToAttr.spec.ts index ec310d1fed4a..14f2531d5cd1 100644 --- a/packages/util-dynamodb/src/convertToAttr.spec.ts +++ b/packages/util-dynamodb/src/convertToAttr.spec.ts @@ -1,3 +1,6 @@ +/** + * @jest-environment jsdom + */ import { AttributeValue } from "@aws-sdk/client-dynamodb"; import { convertToAttr } from "./convertToAttr"; diff --git a/packages/util-dynamodb/src/convertToAttrToNative.spec.ts b/packages/util-dynamodb/src/convertToAttrToNative.spec.ts index 8319ae2a20af..07436d190399 100644 --- a/packages/util-dynamodb/src/convertToAttrToNative.spec.ts +++ b/packages/util-dynamodb/src/convertToAttrToNative.spec.ts @@ -1,3 +1,6 @@ +/** + * @jest-environment jsdom + */ import { convertToAttr } from "./convertToAttr"; import { convertToNative } from "./convertToNative"; import { NativeAttributeValue } from "./models"; diff --git a/packages/util-format-url/package.json b/packages/util-format-url/package.json index 4917672fe249..5a6e0c4eb332 100644 --- a/packages/util-format-url/package.json +++ b/packages/util-format-url/package.json @@ -23,8 +23,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/util-hex-encoding/package.json b/packages/util-hex-encoding/package.json index 71666aba29d4..724a7b736363 100644 --- a/packages/util-hex-encoding/package.json +++ b/packages/util-hex-encoding/package.json @@ -21,8 +21,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/util-locate-window/package.json b/packages/util-locate-window/package.json index fcd2455ec406..e7c63a895e48 100644 --- a/packages/util-locate-window/package.json +++ b/packages/util-locate-window/package.json @@ -18,9 +18,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "main": "./dist-cjs/index.js", diff --git a/packages/util-uri-escape/package.json b/packages/util-uri-escape/package.json index c330a8f88b45..55014492f4c3 100644 --- a/packages/util-uri-escape/package.json +++ b/packages/util-uri-escape/package.json @@ -21,8 +21,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/util-user-agent-browser/jest.config.js b/packages/util-user-agent-browser/jest.config.js index a8d1c2e49912..bd895a5df03e 100644 --- a/packages/util-user-agent-browser/jest.config.js +++ b/packages/util-user-agent-browser/jest.config.js @@ -2,4 +2,5 @@ const base = require("../../jest.config.base.js"); module.exports = { ...base, + testEnvironment: "jsdom", }; diff --git a/packages/util-user-agent-browser/package.json b/packages/util-user-agent-browser/package.json index 7ce9bf98f770..2e87fa7b465c 100644 --- a/packages/util-user-agent-browser/package.json +++ b/packages/util-user-agent-browser/package.json @@ -25,8 +25,8 @@ }, "devDependencies": { "@aws-sdk/protocol-http": "3.35.0", - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "typesVersions": { diff --git a/packages/util-user-agent-node/package.json b/packages/util-user-agent-node/package.json index 44e1e2e0df17..3554343f0ff1 100644 --- a/packages/util-user-agent-node/package.json +++ b/packages/util-user-agent-node/package.json @@ -24,9 +24,9 @@ }, "devDependencies": { "@aws-sdk/protocol-http": "3.35.0", - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "engines": { diff --git a/packages/util-utf8-browser/package.json b/packages/util-utf8-browser/package.json index d7f98723d395..44a2b29587e2 100644 --- a/packages/util-utf8-browser/package.json +++ b/packages/util-utf8-browser/package.json @@ -21,8 +21,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "types": "./dist-types/index.d.ts", diff --git a/packages/util-utf8-node/package.json b/packages/util-utf8-node/package.json index 6c6b3565f4fc..154eb0471d90 100644 --- a/packages/util-utf8-node/package.json +++ b/packages/util-utf8-node/package.json @@ -22,9 +22,9 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", + "@types/jest": "^27.0.2", "@types/node": "^10.0.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "jest": { diff --git a/packages/util-waiter/package.json b/packages/util-waiter/package.json index dd8b6b351362..e7a421207ce2 100644 --- a/packages/util-waiter/package.json +++ b/packages/util-waiter/package.json @@ -8,8 +8,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "scripts": { diff --git a/packages/util-waiter/src/createWaiter.spec.ts b/packages/util-waiter/src/createWaiter.spec.ts index 309402c74d5b..62ffb6b1e392 100644 --- a/packages/util-waiter/src/createWaiter.spec.ts +++ b/packages/util-waiter/src/createWaiter.spec.ts @@ -7,14 +7,15 @@ jest.mock("./utils/validate", () => ({ validateWaiterOptions: mockValidate, })); -jest.useFakeTimers(); - import { createWaiter } from "./createWaiter"; describe("createWaiter", () => { beforeEach(() => { - jest.clearAllTimers(); - jest.clearAllMocks(); + jest.useFakeTimers("legacy"); + }); + + afterEach(() => { + jest.useRealTimers(); }); const minimalWaiterConfig = { diff --git a/packages/util-waiter/src/utils/sleep.spec.ts b/packages/util-waiter/src/utils/sleep.spec.ts index f41fa85b12b5..4be76935e3b9 100644 --- a/packages/util-waiter/src/utils/sleep.spec.ts +++ b/packages/util-waiter/src/utils/sleep.spec.ts @@ -1,11 +1,12 @@ import { sleep } from "./sleep"; -jest.useFakeTimers(); - describe("Sleep Module", () => { beforeEach(() => { - jest.clearAllMocks(); - jest.clearAllTimers(); + jest.useFakeTimers("legacy"); + }); + + afterEach(() => { + jest.useRealTimers(); }); describe(sleep.name, () => { diff --git a/packages/xml-builder/package.json b/packages/xml-builder/package.json index 022eec23727e..db134bdbf464 100644 --- a/packages/xml-builder/package.json +++ b/packages/xml-builder/package.json @@ -6,8 +6,8 @@ "tslib": "^2.3.0" }, "devDependencies": { - "@types/jest": "^26.0.4", - "jest": "^26.1.0", + "@types/jest": "^27.0.2", + "jest": "^27.2.4", "typescript": "~4.3.5" }, "scripts": { diff --git a/protocol_tests/aws-ec2/package.json b/protocol_tests/aws-ec2/package.json index 98c92878b691..71d95ee3ed27 100644 --- a/protocol_tests/aws-ec2/package.json +++ b/protocol_tests/aws-ec2/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/protocol_tests/aws-ec2/tsconfig.cjs.json b/protocol_tests/aws-ec2/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/protocol_tests/aws-ec2/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/protocol_tests/aws-ec2/tsconfig.es.json b/protocol_tests/aws-ec2/tsconfig.es.json index 4c72364cd1a0..1a6863945e75 100644 --- a/protocol_tests/aws-ec2/tsconfig.es.json +++ b/protocol_tests/aws-ec2/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/protocol_tests/aws-ec2/tsconfig.json b/protocol_tests/aws-ec2/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/protocol_tests/aws-ec2/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/protocol_tests/aws-ec2/tsconfig.types.json b/protocol_tests/aws-ec2/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/protocol_tests/aws-ec2/tsconfig.types.json +++ b/protocol_tests/aws-ec2/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/protocol_tests/aws-json-10/package.json b/protocol_tests/aws-json-10/package.json index 61071ac75cc1..1214de10a575 100644 --- a/protocol_tests/aws-json-10/package.json +++ b/protocol_tests/aws-json-10/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -54,9 +54,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/protocol_tests/aws-json-10/tsconfig.cjs.json b/protocol_tests/aws-json-10/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/protocol_tests/aws-json-10/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/protocol_tests/aws-json-10/tsconfig.es.json b/protocol_tests/aws-json-10/tsconfig.es.json index 4c72364cd1a0..1a6863945e75 100644 --- a/protocol_tests/aws-json-10/tsconfig.es.json +++ b/protocol_tests/aws-json-10/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/protocol_tests/aws-json-10/tsconfig.json b/protocol_tests/aws-json-10/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/protocol_tests/aws-json-10/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/protocol_tests/aws-json-10/tsconfig.types.json b/protocol_tests/aws-json-10/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/protocol_tests/aws-json-10/tsconfig.types.json +++ b/protocol_tests/aws-json-10/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/protocol_tests/aws-json/package.json b/protocol_tests/aws-json/package.json index 0cc001554f32..d6325c1ba3fe 100644 --- a/protocol_tests/aws-json/package.json +++ b/protocol_tests/aws-json/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -57,9 +57,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/protocol_tests/aws-json/tsconfig.cjs.json b/protocol_tests/aws-json/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/protocol_tests/aws-json/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/protocol_tests/aws-json/tsconfig.es.json b/protocol_tests/aws-json/tsconfig.es.json index 4c72364cd1a0..1a6863945e75 100644 --- a/protocol_tests/aws-json/tsconfig.es.json +++ b/protocol_tests/aws-json/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/protocol_tests/aws-json/tsconfig.json b/protocol_tests/aws-json/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/protocol_tests/aws-json/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/protocol_tests/aws-json/tsconfig.types.json b/protocol_tests/aws-json/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/protocol_tests/aws-json/tsconfig.types.json +++ b/protocol_tests/aws-json/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/protocol_tests/aws-query/package.json b/protocol_tests/aws-query/package.json index f951a61f8bb7..5f4b4219b3d5 100644 --- a/protocol_tests/aws-query/package.json +++ b/protocol_tests/aws-query/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -56,9 +56,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/protocol_tests/aws-query/tsconfig.cjs.json b/protocol_tests/aws-query/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/protocol_tests/aws-query/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/protocol_tests/aws-query/tsconfig.es.json b/protocol_tests/aws-query/tsconfig.es.json index 4c72364cd1a0..1a6863945e75 100644 --- a/protocol_tests/aws-query/tsconfig.es.json +++ b/protocol_tests/aws-query/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/protocol_tests/aws-query/tsconfig.json b/protocol_tests/aws-query/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/protocol_tests/aws-query/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/protocol_tests/aws-query/tsconfig.types.json b/protocol_tests/aws-query/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/protocol_tests/aws-query/tsconfig.types.json +++ b/protocol_tests/aws-query/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/protocol_tests/aws-restjson/package.json b/protocol_tests/aws-restjson/package.json index 70caaafd2055..0b14bd18073c 100644 --- a/protocol_tests/aws-restjson/package.json +++ b/protocol_tests/aws-restjson/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -59,9 +59,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/protocol_tests/aws-restjson/tsconfig.cjs.json b/protocol_tests/aws-restjson/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/protocol_tests/aws-restjson/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/protocol_tests/aws-restjson/tsconfig.es.json b/protocol_tests/aws-restjson/tsconfig.es.json index 4c72364cd1a0..1a6863945e75 100644 --- a/protocol_tests/aws-restjson/tsconfig.es.json +++ b/protocol_tests/aws-restjson/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/protocol_tests/aws-restjson/tsconfig.json b/protocol_tests/aws-restjson/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/protocol_tests/aws-restjson/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/protocol_tests/aws-restjson/tsconfig.types.json b/protocol_tests/aws-restjson/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/protocol_tests/aws-restjson/tsconfig.types.json +++ b/protocol_tests/aws-restjson/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/protocol_tests/aws-restxml/package.json b/protocol_tests/aws-restxml/package.json index 99a1cdbba8de..ec5b4a65ee11 100644 --- a/protocol_tests/aws-restxml/package.json +++ b/protocol_tests/aws-restxml/package.json @@ -4,7 +4,7 @@ "version": "3.35.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", - "build:cjs": "tsc -p tsconfig.json", + "build:cjs": "tsc -p tsconfig.cjs.json", "build:docs": "yarn clean:docs && typedoc ./", "build:es": "tsc -p tsconfig.es.json", "build:types": "tsc -p tsconfig.types.json", @@ -58,9 +58,9 @@ "@types/node": "^12.7.5", "@types/uuid": "^8.3.0", "downlevel-dts": "0.7.0", - "jest": "^26.1.0", + "jest": "^27.2.4", "rimraf": "^3.0.0", - "ts-jest": "^26.4.1", + "ts-jest": "^27.0.5", "typedoc": "^0.19.2", "typescript": "~4.3.5" }, diff --git a/protocol_tests/aws-restxml/tsconfig.cjs.json b/protocol_tests/aws-restxml/tsconfig.cjs.json new file mode 100644 index 000000000000..5c3b3307682f --- /dev/null +++ b/protocol_tests/aws-restxml/tsconfig.cjs.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-cjs" + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/client-documentation-generator"] + }, + "exclude": ["test/**/*"], + "extends": "../../tsconfig.cjs.json", + "include": ["src/"] +} diff --git a/protocol_tests/aws-restxml/tsconfig.es.json b/protocol_tests/aws-restxml/tsconfig.es.json index 4c72364cd1a0..1a6863945e75 100644 --- a/protocol_tests/aws-restxml/tsconfig.es.json +++ b/protocol_tests/aws-restxml/tsconfig.es.json @@ -1,10 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.es.json", "compilerOptions": { - "target": "es5", - "module": "esnext", - "moduleResolution": "node", - "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], - "outDir": "dist-es" - } + "baseUrl": ".", + "rootDir": "src", + "outDir": "dist-es", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"] + }, + "include": ["src/"] } diff --git a/protocol_tests/aws-restxml/tsconfig.json b/protocol_tests/aws-restxml/tsconfig.json deleted file mode 100644 index 4dd6413bb0d1..000000000000 --- a/protocol_tests/aws-restxml/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "compilerOptions": { - "alwaysStrict": true, - "target": "ES2018", - "module": "commonjs", - "strict": true, - "sourceMap": true, - "downlevelIteration": true, - "importHelpers": true, - "noEmitHelpers": true, - "incremental": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "rootDir": "src", - "outDir": "dist-cjs", - "removeComments": true - }, - "typedocOptions": { - "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], - "excludeNotExported": true, - "excludePrivate": true, - "hideGenerator": true, - "ignoreCompilerErrors": true, - "includeDeclarations": true, - "stripInternal": true, - "readme": "README.md", - "mode": "file", - "out": "docs", - "theme": "minimal", - "plugin": ["@aws-sdk/client-documentation-generator"] - }, - "exclude": ["test/**/*"] -} diff --git a/protocol_tests/aws-restxml/tsconfig.types.json b/protocol_tests/aws-restxml/tsconfig.types.json index b7018298d8ae..a18e8f3a97f7 100644 --- a/protocol_tests/aws-restxml/tsconfig.types.json +++ b/protocol_tests/aws-restxml/tsconfig.types.json @@ -1,9 +1,10 @@ { - "extends": "./tsconfig", + "extends": "../../tsconfig.types.json", "compilerOptions": { - "removeComments": false, - "declaration": true, + "baseUrl": ".", + "rootDir": "src", "declarationDir": "dist-types" }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["test/**/*", "dist-types/**/*"], + "include": ["src/"] } diff --git a/tsconfig.json b/tsconfig.json index 8ae35df6e03b..009afd82eed2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,8 +3,6 @@ "baseUrl": ".", "downlevelIteration": true, "esModuleInterop": true, - "inlineSourceMap": true, - "inlineSources": true, "incremental": true, "lib": ["es2015", "dom"], "module": "commonjs", @@ -12,16 +10,16 @@ "noFallthroughCasesInSwitch": true, "paths": { "@aws-sdk/*": ["packages/*/src"], - "@aws-sdk/client-*": ["clients/client-*/"], - "@aws-sdk/aws-*": ["protocol_tests/aws-*/"], - "@aws-sdk/lib-*": ["lib/*"] + "@aws-sdk/client-*": ["clients/client-*/src"], + "@aws-sdk/aws-*": ["protocol_tests/aws-*/src"], + "@aws-sdk/lib-*": ["lib/lib-*/src"] }, "preserveConstEnums": true, "removeComments": true, "resolveJsonModule": true, "target": "es5" }, - "include": ["packages/", "lib/"], + "include": ["packages/", "lib/", "clients/", "protocol_tests/"], "exclude": ["node_modules/", "**/*.spec.ts"], "typedocOptions": { "readme": "README.md", diff --git a/yarn.lock b/yarn.lock index 19c28c36e8a4..a7ef6ddc0918 100644 --- a/yarn.lock +++ b/yarn.lock @@ -59,11 +59,23 @@ dependencies: "@babel/highlight" "^7.12.13" +"@babel/code-frame@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.14.5.tgz#23b08d740e83f49c5e59945fbf1b43e80bbf4edb" + integrity sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw== + dependencies: + "@babel/highlight" "^7.14.5" + "@babel/compat-data@^7.13.12": version "7.13.15" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.15.tgz#7e8eea42d0b64fda2b375b22d06c605222e848f4" integrity sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA== +"@babel/compat-data@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.15.0.tgz#2dbaf8b85334796cafbb0f5793a90a2fc010b176" + integrity sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA== + "@babel/core@^7.1.0", "@babel/core@^7.7.5": version "7.13.15" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.13.15.tgz#a6d40917df027487b54312202a06812c4f7792d0" @@ -85,6 +97,27 @@ semver "^6.3.0" source-map "^0.5.0" +"@babel/core@^7.7.2": + version "7.15.5" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.5.tgz#f8ed9ace730722544609f90c9bb49162dc3bf5b9" + integrity sha512-pYgXxiwAgQpgM1bNkZsDEq85f0ggXMA5L7c+o3tskGMh2BunCI9QUwB9Z4jpvXUOuMdyGKiGKQiRe11VS6Jzvg== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.15.4" + "@babel/helper-compilation-targets" "^7.15.4" + "@babel/helper-module-transforms" "^7.15.4" + "@babel/helpers" "^7.15.4" + "@babel/parser" "^7.15.5" + "@babel/template" "^7.15.4" + "@babel/traverse" "^7.15.4" + "@babel/types" "^7.15.4" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.1.2" + semver "^6.3.0" + source-map "^0.5.0" + "@babel/generator@^7.13.9": version "7.13.9" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.13.9.tgz#3a7aa96f9efb8e2be42d38d80e2ceb4c64d8de39" @@ -94,6 +127,15 @@ jsesc "^2.5.1" source-map "^0.5.0" +"@babel/generator@^7.15.4", "@babel/generator@^7.7.2": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.4.tgz#85acb159a267ca6324f9793986991ee2022a05b0" + integrity sha512-d3itta0tu+UayjEORPNz6e1T3FtvWlP5N4V5M+lhp/CxT4oAA7/NcScnpRyspUMLK6tu9MNHmQHxRykuN2R7hw== + dependencies: + "@babel/types" "^7.15.4" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/helper-compilation-targets@^7.13.13": version "7.13.13" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.13.tgz#2b2972a0926474853f41e4adbc69338f520600e5" @@ -104,6 +146,16 @@ browserslist "^4.14.5" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz#cf6d94f30fbefc139123e27dd6b02f65aeedb7b9" + integrity sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ== + dependencies: + "@babel/compat-data" "^7.15.0" + "@babel/helper-validator-option" "^7.14.5" + browserslist "^4.16.6" + semver "^6.3.0" + "@babel/helper-function-name@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz#93ad656db3c3c2232559fd7b2c3dbdcbe0eb377a" @@ -113,6 +165,15 @@ "@babel/template" "^7.12.13" "@babel/types" "^7.12.13" +"@babel/helper-function-name@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz#845744dafc4381a4a5fb6afa6c3d36f98a787ebc" + integrity sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw== + dependencies: + "@babel/helper-get-function-arity" "^7.15.4" + "@babel/template" "^7.15.4" + "@babel/types" "^7.15.4" + "@babel/helper-get-function-arity@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz#bc63451d403a3b3082b97e1d8b3fe5bd4091e583" @@ -120,6 +181,20 @@ dependencies: "@babel/types" "^7.12.13" +"@babel/helper-get-function-arity@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz#098818934a137fce78b536a3e015864be1e2879b" + integrity sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA== + dependencies: + "@babel/types" "^7.15.4" + +"@babel/helper-hoist-variables@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz#09993a3259c0e918f99d104261dfdfc033f178df" + integrity sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-member-expression-to-functions@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz#dfe368f26d426a07299d8d6513821768216e6d72" @@ -127,6 +202,13 @@ dependencies: "@babel/types" "^7.13.12" +"@babel/helper-member-expression-to-functions@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz#bfd34dc9bba9824a4658b0317ec2fd571a51e6ef" + integrity sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-module-imports@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz#c6a369a6f3621cb25da014078684da9196b61977" @@ -134,6 +216,13 @@ dependencies: "@babel/types" "^7.13.12" +"@babel/helper-module-imports@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz#e18007d230632dea19b47853b984476e7b4e103f" + integrity sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-module-transforms@^7.13.14": version "7.13.14" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz#e600652ba48ccb1641775413cb32cfa4e8b495ef" @@ -148,6 +237,20 @@ "@babel/traverse" "^7.13.13" "@babel/types" "^7.13.14" +"@babel/helper-module-transforms@^7.15.4": + version "7.15.7" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.15.7.tgz#7da80c8cbc1f02655d83f8b79d25866afe50d226" + integrity sha512-ZNqjjQG/AuFfekFTY+7nY4RgBSklgTu970c7Rj3m/JOhIu5KPBUuTA9AY6zaKcUvk4g6EbDXdBnhi35FAssdSw== + dependencies: + "@babel/helper-module-imports" "^7.15.4" + "@babel/helper-replace-supers" "^7.15.4" + "@babel/helper-simple-access" "^7.15.4" + "@babel/helper-split-export-declaration" "^7.15.4" + "@babel/helper-validator-identifier" "^7.15.7" + "@babel/template" "^7.15.4" + "@babel/traverse" "^7.15.4" + "@babel/types" "^7.15.6" + "@babel/helper-optimise-call-expression@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz#5c02d171b4c8615b1e7163f888c1c81c30a2aaea" @@ -155,11 +258,23 @@ dependencies: "@babel/types" "^7.12.13" +"@babel/helper-optimise-call-expression@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz#f310a5121a3b9cc52d9ab19122bd729822dee171" + integrity sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.8.0": version "7.13.0" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz#806526ce125aed03373bc416a828321e3a6a33af" integrity sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ== +"@babel/helper-plugin-utils@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz#5ac822ce97eec46741ab70a517971e443a70c5a9" + integrity sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ== + "@babel/helper-replace-supers@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz#6442f4c1ad912502481a564a7386de0c77ff3804" @@ -170,6 +285,16 @@ "@babel/traverse" "^7.13.0" "@babel/types" "^7.13.12" +"@babel/helper-replace-supers@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz#52a8ab26ba918c7f6dee28628b07071ac7b7347a" + integrity sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.15.4" + "@babel/helper-optimise-call-expression" "^7.15.4" + "@babel/traverse" "^7.15.4" + "@babel/types" "^7.15.4" + "@babel/helper-simple-access@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz#dd6c538afb61819d205a012c31792a39c7a5eaf6" @@ -177,6 +302,13 @@ dependencies: "@babel/types" "^7.13.12" +"@babel/helper-simple-access@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz#ac368905abf1de8e9781434b635d8f8674bcc13b" + integrity sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-split-export-declaration@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz#e9430be00baf3e88b0e13e6f9d4eaf2136372b05" @@ -184,6 +316,13 @@ dependencies: "@babel/types" "^7.12.13" +"@babel/helper-split-export-declaration@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz#aecab92dcdbef6a10aa3b62ab204b085f776e257" + integrity sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-validator-identifier@^7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed" @@ -194,11 +333,21 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz#6654d171b2024f6d8ee151bf2509699919131d48" integrity sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g== +"@babel/helper-validator-identifier@^7.14.9", "@babel/helper-validator-identifier@^7.15.7": + version "7.15.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz#220df993bfe904a4a6b02ab4f3385a5ebf6e2389" + integrity sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w== + "@babel/helper-validator-option@^7.12.17": version "7.12.17" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz#d1fbf012e1a79b7eebbfdc6d270baaf8d9eb9831" integrity sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw== +"@babel/helper-validator-option@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz#6e72a1fff18d5dfcb878e1e62f1a021c4b72d5a3" + integrity sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow== + "@babel/helpers@^7.13.10": version "7.13.10" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.13.10.tgz#fd8e2ba7488533cdeac45cc158e9ebca5e3c7df8" @@ -208,7 +357,16 @@ "@babel/traverse" "^7.13.0" "@babel/types" "^7.13.0" -"@babel/highlight@^7.10.4": +"@babel/helpers@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.15.4.tgz#5f40f02050a3027121a3cf48d497c05c555eaf43" + integrity sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ== + dependencies: + "@babel/template" "^7.15.4" + "@babel/traverse" "^7.15.4" + "@babel/types" "^7.15.4" + +"@babel/highlight@^7.10.4", "@babel/highlight@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9" integrity sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg== @@ -231,6 +389,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.13.15.tgz#8e66775fb523599acb6a289e12929fa5ab0954d8" integrity sha512-b9COtcAlVEQljy/9fbcMHpG+UIW9ReF+gpaxDHTlZd0c6/UU9ng8zdySAW9sRTzpvcdCHn6bUcbuYUgGzLAWVQ== +"@babel/parser@^7.15.4", "@babel/parser@^7.15.5", "@babel/parser@^7.7.2": + version "7.15.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.7.tgz#0c3ed4a2eb07b165dfa85b3cc45c727334c4edae" + integrity sha512-rycZXvQ+xS9QyIcJ9HXeDWf1uxqlbVFAUq0Rq0dbc50Zb/+wUe/ehyfzGfm9KZZF0kBejYgxltBXocP+gKdL2g== + "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" @@ -315,6 +478,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" +"@babel/plugin-syntax-typescript@^7.7.2": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.14.5.tgz#b82c6ce471b165b5ce420cf92914d6fb46225716" + integrity sha512-u6OXzDaIXjEstBRRoBCQ/uKQKlbuaeE5in0RvWdA4pN6AhqxTIwUsnHPU1CFZA/amYObMsuWhYfRl3Ch90HD0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/runtime-corejs3@^7.12.1": version "7.13.10" resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.13.10.tgz#14c3f4c85de22ba88e8e86685d13e8861a82fe86" @@ -339,6 +509,15 @@ "@babel/parser" "^7.12.13" "@babel/types" "^7.12.13" +"@babel/template@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.15.4.tgz#51898d35dcf3faa670c4ee6afcfd517ee139f194" + integrity sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/parser" "^7.15.4" + "@babel/types" "^7.15.4" + "@babel/traverse@^7.1.0", "@babel/traverse@^7.13.0", "@babel/traverse@^7.13.13", "@babel/traverse@^7.13.15": version "7.13.15" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.13.15.tgz#c38bf7679334ddd4028e8e1f7b3aa5019f0dada7" @@ -353,6 +532,21 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@^7.15.4", "@babel/traverse@^7.7.2": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.15.4.tgz#ff8510367a144bfbff552d9e18e28f3e2889c22d" + integrity sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.15.4" + "@babel/helper-function-name" "^7.15.4" + "@babel/helper-hoist-variables" "^7.15.4" + "@babel/helper-split-export-declaration" "^7.15.4" + "@babel/parser" "^7.15.4" + "@babel/types" "^7.15.4" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@^7.0.0", "@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.14", "@babel/types@^7.3.0", "@babel/types@^7.3.3": version "7.13.14" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.13.14.tgz#c35a4abb15c7cd45a2746d78ab328e362cbace0d" @@ -362,6 +556,14 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" +"@babel/types@^7.15.4", "@babel/types@^7.15.6": + version "7.15.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.6.tgz#99abdc48218b2881c058dd0a7ab05b99c9be758f" + integrity sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig== + dependencies: + "@babel/helper-validator-identifier" "^7.14.9" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -630,93 +832,93 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jest/console@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-26.6.2.tgz#4e04bc464014358b03ab4937805ee36a0aeb98f2" - integrity sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g== +"@jest/console@^27.2.4": + version "27.2.4" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.2.4.tgz#2f1a4bf82b9940065d4818fac271def99ec55e5e" + integrity sha512-94znCKynPZpDpYHQ6esRJSc11AmONrVkBOBZiD7S+bSubHhrUfbS95EY5HIOxhm4PQO7cnvZkL3oJcY0oMA+Wg== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.2.4" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^26.6.2" - jest-util "^26.6.2" + jest-message-util "^27.2.4" + jest-util "^27.2.4" slash "^3.0.0" -"@jest/core@^26.6.3": - version "26.6.3" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-26.6.3.tgz#7639fcb3833d748a4656ada54bde193051e45fad" - integrity sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw== +"@jest/core@^27.2.4": + version "27.2.4" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.2.4.tgz#0b932da787d64848eab720dbb88e5b7a3f86e539" + integrity sha512-UNQLyy+rXoojNm2MGlapgzWhZD1CT1zcHZQYeiD0xE7MtJfC19Q6J5D/Lm2l7i4V97T30usKDoEtjI8vKwWcLg== dependencies: - "@jest/console" "^26.6.2" - "@jest/reporters" "^26.6.2" - "@jest/test-result" "^26.6.2" - "@jest/transform" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/console" "^27.2.4" + "@jest/reporters" "^27.2.4" + "@jest/test-result" "^27.2.4" + "@jest/transform" "^27.2.4" + "@jest/types" "^27.2.4" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" + emittery "^0.8.1" exit "^0.1.2" graceful-fs "^4.2.4" - jest-changed-files "^26.6.2" - jest-config "^26.6.3" - jest-haste-map "^26.6.2" - jest-message-util "^26.6.2" - jest-regex-util "^26.0.0" - jest-resolve "^26.6.2" - jest-resolve-dependencies "^26.6.3" - jest-runner "^26.6.3" - jest-runtime "^26.6.3" - jest-snapshot "^26.6.2" - jest-util "^26.6.2" - jest-validate "^26.6.2" - jest-watcher "^26.6.2" - micromatch "^4.0.2" - p-each-series "^2.1.0" + jest-changed-files "^27.2.4" + jest-config "^27.2.4" + jest-haste-map "^27.2.4" + jest-message-util "^27.2.4" + jest-regex-util "^27.0.6" + jest-resolve "^27.2.4" + jest-resolve-dependencies "^27.2.4" + jest-runner "^27.2.4" + jest-runtime "^27.2.4" + jest-snapshot "^27.2.4" + jest-util "^27.2.4" + jest-validate "^27.2.4" + jest-watcher "^27.2.4" + micromatch "^4.0.4" rimraf "^3.0.0" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-26.6.2.tgz#ba364cc72e221e79cc8f0a99555bf5d7577cf92c" - integrity sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA== +"@jest/environment@^27.2.4": + version "27.2.4" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.2.4.tgz#db3e60f7dd30ab950f6ce2d6d7293ed9a6b7cbcd" + integrity sha512-wkuui5yr3SSQW0XD0Qm3TATUbL/WE3LDEM3ulC+RCQhMf2yxhci8x7svGkZ4ivJ6Pc94oOzpZ6cdHBAMSYd1ew== dependencies: - "@jest/fake-timers" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/fake-timers" "^27.2.4" + "@jest/types" "^27.2.4" "@types/node" "*" - jest-mock "^26.6.2" + jest-mock "^27.2.4" -"@jest/fake-timers@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-26.6.2.tgz#459c329bcf70cee4af4d7e3f3e67848123535aad" - integrity sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA== +"@jest/fake-timers@^27.2.4": + version "27.2.4" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.2.4.tgz#00df08bd60332bd59503cb5b6db21e4903785f86" + integrity sha512-cs/TzvwWUM7kAA6Qm/890SK6JJ2pD5RfDNM3SSEom6BmdyV6OiWP1qf/pqo6ts6xwpcM36oN0wSEzcZWc6/B6w== dependencies: - "@jest/types" "^26.6.2" - "@sinonjs/fake-timers" "^6.0.1" + "@jest/types" "^27.2.4" + "@sinonjs/fake-timers" "^8.0.1" "@types/node" "*" - jest-message-util "^26.6.2" - jest-mock "^26.6.2" - jest-util "^26.6.2" + jest-message-util "^27.2.4" + jest-mock "^27.2.4" + jest-util "^27.2.4" -"@jest/globals@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-26.6.2.tgz#5b613b78a1aa2655ae908eba638cc96a20df720a" - integrity sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA== +"@jest/globals@^27.2.4": + version "27.2.4" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.2.4.tgz#0aeb22b011f8c8c4b8ff3b4dbd1ee0392fe0dd8a" + integrity sha512-DRsRs5dh0i+fA9mGHylTU19+8fhzNJoEzrgsu+zgJoZth3x8/0juCQ8nVVdW1er4Cqifb/ET7/hACYVPD0dBEA== dependencies: - "@jest/environment" "^26.6.2" - "@jest/types" "^26.6.2" - expect "^26.6.2" + "@jest/environment" "^27.2.4" + "@jest/types" "^27.2.4" + expect "^27.2.4" -"@jest/reporters@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-26.6.2.tgz#1f518b99637a5f18307bd3ecf9275f6882a667f6" - integrity sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw== +"@jest/reporters@^27.2.4": + version "27.2.4" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.2.4.tgz#1482ff007f2e919d85c54b1563abb8b2ea2d5198" + integrity sha512-LHeSdDnDZkDnJ8kvnjcqV8P1Yv/32yL4d4XfR5gBiy3xGO0onwll1QEbvtW96fIwhx2nejug0GTaEdNDoyr3fQ== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^26.6.2" - "@jest/test-result" "^26.6.2" - "@jest/transform" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/console" "^27.2.4" + "@jest/test-result" "^27.2.4" + "@jest/transform" "^27.2.4" + "@jest/types" "^27.2.4" chalk "^4.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" @@ -727,78 +929,75 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.0.2" - jest-haste-map "^26.6.2" - jest-resolve "^26.6.2" - jest-util "^26.6.2" - jest-worker "^26.6.2" + jest-haste-map "^27.2.4" + jest-resolve "^27.2.4" + jest-util "^27.2.4" + jest-worker "^27.2.4" slash "^3.0.0" source-map "^0.6.0" string-length "^4.0.1" terminal-link "^2.0.0" - v8-to-istanbul "^7.0.0" - optionalDependencies: - node-notifier "^8.0.0" + v8-to-istanbul "^8.1.0" -"@jest/source-map@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-26.6.2.tgz#29af5e1e2e324cafccc936f218309f54ab69d535" - integrity sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA== +"@jest/source-map@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-27.0.6.tgz#be9e9b93565d49b0548b86e232092491fb60551f" + integrity sha512-Fek4mi5KQrqmlY07T23JRi0e7Z9bXTOOD86V/uS0EIW4PClvPDqZOyFlLpNJheS6QI0FNX1CgmPjtJ4EA/2M+g== dependencies: callsites "^3.0.0" graceful-fs "^4.2.4" source-map "^0.6.0" -"@jest/test-result@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-26.6.2.tgz#55da58b62df134576cc95476efa5f7949e3f5f18" - integrity sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ== +"@jest/test-result@^27.2.4": + version "27.2.4" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.2.4.tgz#d1ca8298d168f1b0be834bfb543b1ac0294c05d7" + integrity sha512-eU+PRo0+lIS01b0dTmMdVZ0TtcRSxEaYquZTRFMQz6CvsehGhx9bRzi9Zdw6VROviJyv7rstU+qAMX5pNBmnfQ== dependencies: - "@jest/console" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/console" "^27.2.4" + "@jest/types" "^27.2.4" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^26.6.3": - version "26.6.3" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz#98e8a45100863886d074205e8ffdc5a7eb582b17" - integrity sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw== +"@jest/test-sequencer@^27.2.4": + version "27.2.4" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.2.4.tgz#df66422a3e9e7440ce8b7498e255fa6b52c0bc03" + integrity sha512-fpk5eknU3/DXE2QCCG1wv/a468+cfPo3Asu6d6yUtM9LOPh709ubZqrhuUOYfM8hXMrIpIdrv1CdCrWWabX0rQ== dependencies: - "@jest/test-result" "^26.6.2" + "@jest/test-result" "^27.2.4" graceful-fs "^4.2.4" - jest-haste-map "^26.6.2" - jest-runner "^26.6.3" - jest-runtime "^26.6.3" + jest-haste-map "^27.2.4" + jest-runtime "^27.2.4" -"@jest/transform@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-26.6.2.tgz#5ac57c5fa1ad17b2aae83e73e45813894dcf2e4b" - integrity sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA== +"@jest/transform@^27.2.4": + version "27.2.4" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.2.4.tgz#2fe5b6836895f7a1b8bdec442c51e83943c62733" + integrity sha512-n5FlX2TH0oQGwyVDKPxdJ5nI2sO7TJBFe3u3KaAtt7TOiV4yL+Y+rSFDl+Ic5MpbiA/eqXmLAQxjnBmWgS2rEA== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^26.6.2" + "@jest/types" "^27.2.4" babel-plugin-istanbul "^6.0.0" chalk "^4.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.2.4" - jest-haste-map "^26.6.2" - jest-regex-util "^26.0.0" - jest-util "^26.6.2" - micromatch "^4.0.2" + jest-haste-map "^27.2.4" + jest-regex-util "^27.0.6" + jest-util "^27.2.4" + micromatch "^4.0.4" pirates "^4.0.1" slash "^3.0.0" source-map "^0.6.1" write-file-atomic "^3.0.0" -"@jest/types@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-26.6.2.tgz#bef5a532030e1d88a2f5a6d933f84e97226ed48e" - integrity sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ== +"@jest/types@^27.2.4": + version "27.2.4" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.2.4.tgz#2430042a66e00dc5b140c3636f4474d464c21ee8" + integrity sha512-IDO2ezTxeMvQAHxzG/ZvEyA47q0aVfzT95rGFl7bZs/Go0aIucvfDbS2rmnoEdXxlLQhcolmoG/wvL/uKx4tKA== dependencies: "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^3.0.0" "@types/node" "*" - "@types/yargs" "^15.0.0" + "@types/yargs" "^16.0.0" chalk "^4.0.0" "@lerna/add@3.21.0": @@ -1652,10 +1851,10 @@ dependencies: type-detect "4.0.8" -"@sinonjs/fake-timers@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz#293674fccb3262ac782c7aadfdeca86b10c75c40" - integrity sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA== +"@sinonjs/fake-timers@^8.0.1": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-8.0.1.tgz#1c1c9a91419f804e59ae8df316a07dd1c3a76b94" + integrity sha512-AU7kwFxreVd6OAXcAFlKSmZquiRUU0FvYm44k1Y1QbK7Co4m0aqfGMhjykIeQp/H6rcl+nFmj0zfdUcGVs9Dew== dependencies: "@sinonjs/commons" "^1.7.0" @@ -1664,7 +1863,7 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== -"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.7": +"@types/babel__core@^7.0.0": version "7.1.14" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.14.tgz#faaeefc4185ec71c389f4501ee5ec84b170cc402" integrity sha512-zGZJzzBUVDo/eV6KgbE0f0ZI7dInEYvo12Rb70uNQDshC3SkRMb67ja0GgRHZgAX3Za6rhaWlvbDO8rrGyAb1g== @@ -1675,6 +1874,17 @@ "@types/babel__template" "*" "@types/babel__traverse" "*" +"@types/babel__core@^7.1.14": + version "7.1.16" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.16.tgz#bc12c74b7d65e82d29876b5d0baf5c625ac58702" + integrity sha512-EAEHtisTMM+KaKwfWdC3oyllIqswlznXCIVCt7/oRNrh+DhgT4UEBNC/jlADNjvw7UnfbcdkGQcPVZ1xYiLcrQ== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + "@types/babel__generator@*": version "7.6.2" resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.2.tgz#f3d71178e187858f7c45e30380f8f1b7415a12d8" @@ -1766,13 +1976,13 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@^26.0.4": - version "26.0.22" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.22.tgz#8308a1debdf1b807aa47be2838acdcd91e88fbe6" - integrity sha512-eeWwWjlqxvBxc4oQdkueW5OF/gtfSceKk4OnOAGlUSwS/liBRtZppbJuz1YkgbrbfGOoeBHun9fOvXnjNwrSOw== +"@types/jest@^27.0.2": + version "27.0.2" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.0.2.tgz#ac383c4d4aaddd29bbf2b916d8d105c304a5fcd7" + integrity sha512-4dRxkS/AFX0c5XW6IPMNOydLn2tEhNhJV7DnYK+0bjoJZ+QTmfucBlihX7aoEsh/ocYtkLC73UbnBXBXIxsULA== dependencies: - jest-diff "^26.0.0" - pretty-format "^26.0.0" + jest-diff "^27.0.0" + pretty-format "^27.0.0" "@types/json-schema@^7.0.7": version "7.0.9" @@ -1839,10 +2049,10 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/prettier@^2.0.0": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.2.3.tgz#ef65165aea2924c9359205bf748865b8881753c0" - integrity sha512-PijRCG/K3s3w1We6ynUKdxEc5AcuuH3NBmMDP8uvKVp6X43UY7NQlTzczakXP3DJR0F4dfNQIGjU2cUeRYs2AA== +"@types/prettier@^2.1.5": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.4.1.tgz#e1303048d5389563e130f5bdd89d37a99acb75eb" + integrity sha512-Fo79ojj3vdEZOHg3wR9ksAMRz4P3S5fDB5e/YWZiFnyFQI1WY2Vftu9XoXVVtJfxB7Bpce/QTqWSSntkz2Znrw== "@types/qs@*": version "6.9.7" @@ -1876,10 +2086,10 @@ resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-20.2.0.tgz#dd3e6699ba3237f0348cd085e4698780204842f9" integrity sha512-37RSHht+gzzgYeobbG+KWryeAW8J33Nhr69cjTqSYymXVZEN9NbRYWoYlRtDhHKPVT1FyNKwaTPC1NynKZpzRA== -"@types/yargs@^15.0.0": - version "15.0.13" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.13.tgz#34f7fec8b389d7f3c1fd08026a5763e072d3c6dc" - integrity sha512-kQ5JNTrbDv3Rp5X2n/iUu37IJBDU2gsZ5R/g1/KHOOEc5IKfUFjXT6DENPGduh08I/pamwtEq4oul7gUqKTQDQ== +"@types/yargs@^16.0.0": + version "16.0.4" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.4.tgz#26aad98dd2c2a38e421086ea9ad42b9e51642977" + integrity sha512-T8Yc9wt/5LbJyCaLiHPReJa0kApcIgJ7Bn735GjItUfh08Z1pJvu8QZqb9s+mMvKV6WUQRV7K2R46YbjMXTTJw== dependencies: "@types/yargs-parser" "*" @@ -2282,6 +2492,11 @@ acorn@^8.1.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.1.1.tgz#fb0026885b9ac9f48bac1e185e4af472971149ff" integrity sha512-xYiIVjNuqtKXMxlRMDc6mZUhXehod4a3gbZ1qRlM7icK4EbxUFNLhWoPblCvFtB2Y9CIqHP3CF/rdxLItaQv8g== +acorn@^8.2.4: + version "8.5.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.5.0.tgz#4512ccb99b3698c752591e9bb4472e38ad43cee2" + integrity sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q== + after@0.8.2: version "0.8.2" resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f" @@ -2400,6 +2615,11 @@ ansi-regex@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -2414,6 +2634,11 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: dependencies: color-convert "^2.0.1" +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + ansi@^0.3.0, ansi@~0.3.0: version "0.3.1" resolved "https://registry.yarnpkg.com/ansi/-/ansi-0.3.1.tgz#0c42d4fb17160d5a9af1e484bace1c66922c1b21" @@ -2711,16 +2936,16 @@ axios@^0.21.4: dependencies: follow-redirects "^1.14.0" -babel-jest@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.6.3.tgz#d87d25cb0037577a0c89f82e5755c5d293c01056" - integrity sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA== +babel-jest@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.2.4.tgz#21ed6729d51bdd75470bbbf3c8b08d86209fb0dc" + integrity sha512-f24OmxyWymk5jfgLdlCMu4fTs4ldxFBIdn5sJdhvGC1m08rSkJ5hYbWkNmfBSvE/DjhCVNSHXepxsI6THGfGsg== dependencies: - "@jest/transform" "^26.6.2" - "@jest/types" "^26.6.2" - "@types/babel__core" "^7.1.7" + "@jest/transform" "^27.2.4" + "@jest/types" "^27.2.4" + "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.0.0" - babel-preset-jest "^26.6.2" + babel-preset-jest "^27.2.0" chalk "^4.0.0" graceful-fs "^4.2.4" slash "^3.0.0" @@ -2736,10 +2961,10 @@ babel-plugin-istanbul@^6.0.0: istanbul-lib-instrument "^4.0.0" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz#8185bd030348d254c6d7dd974355e6a28b21e62d" - integrity sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw== +babel-plugin-jest-hoist@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.2.0.tgz#79f37d43f7e5c4fdc4b2ca3e10cc6cf545626277" + integrity sha512-TOux9khNKdi64mW+0OIhcmbAn75tTlzKhxmiNXevQaPbrBYK7YKjP1jl6NHTJ6XR5UgUrJbCnWlKVnJn29dfjw== dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" @@ -2764,12 +2989,12 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz#747872b1171df032252426586881d62d31798fee" - integrity sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ== +babel-preset-jest@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.2.0.tgz#556bbbf340608fed5670ab0ea0c8ef2449fba885" + integrity sha512-z7MgQ3peBwN5L5aCqBKnF6iqdlvZvFUQynEhu0J+X9nHLU72jO3iY331lcYrg+AssJ8q7xsv5/3AICzVmJ/wvg== dependencies: - babel-plugin-jest-hoist "^26.6.2" + babel-plugin-jest-hoist "^27.2.0" babel-preset-current-node-syntax "^1.0.0" backo2@1.0.2: @@ -3047,6 +3272,17 @@ browserslist@^4.14.5: escalade "^3.1.1" node-releases "^1.1.71" +browserslist@^4.16.6: + version "4.17.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.3.tgz#2844cd6eebe14d12384b0122d217550160d2d624" + integrity sha512-59IqHJV5VGdcJZ+GZ2hU5n4Kv3YiASzW6Xk5g9tf5a/MAzGeFwgGWU39fVzNIOVcgB3+Gp+kiQu0HEfTVU/3VQ== + dependencies: + caniuse-lite "^1.0.30001264" + electron-to-chromium "^1.3.857" + escalade "^3.1.1" + node-releases "^1.1.77" + picocolors "^0.2.1" + bs-logger@0.x: version "0.2.6" resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" @@ -3076,7 +3312,7 @@ buffer-equal-constant-time@1.0.1: resolved "https://registry.yarnpkg.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz#f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819" integrity sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk= -buffer-from@1.x, buffer-from@^1.0.0: +buffer-from@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== @@ -3277,7 +3513,7 @@ camelcase@^5.0.0, camelcase@^5.3.1: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -camelcase@^6.0.0: +camelcase@^6.0.0, camelcase@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== @@ -3287,6 +3523,11 @@ caniuse-lite@^1.0.30001208: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001211.tgz#be40d528bb10272eba0037a88adc40054810f8e2" integrity sha512-v3GXWKofIkN3PkSidLI5d1oqeKNsam9nQkqieoMhP87nxOY0RPDC8X2+jcv8pjV4dRozPLSoMqNii9sDViOlIg== +caniuse-lite@^1.0.30001264: + version "1.0.30001264" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001264.tgz#88f625a60efb6724c7c62ac698bc8dbd9757e55b" + integrity sha512-Ftfqqfcs/ePiUmyaySsQ4PUsdcYyXG2rfoBVsk3iY1ahHaJEw65vfb7Suzqm+cEkwwPIv/XWkg27iCpRavH4zA== + capture-exit@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4" @@ -3411,6 +3652,11 @@ ci-info@^2.0.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== +ci-info@^3.1.1: + version "3.2.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.2.0.tgz#2876cb948a498797b5236f0095bc057d0dca38b6" + integrity sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A== + cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -3419,10 +3665,10 @@ cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: inherits "^2.0.1" safe-buffer "^5.0.1" -cjs-module-lexer@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz#4186fcca0eae175970aee870b9fe2d6cf8d5655f" - integrity sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw== +cjs-module-lexer@^1.0.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" + integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== class-utils@^0.3.5: version "0.3.6" @@ -3638,7 +3884,7 @@ combine-source-map@^0.8.0: lodash.memoize "~3.0.3" source-map "~0.5.3" -combined-stream@^1.0.6, combined-stream@~1.0.6: +combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== @@ -4031,7 +4277,7 @@ cross-spawn@^6.0.0, cross-spawn@^6.0.5: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.0, cross-spawn@^7.0.2: +cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -4429,10 +4675,10 @@ di@^0.0.1: resolved "https://registry.yarnpkg.com/di/-/di-0.0.1.tgz#806649326ceaa7caa3306d75d985ea2748ba913c" integrity sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw= -diff-sequences@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1" - integrity sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q== +diff-sequences@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.0.6.tgz#3305cb2e55a033924054695cc66019fd7f8e5723" + integrity sha512-ag6wfpBFyNXZ0p8pcuIDS//D8H062ZQJ3fzYxjpmeKjnz8W4pekL3AI8VohmyZmsWW2PWaHgjsmqR6L13101VQ== diff@5.0.0: version "5.0.0" @@ -4613,6 +4859,11 @@ electron-to-chromium@^1.3.712: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.717.tgz#78d4c857070755fb58ab64bcc173db1d51cbc25f" integrity sha512-OfzVPIqD1MkJ7fX+yTl2nKyOE4FReeVfMCzzxQS+Kp43hZYwHwThlGP+EGIZRXJsxCM7dqo8Y65NOX/HP12iXQ== +electron-to-chromium@^1.3.857: + version "1.3.859" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.859.tgz#4e0abc918e1c22b306ba13b4c3649f78295f5937" + integrity sha512-gXRXKNWedfdiKIzwr0Mg/VGCvxXzy+4SuK9hp1BDvfbCwx0O5Ot+2f4CoqQkqEJ3Zj/eAV/GoAFgBVFgkBLXuQ== + elliptic@^6.5.3: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" @@ -4626,10 +4877,10 @@ elliptic@^6.5.3: minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" -emittery@^0.7.1: - version "0.7.2" - resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.7.2.tgz#25595908e13af0f5674ab419396e2fb394cdfa82" - integrity sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ== +emittery@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.8.1.tgz#bb23cc86d03b30aa75a7f734819dee2e1ba70860" + integrity sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg== emoji-regex@^7.0.1: version "7.0.3" @@ -5109,7 +5360,7 @@ execa@^1.0.0: signal-exit "^3.0.0" strip-eof "^1.0.0" -execa@^4.0.0, execa@^4.1.0: +execa@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/execa/-/execa-4.1.0.tgz#4e5491ad1572f2f17a77d388c6c857135b22847a" integrity sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA== @@ -5124,6 +5375,21 @@ execa@^4.0.0, execa@^4.1.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -5149,17 +5415,17 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2: dependencies: homedir-polyfill "^1.0.1" -expect@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/expect/-/expect-26.6.2.tgz#c6b996bf26bf3fe18b67b2d0f51fc981ba934417" - integrity sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA== +expect@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/expect/-/expect-27.2.4.tgz#4debf546050bcdad8914a8c95fec7662e02bf67c" + integrity sha512-gOtuonQ8TCnbNNCSw2fhVzRf8EFYDII4nB5NmG4IEV0rbUnW1I5zXvoTntU4iicB/Uh0oZr20NGlOLdJiwsOZA== dependencies: - "@jest/types" "^26.6.2" - ansi-styles "^4.0.0" - jest-get-type "^26.3.0" - jest-matcher-utils "^26.6.2" - jest-message-util "^26.6.2" - jest-regex-util "^26.0.0" + "@jest/types" "^27.2.4" + ansi-styles "^5.0.0" + jest-get-type "^27.0.6" + jest-matcher-utils "^27.2.4" + jest-message-util "^27.2.4" + jest-regex-util "^27.0.6" express@4.17.1: version "4.17.1" @@ -5539,6 +5805,15 @@ forever-agent@~0.6.1: resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= +form-data@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" + integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + form-data@~2.3.2: version "2.3.3" resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" @@ -5643,7 +5918,7 @@ fsevents@^1.2.7: bindings "^1.5.0" nan "^2.12.1" -fsevents@^2.1.2, fsevents@~2.3.1: +fsevents@^2.3.2, fsevents@~2.3.1: version "2.3.2" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== @@ -5781,6 +6056,11 @@ get-stream@^5.0.0, get-stream@^5.1.0: dependencies: pump "^3.0.0" +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -6025,11 +6305,6 @@ growl@1.10.5: resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== -growly@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" - integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE= - handlebars@4.7.7, handlebars@^4.7.6: version "4.7.7" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" @@ -6268,7 +6543,7 @@ http-proxy-agent@^2.1.0: agent-base "4" debug "3.1.0" -http-proxy-agent@^4.0.0: +http-proxy-agent@^4.0.0, http-proxy-agent@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== @@ -6321,11 +6596,24 @@ https-proxy-agent@^4.0.0: agent-base "5" debug "4" +https-proxy-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" + integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== + dependencies: + agent-base "6" + debug "4" + human-signals@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" @@ -6634,6 +6922,13 @@ is-ci@^2.0.0: dependencies: ci-info "^2.0.0" +is-ci@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.0.tgz#c7e7be3c9d8eef7d0fa144390bd1e4b88dc4c994" + integrity sha512-kDXyttuLeslKAHYL/K28F2YkM3x5jvFPEw3yXbRptXydjD9rpLEz+C5K5iutY9ZiUu6AP41JdvRQwF4Iqs4ZCQ== + dependencies: + ci-info "^3.1.1" + is-core-module@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a" @@ -6833,7 +7128,7 @@ is-plain-object@^5.0.0: resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== -is-potential-custom-element-name@^1.0.0: +is-potential-custom-element-name@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== @@ -6937,7 +7232,7 @@ is-wsl@^1.1.0: resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= -is-wsl@^2.1.0, is-wsl@^2.2.0: +is-wsl@^2.1.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== @@ -7058,200 +7353,226 @@ jayson@^3.6.3: uuid "^3.4.0" ws "^7.4.5" -jest-changed-files@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-26.6.2.tgz#f6198479e1cc66f22f9ae1e22acaa0b429c042d0" - integrity sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ== +jest-changed-files@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.2.4.tgz#d7de46e90e5a599c47e260760f5ab53516e835e6" + integrity sha512-eeO1C1u4ex7pdTroYXezr+rbr957myyVoKGjcY4R1TJi3A+9v+4fu1Iv9J4eLq1bgFyT3O3iRWU9lZsEE7J72Q== dependencies: - "@jest/types" "^26.6.2" - execa "^4.0.0" - throat "^5.0.0" + "@jest/types" "^27.2.4" + execa "^5.0.0" + throat "^6.0.1" -jest-cli@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-26.6.3.tgz#43117cfef24bc4cd691a174a8796a532e135e92a" - integrity sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg== +jest-circus@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.2.4.tgz#3bd898a29dcaf6a506f3f1b780dff5f67ca83c23" + integrity sha512-TtheheTElrGjlsY9VxkzUU1qwIx05ItIusMVKnvNkMt4o/PeegLRcjq3Db2Jz0GGdBalJdbzLZBgeulZAJxJWA== dependencies: - "@jest/core" "^26.6.3" - "@jest/test-result" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/environment" "^27.2.4" + "@jest/test-result" "^27.2.4" + "@jest/types" "^27.2.4" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + dedent "^0.7.0" + expect "^27.2.4" + is-generator-fn "^2.0.0" + jest-each "^27.2.4" + jest-matcher-utils "^27.2.4" + jest-message-util "^27.2.4" + jest-runtime "^27.2.4" + jest-snapshot "^27.2.4" + jest-util "^27.2.4" + pretty-format "^27.2.4" + slash "^3.0.0" + stack-utils "^2.0.3" + throat "^6.0.1" + +jest-cli@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.2.4.tgz#acda7f367aa6e674723fc1a7334e0ae1799448d2" + integrity sha512-4kpQQkg74HYLaXo3nzwtg4PYxSLgL7puz1LXHj5Tu85KmlIpxQFjRkXlx4V47CYFFIDoyl3rHA/cXOxUWyMpNg== + dependencies: + "@jest/core" "^27.2.4" + "@jest/test-result" "^27.2.4" + "@jest/types" "^27.2.4" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.4" import-local "^3.0.2" - is-ci "^2.0.0" - jest-config "^26.6.3" - jest-util "^26.6.2" - jest-validate "^26.6.2" + jest-config "^27.2.4" + jest-util "^27.2.4" + jest-validate "^27.2.4" prompts "^2.0.1" - yargs "^15.4.1" + yargs "^16.2.0" -jest-config@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-26.6.3.tgz#64f41444eef9eb03dc51d5c53b75c8c71f645349" - integrity sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg== +jest-config@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.2.4.tgz#0204969f5ae2e5190d47be2c14c04d631b7836e2" + integrity sha512-tWy0UxhdzqiKyp4l5Vq4HxLyD+gH5td+GCF3c22/DJ0bYAOsMo+qi2XtbJI6oYMH5JOJQs9nLW/r34nvFCehjA== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^26.6.3" - "@jest/types" "^26.6.2" - babel-jest "^26.6.3" + "@jest/test-sequencer" "^27.2.4" + "@jest/types" "^27.2.4" + babel-jest "^27.2.4" chalk "^4.0.0" deepmerge "^4.2.2" glob "^7.1.1" graceful-fs "^4.2.4" - jest-environment-jsdom "^26.6.2" - jest-environment-node "^26.6.2" - jest-get-type "^26.3.0" - jest-jasmine2 "^26.6.3" - jest-regex-util "^26.0.0" - jest-resolve "^26.6.2" - jest-util "^26.6.2" - jest-validate "^26.6.2" - micromatch "^4.0.2" - pretty-format "^26.6.2" - -jest-diff@^26.0.0, jest-diff@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-26.6.2.tgz#1aa7468b52c3a68d7d5c5fdcdfcd5e49bd164394" - integrity sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA== + is-ci "^3.0.0" + jest-circus "^27.2.4" + jest-environment-jsdom "^27.2.4" + jest-environment-node "^27.2.4" + jest-get-type "^27.0.6" + jest-jasmine2 "^27.2.4" + jest-regex-util "^27.0.6" + jest-resolve "^27.2.4" + jest-runner "^27.2.4" + jest-util "^27.2.4" + jest-validate "^27.2.4" + micromatch "^4.0.4" + pretty-format "^27.2.4" + +jest-diff@^27.0.0, jest-diff@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.2.4.tgz#171c51d3d2c105c457100fee6e7bf7cee51c8d8c" + integrity sha512-bLAVlDSCR3gqUPGv+4nzVpEXGsHh98HjUL7Vb2hVyyuBDoQmja8eJb0imUABsuxBeUVmf47taJSAd9nDrwWKEg== dependencies: chalk "^4.0.0" - diff-sequences "^26.6.2" - jest-get-type "^26.3.0" - pretty-format "^26.6.2" + diff-sequences "^27.0.6" + jest-get-type "^27.0.6" + pretty-format "^27.2.4" -jest-docblock@^26.0.0: - version "26.0.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-26.0.0.tgz#3e2fa20899fc928cb13bd0ff68bd3711a36889b5" - integrity sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w== +jest-docblock@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-27.0.6.tgz#cc78266acf7fe693ca462cbbda0ea4e639e4e5f3" + integrity sha512-Fid6dPcjwepTFraz0YxIMCi7dejjJ/KL9FBjPYhBp4Sv1Y9PdhImlKZqYU555BlN4TQKaTc+F2Av1z+anVyGkA== dependencies: detect-newline "^3.0.0" -jest-each@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-26.6.2.tgz#02526438a77a67401c8a6382dfe5999952c167cb" - integrity sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A== +jest-each@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.2.4.tgz#b4f280aafd63129ba82e345f0e74c5a10200aeef" + integrity sha512-w9XVc+0EDBUTJS4xBNJ7N2JCcWItFd006lFjz77OarAQcQ10eFDBMrfDv2GBJMKlXe9aq0HrIIF51AXcZrRJyg== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.2.4" chalk "^4.0.0" - jest-get-type "^26.3.0" - jest-util "^26.6.2" - pretty-format "^26.6.2" - -jest-environment-jsdom@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz#78d09fe9cf019a357009b9b7e1f101d23bd1da3e" - integrity sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q== - dependencies: - "@jest/environment" "^26.6.2" - "@jest/fake-timers" "^26.6.2" - "@jest/types" "^26.6.2" + jest-get-type "^27.0.6" + jest-util "^27.2.4" + pretty-format "^27.2.4" + +jest-environment-jsdom@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.2.4.tgz#39ae80bbb8675306bfaf0440be1e5f877554539a" + integrity sha512-X70pTXFSypD7AIzKT1mLnDi5hP9w9mdTRcOGOmoDoBrNyNEg4rYm6d4LQWFLc9ps1VnMuDOkFSG0wjSNYGjkng== + dependencies: + "@jest/environment" "^27.2.4" + "@jest/fake-timers" "^27.2.4" + "@jest/types" "^27.2.4" "@types/node" "*" - jest-mock "^26.6.2" - jest-util "^26.6.2" - jsdom "^16.4.0" - -jest-environment-node@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-26.6.2.tgz#824e4c7fb4944646356f11ac75b229b0035f2b0c" - integrity sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag== - dependencies: - "@jest/environment" "^26.6.2" - "@jest/fake-timers" "^26.6.2" - "@jest/types" "^26.6.2" + jest-mock "^27.2.4" + jest-util "^27.2.4" + jsdom "^16.6.0" + +jest-environment-node@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.2.4.tgz#b79f98cb36e0c9111aac859c9c99f04eb2f74ff6" + integrity sha512-ZbVbFSnbzTvhLOIkqh5lcLuGCCFvtG4xTXIRPK99rV2KzQT3kNg16KZwfTnLNlIiWCE8do960eToeDfcqmpSAw== + dependencies: + "@jest/environment" "^27.2.4" + "@jest/fake-timers" "^27.2.4" + "@jest/types" "^27.2.4" "@types/node" "*" - jest-mock "^26.6.2" - jest-util "^26.6.2" + jest-mock "^27.2.4" + jest-util "^27.2.4" -jest-get-type@^26.3.0: - version "26.3.0" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-26.3.0.tgz#e97dc3c3f53c2b406ca7afaed4493b1d099199e0" - integrity sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig== +jest-get-type@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.0.6.tgz#0eb5c7f755854279ce9b68a9f1a4122f69047cfe" + integrity sha512-XTkK5exIeUbbveehcSR8w0bhH+c0yloW/Wpl+9vZrjzztCPWrxhHwkIFpZzCt71oRBsgxmuUfxEqOYoZI2macg== -jest-haste-map@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-26.6.2.tgz#dd7e60fe7dc0e9f911a23d79c5ff7fb5c2cafeaa" - integrity sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w== +jest-haste-map@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.2.4.tgz#f8974807bedf07348ca9fd24e5861ab7c8e61aba" + integrity sha512-bkJ4bT00T2K+1NZXbRcyKnbJ42I6QBvoDNMTAQQDBhaGNnZreiQKUNqax0e6hLTx7E75pKDeltVu3V1HAdu+YA== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.2.4" "@types/graceful-fs" "^4.1.2" "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.4" - jest-regex-util "^26.0.0" - jest-serializer "^26.6.2" - jest-util "^26.6.2" - jest-worker "^26.6.2" - micromatch "^4.0.2" - sane "^4.0.3" + jest-regex-util "^27.0.6" + jest-serializer "^27.0.6" + jest-util "^27.2.4" + jest-worker "^27.2.4" + micromatch "^4.0.4" walker "^1.0.7" optionalDependencies: - fsevents "^2.1.2" + fsevents "^2.3.2" -jest-jasmine2@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz#adc3cf915deacb5212c93b9f3547cd12958f2edd" - integrity sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg== +jest-jasmine2@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.2.4.tgz#4a1608133dbdb4d68b5929bfd785503ed9c9ba51" + integrity sha512-fcffjO/xLWLVnW2ct3No4EksxM5RyPwHDYu9QU+90cC+/eSMLkFAxS55vkqsxexOO5zSsZ3foVpMQcg/amSeIQ== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^26.6.2" - "@jest/source-map" "^26.6.2" - "@jest/test-result" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/environment" "^27.2.4" + "@jest/source-map" "^27.0.6" + "@jest/test-result" "^27.2.4" + "@jest/types" "^27.2.4" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" - expect "^26.6.2" + expect "^27.2.4" is-generator-fn "^2.0.0" - jest-each "^26.6.2" - jest-matcher-utils "^26.6.2" - jest-message-util "^26.6.2" - jest-runtime "^26.6.3" - jest-snapshot "^26.6.2" - jest-util "^26.6.2" - pretty-format "^26.6.2" - throat "^5.0.0" - -jest-leak-detector@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz#7717cf118b92238f2eba65054c8a0c9c653a91af" - integrity sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg== - dependencies: - jest-get-type "^26.3.0" - pretty-format "^26.6.2" - -jest-matcher-utils@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz#8e6fd6e863c8b2d31ac6472eeb237bc595e53e7a" - integrity sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw== + jest-each "^27.2.4" + jest-matcher-utils "^27.2.4" + jest-message-util "^27.2.4" + jest-runtime "^27.2.4" + jest-snapshot "^27.2.4" + jest-util "^27.2.4" + pretty-format "^27.2.4" + throat "^6.0.1" + +jest-leak-detector@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.2.4.tgz#9bb7eab26a73bb280e9298be8d80f389288ec8f1" + integrity sha512-SrcHWbe0EHg/bw2uBjVoHacTo5xosl068x2Q0aWsjr2yYuW2XwqrSkZV4lurUop0jhv1709ymG4or+8E4sH27Q== + dependencies: + jest-get-type "^27.0.6" + pretty-format "^27.2.4" + +jest-matcher-utils@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.2.4.tgz#008fff018151415ad1b6cfc083fd70fe1e012525" + integrity sha512-nQeLfFAIPPkyhkDfifAPfP/U5wm1x0fLtAzqXZSSKckXDNuk2aaOfQiDYv1Mgf5GY6yOsxfUnvNm3dDjXM+BXw== dependencies: chalk "^4.0.0" - jest-diff "^26.6.2" - jest-get-type "^26.3.0" - pretty-format "^26.6.2" + jest-diff "^27.2.4" + jest-get-type "^27.0.6" + pretty-format "^27.2.4" -jest-message-util@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-26.6.2.tgz#58173744ad6fc0506b5d21150b9be56ef001ca07" - integrity sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA== +jest-message-util@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.2.4.tgz#667e8c0f2b973156d1bac7398a7f677705cafaca" + integrity sha512-wbKT/BNGnBVB9nzi+IoaLkXt6fbSvqUxx+IYY66YFh96J3goY33BAaNG3uPqaw/Sh/FR9YpXGVDfd5DJdbh4nA== dependencies: - "@babel/code-frame" "^7.0.0" - "@jest/types" "^26.6.2" + "@babel/code-frame" "^7.12.13" + "@jest/types" "^27.2.4" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.4" - micromatch "^4.0.2" - pretty-format "^26.6.2" + micromatch "^4.0.4" + pretty-format "^27.2.4" slash "^3.0.0" - stack-utils "^2.0.2" + stack-utils "^2.0.3" -jest-mock@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-26.6.2.tgz#d6cb712b041ed47fe0d9b6fc3474bc6543feb302" - integrity sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew== +jest-mock@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.2.4.tgz#c8f0ef33f73d8ff53e3f60b16d59f1128f4072ae" + integrity sha512-iVRU905rutaAoUcrt5Tm1JoHHWi24YabqEGXjPJI4tAyA6wZ7mzDi3GrZ+M7ebgWBqUkZE93GAx1STk7yCMIQA== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.2.4" "@types/node" "*" jest-pnp-resolver@^1.2.2: @@ -7259,158 +7580,170 @@ jest-pnp-resolver@^1.2.2: resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== -jest-regex-util@^26.0.0: - version "26.0.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-26.0.0.tgz#d25e7184b36e39fd466c3bc41be0971e821fee28" - integrity sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A== +jest-regex-util@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.0.6.tgz#02e112082935ae949ce5d13b2675db3d8c87d9c5" + integrity sha512-SUhPzBsGa1IKm8hx2F4NfTGGp+r7BXJ4CulsZ1k2kI+mGLG+lxGrs76veN2LF/aUdGosJBzKgXmNCw+BzFqBDQ== -jest-resolve-dependencies@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz#6680859ee5d22ee5dcd961fe4871f59f4c784fb6" - integrity sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg== +jest-resolve-dependencies@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.2.4.tgz#20c41cc02b66aa45169b282356ec73b133013089" + integrity sha512-i5s7Uh9B3Q6uwxLpMhNKlgBf6pcemvWaORxsW1zNF/YCY3jd5EftvnGBI+fxVwJ1CBxkVfxqCvm1lpZkbaoGmg== dependencies: - "@jest/types" "^26.6.2" - jest-regex-util "^26.0.0" - jest-snapshot "^26.6.2" + "@jest/types" "^27.2.4" + jest-regex-util "^27.0.6" + jest-snapshot "^27.2.4" -jest-resolve@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-26.6.2.tgz#a3ab1517217f469b504f1b56603c5bb541fbb507" - integrity sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ== +jest-resolve@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.2.4.tgz#d3b999f073ff84a8ae109ce99ff7f3223048701a" + integrity sha512-IsAO/3+3BZnKjI2I4f3835TBK/90dxR7Otgufn3mnrDFTByOSXclDi3G2XJsawGV4/18IMLARJ+V7Wm7t+J89Q== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.2.4" chalk "^4.0.0" + escalade "^3.1.1" graceful-fs "^4.2.4" + jest-haste-map "^27.2.4" jest-pnp-resolver "^1.2.2" - jest-util "^26.6.2" - read-pkg-up "^7.0.1" - resolve "^1.18.1" + jest-util "^27.2.4" + jest-validate "^27.2.4" + resolve "^1.20.0" slash "^3.0.0" -jest-runner@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-26.6.3.tgz#2d1fed3d46e10f233fd1dbd3bfaa3fe8924be159" - integrity sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ== +jest-runner@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.2.4.tgz#d816f4cb4af04f3cba703afcf5a35a335b77cad4" + integrity sha512-hIo5PPuNUyVDidZS8EetntuuJbQ+4IHWxmHgYZz9FIDbG2wcZjrP6b52uMDjAEQiHAn8yn8ynNe+TL8UuGFYKg== dependencies: - "@jest/console" "^26.6.2" - "@jest/environment" "^26.6.2" - "@jest/test-result" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/console" "^27.2.4" + "@jest/environment" "^27.2.4" + "@jest/test-result" "^27.2.4" + "@jest/transform" "^27.2.4" + "@jest/types" "^27.2.4" "@types/node" "*" chalk "^4.0.0" - emittery "^0.7.1" + emittery "^0.8.1" exit "^0.1.2" graceful-fs "^4.2.4" - jest-config "^26.6.3" - jest-docblock "^26.0.0" - jest-haste-map "^26.6.2" - jest-leak-detector "^26.6.2" - jest-message-util "^26.6.2" - jest-resolve "^26.6.2" - jest-runtime "^26.6.3" - jest-util "^26.6.2" - jest-worker "^26.6.2" + jest-docblock "^27.0.6" + jest-environment-jsdom "^27.2.4" + jest-environment-node "^27.2.4" + jest-haste-map "^27.2.4" + jest-leak-detector "^27.2.4" + jest-message-util "^27.2.4" + jest-resolve "^27.2.4" + jest-runtime "^27.2.4" + jest-util "^27.2.4" + jest-worker "^27.2.4" source-map-support "^0.5.6" - throat "^5.0.0" - -jest-runtime@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-26.6.3.tgz#4f64efbcfac398331b74b4b3c82d27d401b8fa2b" - integrity sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw== - dependencies: - "@jest/console" "^26.6.2" - "@jest/environment" "^26.6.2" - "@jest/fake-timers" "^26.6.2" - "@jest/globals" "^26.6.2" - "@jest/source-map" "^26.6.2" - "@jest/test-result" "^26.6.2" - "@jest/transform" "^26.6.2" - "@jest/types" "^26.6.2" - "@types/yargs" "^15.0.0" + throat "^6.0.1" + +jest-runtime@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.2.4.tgz#170044041e5d30625ab8d753516bbe503f213a5c" + integrity sha512-ICKzzYdjIi70P17MZsLLIgIQFCQmIjMFf+xYww3aUySiUA/QBPUTdUqo5B2eg4HOn9/KkUsV0z6GVgaqAPBJvg== + dependencies: + "@jest/console" "^27.2.4" + "@jest/environment" "^27.2.4" + "@jest/fake-timers" "^27.2.4" + "@jest/globals" "^27.2.4" + "@jest/source-map" "^27.0.6" + "@jest/test-result" "^27.2.4" + "@jest/transform" "^27.2.4" + "@jest/types" "^27.2.4" + "@types/yargs" "^16.0.0" chalk "^4.0.0" - cjs-module-lexer "^0.6.0" + cjs-module-lexer "^1.0.0" collect-v8-coverage "^1.0.0" + execa "^5.0.0" exit "^0.1.2" glob "^7.1.3" graceful-fs "^4.2.4" - jest-config "^26.6.3" - jest-haste-map "^26.6.2" - jest-message-util "^26.6.2" - jest-mock "^26.6.2" - jest-regex-util "^26.0.0" - jest-resolve "^26.6.2" - jest-snapshot "^26.6.2" - jest-util "^26.6.2" - jest-validate "^26.6.2" + jest-haste-map "^27.2.4" + jest-message-util "^27.2.4" + jest-mock "^27.2.4" + jest-regex-util "^27.0.6" + jest-resolve "^27.2.4" + jest-snapshot "^27.2.4" + jest-util "^27.2.4" + jest-validate "^27.2.4" slash "^3.0.0" strip-bom "^4.0.0" - yargs "^15.4.1" + yargs "^16.2.0" -jest-serializer@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-26.6.2.tgz#d139aafd46957d3a448f3a6cdabe2919ba0742d1" - integrity sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g== +jest-serializer@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-27.0.6.tgz#93a6c74e0132b81a2d54623251c46c498bb5bec1" + integrity sha512-PtGdVK9EGC7dsaziskfqaAPib6wTViY3G8E5wz9tLVPhHyiDNTZn/xjZ4khAw+09QkoOVpn7vF5nPSN6dtBexA== dependencies: "@types/node" "*" graceful-fs "^4.2.4" -jest-snapshot@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-26.6.2.tgz#f3b0af1acb223316850bd14e1beea9837fb39c84" - integrity sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og== +jest-snapshot@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.2.4.tgz#277b2269437e3ffcb91d95a73b24becf33c5a871" + integrity sha512-5DFxK31rYS8X8C6WXsFx8XxrxW3PGa6+9IrUcZdTLg1aEyXDGIeiBh4jbwvh655bg/9vTETbEj/njfZicHTZZw== dependencies: + "@babel/core" "^7.7.2" + "@babel/generator" "^7.7.2" + "@babel/parser" "^7.7.2" + "@babel/plugin-syntax-typescript" "^7.7.2" + "@babel/traverse" "^7.7.2" "@babel/types" "^7.0.0" - "@jest/types" "^26.6.2" + "@jest/transform" "^27.2.4" + "@jest/types" "^27.2.4" "@types/babel__traverse" "^7.0.4" - "@types/prettier" "^2.0.0" + "@types/prettier" "^2.1.5" + babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^26.6.2" + expect "^27.2.4" graceful-fs "^4.2.4" - jest-diff "^26.6.2" - jest-get-type "^26.3.0" - jest-haste-map "^26.6.2" - jest-matcher-utils "^26.6.2" - jest-message-util "^26.6.2" - jest-resolve "^26.6.2" + jest-diff "^27.2.4" + jest-get-type "^27.0.6" + jest-haste-map "^27.2.4" + jest-matcher-utils "^27.2.4" + jest-message-util "^27.2.4" + jest-resolve "^27.2.4" + jest-util "^27.2.4" natural-compare "^1.4.0" - pretty-format "^26.6.2" + pretty-format "^27.2.4" semver "^7.3.2" -jest-util@^26.1.0, jest-util@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.6.2.tgz#907535dbe4d5a6cb4c47ac9b926f6af29576cbc1" - integrity sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q== +jest-util@^27.0.0, jest-util@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.2.4.tgz#3d7ce081b2e7f4cfe0156452ac01f3cb456cc656" + integrity sha512-mW++4u+fSvAt3YBWm5IpbmRAceUqa2B++JlUZTiuEt2AmNYn0Yw5oay4cP17TGsMINRNPSGiJ2zNnX60g+VbFg== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.2.4" "@types/node" "*" chalk "^4.0.0" graceful-fs "^4.2.4" - is-ci "^2.0.0" - micromatch "^4.0.2" + is-ci "^3.0.0" + picomatch "^2.2.3" -jest-validate@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-26.6.2.tgz#23d380971587150467342911c3d7b4ac57ab20ec" - integrity sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ== +jest-validate@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.2.4.tgz#b66d462b2fb93d7e16a47d1aa8763d5600bf2cfa" + integrity sha512-VMtbxbkd7LHnIH7PChdDtrluCFRJ4b1YV2YJzNwwsASMWftq/HgqiqjvptBOWyWOtevgO3f14wPxkPcLlVBRog== dependencies: - "@jest/types" "^26.6.2" - camelcase "^6.0.0" + "@jest/types" "^27.2.4" + camelcase "^6.2.0" chalk "^4.0.0" - jest-get-type "^26.3.0" + jest-get-type "^27.0.6" leven "^3.1.0" - pretty-format "^26.6.2" + pretty-format "^27.2.4" -jest-watcher@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-26.6.2.tgz#a5b683b8f9d68dbcb1d7dae32172d2cca0592975" - integrity sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ== +jest-watcher@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.2.4.tgz#b1d5c39ab94f59f4f35f66cc96f7761a10e0cfc4" + integrity sha512-LXC/0+dKxhK7cfF7reflRYlzDIaQE+fL4ynhKhzg8IMILNMuI4xcjXXfUJady7OR4/TZeMg7X8eHx8uan9vqaQ== dependencies: - "@jest/test-result" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/test-result" "^27.2.4" + "@jest/types" "^27.2.4" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" - jest-util "^26.6.2" + jest-util "^27.2.4" string-length "^4.0.1" jest-websocket-mock@^2.0.2: @@ -7418,15 +7751,6 @@ jest-websocket-mock@^2.0.2: resolved "https://registry.yarnpkg.com/jest-websocket-mock/-/jest-websocket-mock-2.2.0.tgz#0eed73eb3c14d48b15dd046c9e40e9571377d06e" integrity sha512-lc3wwXOEyNa4ZpcgJtUG3mmKMAq5FAsKYiZph0p/+PAJrAPuX4JCIfJMdJ/urRsLBG51fwm/wlVPNbR6s2nzNw== -jest-worker@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" - integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^7.0.0" - jest-worker@^27.0.2: version "27.2.3" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.2.3.tgz#396e83d04ca575230a9bcb255c2b66aec07cb931" @@ -7436,14 +7760,23 @@ jest-worker@^27.0.2: merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^26.1.0, jest@^26.4.2: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest/-/jest-26.6.3.tgz#40e8fdbe48f00dfa1f0ce8121ca74b88ac9148ef" - integrity sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q== +jest-worker@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.2.4.tgz#881455df75e22e7726a53f43703ab74d6b36f82d" + integrity sha512-Zq9A2Pw59KkVjBBKD1i3iE2e22oSjXhUKKuAK1HGX8flGwkm6NMozyEYzKd41hXc64dbd/0eWFeEEuxqXyhM+g== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +jest@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/jest/-/jest-27.2.4.tgz#70e27bef873138afc123aa4769f7124c50ad3efb" + integrity sha512-h4uqb1EQLfPulWyUFFWv9e9Nn8sCqsJ/j3wk/KCY0p4s4s0ICCfP3iMf6hRf5hEhsDyvyrCgKiZXma63gMz16A== dependencies: - "@jest/core" "^26.6.3" + "@jest/core" "^27.2.4" import-local "^3.0.2" - jest-cli "^26.6.3" + jest-cli "^27.2.4" jmespath@^0.15.0: version "0.15.0" @@ -7515,13 +7848,13 @@ jsdom@15.2.1: ws "^7.0.0" xml-name-validator "^3.0.0" -jsdom@^16.4.0: - version "16.5.3" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.5.3.tgz#13a755b3950eb938b4482c407238ddf16f0d2136" - integrity sha512-Qj1H+PEvUsOtdPJ056ewXM4UJPCi4hhLA8wpiz9F2YvsRBhuFsXxtrIFAgGBDynQA9isAMGE91PfUYbdMPXuTA== +jsdom@^16.6.0: + version "16.7.0" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710" + integrity sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw== dependencies: abab "^2.0.5" - acorn "^8.1.0" + acorn "^8.2.4" acorn-globals "^6.0.0" cssom "^0.4.4" cssstyle "^2.3.0" @@ -7529,12 +7862,13 @@ jsdom@^16.4.0: decimal.js "^10.2.1" domexception "^2.0.1" escodegen "^2.0.0" + form-data "^3.0.0" html-encoding-sniffer "^2.0.1" - is-potential-custom-element-name "^1.0.0" + http-proxy-agent "^4.0.1" + https-proxy-agent "^5.0.0" + is-potential-custom-element-name "^1.0.1" nwsapi "^2.2.0" parse5 "6.0.1" - request "^2.88.2" - request-promise-native "^1.0.9" saxes "^5.0.1" symbol-tree "^3.2.4" tough-cookie "^4.0.0" @@ -7544,7 +7878,7 @@ jsdom@^16.4.0: whatwg-encoding "^1.0.5" whatwg-mimetype "^2.3.0" whatwg-url "^8.5.0" - ws "^7.4.4" + ws "^7.4.6" xml-name-validator "^3.0.0" jsesc@^2.5.1: @@ -8566,7 +8900,7 @@ micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: snapdragon "^0.8.1" to-regex "^3.0.2" -micromatch@^4.0.0, micromatch@^4.0.2: +micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9" integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg== @@ -8724,7 +9058,7 @@ mkdirp-promise@^5.0.1: dependencies: mkdirp "*" -mkdirp@*, mkdirp@1.x, mkdirp@^1.0.3: +mkdirp@*, mkdirp@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== @@ -9044,23 +9378,16 @@ node-modules-regexp@^1.0.0: resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA= -node-notifier@^8.0.0: - version "8.0.2" - resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-8.0.2.tgz#f3167a38ef0d2c8a866a83e318c1ba0efeb702c5" - integrity sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg== - dependencies: - growly "^1.3.0" - is-wsl "^2.2.0" - semver "^7.3.2" - shellwords "^0.1.1" - uuid "^8.3.0" - which "^2.0.2" - node-releases@^1.1.71: version "1.1.71" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.71.tgz#cb1334b179896b1c89ecfdd4b725fb7bbdfc7dbb" integrity sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg== +node-releases@^1.1.77: + version "1.1.77" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.77.tgz#50b0cfede855dd374e7585bf228ff34e57c1c32e" + integrity sha512-rB1DUFUNAN4Gn9keO2K1efO35IDK7yKHCdCaIMvFO7yUYmmZYeDjnGKle26G4rwj+LKRQpjyUUvMkPglwGCYNQ== + nopt@^4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.3.tgz#a375cad9d02fd921278d954c2254d5aa57e15e48" @@ -9167,7 +9494,7 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" -npm-run-path@^4.0.0: +npm-run-path@^4.0.0, npm-run-path@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== @@ -9309,7 +9636,7 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" -onetime@^5.1.0: +onetime@^5.1.0, onetime@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== @@ -9405,11 +9732,6 @@ osenv@^0.1.4, osenv@^0.1.5: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -p-each-series@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-2.2.0.tgz#105ab0357ce72b202a8a8b94933672657b5e2a9a" - integrity sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA== - p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -9752,6 +10074,11 @@ performance-now@^2.1.0: resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= +picocolors@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-0.2.1.tgz#570670f793646851d1ba135996962abad587859f" + integrity sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA== + picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.3.tgz#465547f359ccc206d3c48e46a1bcb89bf7ee619d" @@ -9856,14 +10183,14 @@ prettier@2.3.0, prettier@^2.0.4: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18" integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w== -pretty-format@^26.0.0, pretty-format@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93" - integrity sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg== +pretty-format@^27.0.0, pretty-format@^27.2.4: + version "27.2.4" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.2.4.tgz#08ea39c5eab41b082852d7093059a091f6ddc748" + integrity sha512-NUjw22WJHldzxyps2YjLZkUj6q1HvjqFezkB9Y2cklN8NtVZN/kZEXGZdFw4uny3oENzV5EEMESrkI0YDUH8vg== dependencies: - "@jest/types" "^26.6.2" - ansi-regex "^5.0.0" - ansi-styles "^4.0.0" + "@jest/types" "^27.2.4" + ansi-regex "^5.0.1" + ansi-styles "^5.0.0" react-is "^17.0.1" process-nextick-args@^2.0.1, process-nextick-args@~2.0.0: @@ -10381,7 +10708,7 @@ request-promise-core@1.1.4: dependencies: lodash "^4.17.19" -request-promise-native@^1.0.7, request-promise-native@^1.0.9: +request-promise-native@^1.0.7: version "1.0.9" resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.9.tgz#e407120526a5efdc9a39b28a5679bf47b9d9dc28" integrity sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g== @@ -10416,7 +10743,7 @@ request@2.88.0: tunnel-agent "^0.6.0" uuid "^3.3.2" -request@2.88.2, request@^2.54.0, request@^2.88.0, request@^2.88.2: +request@2.88.2, request@^2.54.0, request@^2.88.0: version "2.88.2" resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== @@ -10511,7 +10838,7 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@^1.1.6, resolve@^1.10.0, resolve@^1.17.0, resolve@^1.18.1, resolve@^1.20.0, resolve@^1.3.3: +resolve@^1.1.6, resolve@^1.10.0, resolve@^1.17.0, resolve@^1.20.0, resolve@^1.3.3: version "1.20.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== @@ -10642,7 +10969,7 @@ safe-regex@^1.1.0: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sane@^4.0.3, sane@^4.1.0: +sane@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/sane/-/sane-4.1.0.tgz#ed881fd922733a6c461bc189dc2b6c006f3ffded" integrity sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA== @@ -10852,11 +11179,6 @@ shelljs@^0.8.3, shelljs@^0.8.4: interpret "^1.0.0" rechoir "^0.6.2" -shellwords@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" - integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww== - side-channel@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" @@ -10871,6 +11193,11 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== +signal-exit@^3.0.3: + version "3.0.5" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.5.tgz#9e3e8cc0c75a99472b44321033a7702e7738252f" + integrity sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ== + sisteransi@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" @@ -11171,10 +11498,10 @@ stack-generator@^2.0.5: dependencies: stackframe "^1.1.1" -stack-utils@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.3.tgz#cd5f030126ff116b78ccb3c027fe302713b61277" - integrity sha512-gL//fkxfWUsIlFL2Tl42Cl6+HFALEaB1FU76I/Fy+oZjRreP7OPMXFlGbxM7NQsI0ZpUfw76sHnv0WNYuTb7Iw== +stack-utils@^2.0.3: + version "2.0.5" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.5.tgz#d25265fca995154659dbbfba3b49254778d2fdd5" + integrity sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA== dependencies: escape-string-regexp "^2.0.0" @@ -11681,10 +12008,10 @@ thenify-all@^1.0.0: dependencies: any-promise "^1.0.0" -throat@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/throat/-/throat-5.0.0.tgz#c5199235803aad18754a667d659b5e72ce16764b" - integrity sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA== +throat@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.1.tgz#d514fedad95740c12c2d7fc70ea863eb51ade375" + integrity sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w== through2-filter@^3.0.0: version "3.0.0" @@ -11889,19 +12216,17 @@ trim-off-newlines@^1.0.0: resolved "https://registry.yarnpkg.com/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= -ts-jest@^26.4.1: - version "26.5.5" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-26.5.5.tgz#e40481b6ee4dd162626ba481a2be05fa57160ea5" - integrity sha512-7tP4m+silwt1NHqzNRAPjW1BswnAhopTdc2K3HEkRZjF0ZG2F/e/ypVH0xiZIMfItFtD3CX0XFbwPzp9fIEUVg== +ts-jest@^27.0.5: + version "27.0.5" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.0.5.tgz#0b0604e2271167ec43c12a69770f0bb65ad1b750" + integrity sha512-lIJApzfTaSSbtlksfFNHkWOzLJuuSm4faFAfo5kvzOiRAuoN4/eKxVJ2zEAho8aecE04qX6K1pAzfH5QHL1/8w== dependencies: bs-logger "0.x" - buffer-from "1.x" fast-json-stable-stringify "2.x" - jest-util "^26.1.0" + jest-util "^27.0.0" json5 "2.x" lodash "4.x" make-error "1.x" - mkdirp "1.x" semver "7.x" yargs-parser "20.x" @@ -12350,7 +12675,7 @@ uuid@^3.0.1, uuid@^3.3.2, uuid@^3.4.0: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== -uuid@^8.3.0, uuid@^8.3.2: +uuid@^8.3.2: version "8.3.2" resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== @@ -12360,10 +12685,10 @@ v8-compile-cache@^2.0.3, v8-compile-cache@^2.1.1: resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== -v8-to-istanbul@^7.0.0: - version "7.1.1" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-7.1.1.tgz#04bfd1026ba4577de5472df4f5e89af49de5edda" - integrity sha512-p0BB09E5FRjx0ELN6RgusIPsSPhtgexSRcKETybEs6IGOTXJSZqfwxp7r//55nnu0f1AxltY5VvdVqy2vZf9AA== +v8-to-istanbul@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.1.0.tgz#0aeb763894f1a0a1676adf8a8b7612a38902446c" + integrity sha512-/PRhfd8aTNp9Ggr62HPzXg2XasNFGy5PBt0Rp04du7/8GNNSgxFL6WBTkgMKSL9bFjH+8kKEG3f37FmxiTqUUA== dependencies: "@types/istanbul-lib-coverage" "^2.0.1" convert-source-map "^1.6.0" @@ -12690,7 +13015,7 @@ which-typed-array@^1.1.2: has-symbols "^1.0.1" is-typed-array "^1.1.3" -which@2.0.2, which@^2.0.1, which@^2.0.2: +which@2.0.2, which@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== @@ -12845,12 +13170,12 @@ ws@^3.2.0: safe-buffer "~5.1.0" ultron "~1.1.0" -ws@^7.0.0, ws@^7.2.3, ws@^7.4.4, ws@~7.4.2: +ws@^7.0.0, ws@^7.2.3, ws@~7.4.2: version "7.4.6" resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== -ws@^7.4.5: +ws@^7.4.5, ws@^7.4.6: version "7.5.5" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.5.tgz#8b4bc4af518cfabd0473ae4f99144287b33eb881" integrity sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w== @@ -12961,7 +13286,7 @@ yargs-unparser@2.0.0: flat "^5.0.2" is-plain-obj "^2.1.0" -yargs@16.2.0: +yargs@16.2.0, yargs@^16.2.0: version "16.2.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== @@ -13007,7 +13332,7 @@ yargs@^14.2.2: y18n "^4.0.0" yargs-parser "^15.0.1" -yargs@^15.1.0, yargs@^15.3.1, yargs@^15.4.1: +yargs@^15.1.0, yargs@^15.3.1: version "15.4.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==