diff --git a/clients/client-accessanalyzer/package.json b/clients/client-accessanalyzer/package.json index 9a3b12beedfaf..73e72ea7e96ec 100644 --- a/clients/client-accessanalyzer/package.json +++ b/clients/client-accessanalyzer/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-acm-pca/package.json b/clients/client-acm-pca/package.json index 7e65c4444795a..70bc267df9cd0 100644 --- a/clients/client-acm-pca/package.json +++ b/clients/client-acm-pca/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-acm/package.json b/clients/client-acm/package.json index 35dbc97b4389d..7bbbeef526fd0 100644 --- a/clients/client-acm/package.json +++ b/clients/client-acm/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-alexa-for-business/package.json b/clients/client-alexa-for-business/package.json index 539d071a6dbdf..bfe10ee59d128 100644 --- a/clients/client-alexa-for-business/package.json +++ b/clients/client-alexa-for-business/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-amplify/package.json b/clients/client-amplify/package.json index 5fa72afba2b9d..f30413490f844 100644 --- a/clients/client-amplify/package.json +++ b/clients/client-amplify/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-amplifybackend/package.json b/clients/client-amplifybackend/package.json index 995bef38de9aa..9382ff79a40eb 100644 --- a/clients/client-amplifybackend/package.json +++ b/clients/client-amplifybackend/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-api-gateway/package.json b/clients/client-api-gateway/package.json index 5f8ef8f502f2c..175c4bc2ac425 100644 --- a/clients/client-api-gateway/package.json +++ b/clients/client-api-gateway/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-apigatewaymanagementapi/package.json b/clients/client-apigatewaymanagementapi/package.json index 62af3c3bada90..16f040249bad0 100644 --- a/clients/client-apigatewaymanagementapi/package.json +++ b/clients/client-apigatewaymanagementapi/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-apigatewayv2/package.json b/clients/client-apigatewayv2/package.json index 8c388c4586fd8..15cf51ea0f4bf 100644 --- a/clients/client-apigatewayv2/package.json +++ b/clients/client-apigatewayv2/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-app-mesh/package.json b/clients/client-app-mesh/package.json index 4061723eaa0bc..5b80ea730479c 100644 --- a/clients/client-app-mesh/package.json +++ b/clients/client-app-mesh/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-appconfig/package.json b/clients/client-appconfig/package.json index 2cef6d81c2c26..e08927e3bccbf 100644 --- a/clients/client-appconfig/package.json +++ b/clients/client-appconfig/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index 24683dbdb250c..f461acc170e78 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-appintegrations/package.json b/clients/client-appintegrations/package.json index 017d6d647a869..ee86c74a7a013 100644 --- a/clients/client-appintegrations/package.json +++ b/clients/client-appintegrations/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-application-auto-scaling/package.json b/clients/client-application-auto-scaling/package.json index 93019d859852b..969b57c7d06d1 100644 --- a/clients/client-application-auto-scaling/package.json +++ b/clients/client-application-auto-scaling/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-application-discovery-service/package.json b/clients/client-application-discovery-service/package.json index e6039b5e126e5..c32a41ee16417 100644 --- a/clients/client-application-discovery-service/package.json +++ b/clients/client-application-discovery-service/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-application-insights/package.json b/clients/client-application-insights/package.json index c32f0966717b9..83b6195e0f542 100644 --- a/clients/client-application-insights/package.json +++ b/clients/client-application-insights/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-appstream/package.json b/clients/client-appstream/package.json index 0280ce9886331..c633d338029d2 100644 --- a/clients/client-appstream/package.json +++ b/clients/client-appstream/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-appsync/package.json b/clients/client-appsync/package.json index 6a3fbae16b1f5..d02d28c9832f4 100644 --- a/clients/client-appsync/package.json +++ b/clients/client-appsync/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-athena/package.json b/clients/client-athena/package.json index fc7a479945bfb..eac07ce30727c 100644 --- a/clients/client-athena/package.json +++ b/clients/client-athena/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-auditmanager/package.json b/clients/client-auditmanager/package.json index 3fa655aab9a59..c27a8b945f9e9 100644 --- a/clients/client-auditmanager/package.json +++ b/clients/client-auditmanager/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-auto-scaling-plans/package.json b/clients/client-auto-scaling-plans/package.json index 294764aa1b0d4..73e49836be787 100644 --- a/clients/client-auto-scaling-plans/package.json +++ b/clients/client-auto-scaling-plans/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-auto-scaling/package.json b/clients/client-auto-scaling/package.json index bc89c402e63b9..1460307c22770 100644 --- a/clients/client-auto-scaling/package.json +++ b/clients/client-auto-scaling/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-backup/package.json b/clients/client-backup/package.json index 66679feebe90e..a5b239bca95f3 100644 --- a/clients/client-backup/package.json +++ b/clients/client-backup/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-batch/package.json b/clients/client-batch/package.json index d88790757dbd7..b9f0408e9c613 100644 --- a/clients/client-batch/package.json +++ b/clients/client-batch/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-braket/package.json b/clients/client-braket/package.json index 6fd8930a9a9d8..55fa24cc1d830 100644 --- a/clients/client-braket/package.json +++ b/clients/client-braket/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-budgets/package.json b/clients/client-budgets/package.json index f6c49d28d2d48..be7a451409222 100644 --- a/clients/client-budgets/package.json +++ b/clients/client-budgets/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-chime/package.json b/clients/client-chime/package.json index 4fcf87a80cebc..089859af0241d 100644 --- a/clients/client-chime/package.json +++ b/clients/client-chime/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloud9/package.json b/clients/client-cloud9/package.json index 78a2ff4605c9e..9b133df7e763d 100644 --- a/clients/client-cloud9/package.json +++ b/clients/client-cloud9/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-clouddirectory/package.json b/clients/client-clouddirectory/package.json index 15e784d0b03ee..92978abeebc0a 100644 --- a/clients/client-clouddirectory/package.json +++ b/clients/client-clouddirectory/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloudformation/package.json b/clients/client-cloudformation/package.json index 262f885616d36..d00749e71085f 100644 --- a/clients/client-cloudformation/package.json +++ b/clients/client-cloudformation/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloudfront/package.json b/clients/client-cloudfront/package.json index 4a294d4dcf0b9..f92dac4a21caf 100644 --- a/clients/client-cloudfront/package.json +++ b/clients/client-cloudfront/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloudhsm-v2/package.json b/clients/client-cloudhsm-v2/package.json index cf39bccb4830b..900289ef144f5 100644 --- a/clients/client-cloudhsm-v2/package.json +++ b/clients/client-cloudhsm-v2/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloudhsm/package.json b/clients/client-cloudhsm/package.json index 9482cf2ccc577..c1d164d9b7fc8 100644 --- a/clients/client-cloudhsm/package.json +++ b/clients/client-cloudhsm/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloudsearch-domain/package.json b/clients/client-cloudsearch-domain/package.json index ea7388ad2e8b3..641a285bac8f1 100644 --- a/clients/client-cloudsearch-domain/package.json +++ b/clients/client-cloudsearch-domain/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloudsearch/package.json b/clients/client-cloudsearch/package.json index 1a27e910b9e91..f1c44c2ffe712 100644 --- a/clients/client-cloudsearch/package.json +++ b/clients/client-cloudsearch/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloudtrail/package.json b/clients/client-cloudtrail/package.json index 4d455722d156e..58da24ee71a81 100644 --- a/clients/client-cloudtrail/package.json +++ b/clients/client-cloudtrail/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloudwatch-events/package.json b/clients/client-cloudwatch-events/package.json index 4f61a4ad7f773..2fa6753303e12 100644 --- a/clients/client-cloudwatch-events/package.json +++ b/clients/client-cloudwatch-events/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloudwatch-logs/package.json b/clients/client-cloudwatch-logs/package.json index f8fe437f9a833..514f074028d5b 100644 --- a/clients/client-cloudwatch-logs/package.json +++ b/clients/client-cloudwatch-logs/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cloudwatch/package.json b/clients/client-cloudwatch/package.json index 71cf016f6b557..396057484faaf 100644 --- a/clients/client-cloudwatch/package.json +++ b/clients/client-cloudwatch/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-codeartifact/package.json b/clients/client-codeartifact/package.json index 26c9f149596b4..2a14eb1cf3a98 100644 --- a/clients/client-codeartifact/package.json +++ b/clients/client-codeartifact/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-codebuild/package.json b/clients/client-codebuild/package.json index e14b4b5459c28..7349597f44822 100644 --- a/clients/client-codebuild/package.json +++ b/clients/client-codebuild/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-codecommit/package.json b/clients/client-codecommit/package.json index ff35675b4be8e..c53fc69cb9889 100644 --- a/clients/client-codecommit/package.json +++ b/clients/client-codecommit/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-codedeploy/package.json b/clients/client-codedeploy/package.json index 5fb8cde823cf5..f1f05741a158a 100644 --- a/clients/client-codedeploy/package.json +++ b/clients/client-codedeploy/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-codeguru-reviewer/package.json b/clients/client-codeguru-reviewer/package.json index b56c44f73b591..8abb6689738d8 100644 --- a/clients/client-codeguru-reviewer/package.json +++ b/clients/client-codeguru-reviewer/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-codeguruprofiler/package.json b/clients/client-codeguruprofiler/package.json index 6634617f0b2c2..fef2007103a2f 100644 --- a/clients/client-codeguruprofiler/package.json +++ b/clients/client-codeguruprofiler/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-codepipeline/package.json b/clients/client-codepipeline/package.json index 1cd4b500f62cb..517a790ff16ac 100644 --- a/clients/client-codepipeline/package.json +++ b/clients/client-codepipeline/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-codestar-connections/package.json b/clients/client-codestar-connections/package.json index f8e44e6675fc9..a76607a757b23 100644 --- a/clients/client-codestar-connections/package.json +++ b/clients/client-codestar-connections/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-codestar-notifications/package.json b/clients/client-codestar-notifications/package.json index d9eca2122460c..f4dcaf5ee24ec 100644 --- a/clients/client-codestar-notifications/package.json +++ b/clients/client-codestar-notifications/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-codestar/package.json b/clients/client-codestar/package.json index 474af23fda1bd..f8cfab4e546cd 100644 --- a/clients/client-codestar/package.json +++ b/clients/client-codestar/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cognito-identity-provider/package.json b/clients/client-cognito-identity-provider/package.json index 2ec1a2dd73870..10246cba9b68c 100644 --- a/clients/client-cognito-identity-provider/package.json +++ b/clients/client-cognito-identity-provider/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cognito-identity/package.json b/clients/client-cognito-identity/package.json index 85813bb57a27a..1d0ec60bcddc1 100644 --- a/clients/client-cognito-identity/package.json +++ b/clients/client-cognito-identity/package.json @@ -5,7 +5,7 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", @@ -14,8 +14,7 @@ "test": "yarn test:unit", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cognito-sync/package.json b/clients/client-cognito-sync/package.json index 15aac923bcf0e..30667f1abe0aa 100644 --- a/clients/client-cognito-sync/package.json +++ b/clients/client-cognito-sync/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-comprehend/package.json b/clients/client-comprehend/package.json index 35f1caa4bd99f..20322a7e061b5 100644 --- a/clients/client-comprehend/package.json +++ b/clients/client-comprehend/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-comprehendmedical/package.json b/clients/client-comprehendmedical/package.json index f596406621ab2..1192c4775a20c 100644 --- a/clients/client-comprehendmedical/package.json +++ b/clients/client-comprehendmedical/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-compute-optimizer/package.json b/clients/client-compute-optimizer/package.json index 2b29a78c44768..1ca1fe7e5cb52 100644 --- a/clients/client-compute-optimizer/package.json +++ b/clients/client-compute-optimizer/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-config-service/package.json b/clients/client-config-service/package.json index 5e4f424f28b5a..3f7d082fd2d04 100644 --- a/clients/client-config-service/package.json +++ b/clients/client-config-service/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-connect-contact-lens/package.json b/clients/client-connect-contact-lens/package.json index 02d454497d2bf..ff7b343b5f56b 100644 --- a/clients/client-connect-contact-lens/package.json +++ b/clients/client-connect-contact-lens/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-connect/package.json b/clients/client-connect/package.json index 1003d64481d77..2d35004f76580 100644 --- a/clients/client-connect/package.json +++ b/clients/client-connect/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-connectparticipant/package.json b/clients/client-connectparticipant/package.json index bfd98d01369d1..a438d9781a078 100644 --- a/clients/client-connectparticipant/package.json +++ b/clients/client-connectparticipant/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cost-and-usage-report-service/package.json b/clients/client-cost-and-usage-report-service/package.json index 5a469402cd49d..7d008484ae045 100644 --- a/clients/client-cost-and-usage-report-service/package.json +++ b/clients/client-cost-and-usage-report-service/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-cost-explorer/package.json b/clients/client-cost-explorer/package.json index d6fcae4f8fd82..72a673f8e0bd3 100644 --- a/clients/client-cost-explorer/package.json +++ b/clients/client-cost-explorer/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-customer-profiles/package.json b/clients/client-customer-profiles/package.json index d680627fedfbc..6767204b8cfdf 100644 --- a/clients/client-customer-profiles/package.json +++ b/clients/client-customer-profiles/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-data-pipeline/package.json b/clients/client-data-pipeline/package.json index d2a4b80e7b1d6..c4a49a2bb258a 100644 --- a/clients/client-data-pipeline/package.json +++ b/clients/client-data-pipeline/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-database-migration-service/package.json b/clients/client-database-migration-service/package.json index 5ec557a831060..77631dd5bb973 100644 --- a/clients/client-database-migration-service/package.json +++ b/clients/client-database-migration-service/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-databrew/package.json b/clients/client-databrew/package.json index e34e98f3f3d8b..54b7ad166f77d 100644 --- a/clients/client-databrew/package.json +++ b/clients/client-databrew/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-dataexchange/package.json b/clients/client-dataexchange/package.json index 5403d490e342c..2246f2dbb5db9 100644 --- a/clients/client-dataexchange/package.json +++ b/clients/client-dataexchange/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-datasync/package.json b/clients/client-datasync/package.json index 5d674e8c7e6fc..e8999515c0625 100644 --- a/clients/client-datasync/package.json +++ b/clients/client-datasync/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-dax/package.json b/clients/client-dax/package.json index 707b38e444c51..cd689c3af26e6 100644 --- a/clients/client-dax/package.json +++ b/clients/client-dax/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-detective/package.json b/clients/client-detective/package.json index 8c414bacfa7dd..b692b866d420a 100644 --- a/clients/client-detective/package.json +++ b/clients/client-detective/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-device-farm/package.json b/clients/client-device-farm/package.json index c7bb42584ae76..0cf0ba36872aa 100644 --- a/clients/client-device-farm/package.json +++ b/clients/client-device-farm/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-devops-guru/package.json b/clients/client-devops-guru/package.json index fefc3ecf32f0e..c1534c5b49641 100644 --- a/clients/client-devops-guru/package.json +++ b/clients/client-devops-guru/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-direct-connect/package.json b/clients/client-direct-connect/package.json index f5245aecd5a7c..9a24a4c9631b4 100644 --- a/clients/client-direct-connect/package.json +++ b/clients/client-direct-connect/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-directory-service/package.json b/clients/client-directory-service/package.json index 00d007326b775..7d63ecb450e66 100644 --- a/clients/client-directory-service/package.json +++ b/clients/client-directory-service/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-dlm/package.json b/clients/client-dlm/package.json index 4b3f68ee263f8..5faf6013b4cbc 100644 --- a/clients/client-dlm/package.json +++ b/clients/client-dlm/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-docdb/package.json b/clients/client-docdb/package.json index 753944eeacc73..5e7d3fc26edc0 100644 --- a/clients/client-docdb/package.json +++ b/clients/client-docdb/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-dynamodb-streams/package.json b/clients/client-dynamodb-streams/package.json index 3b9c938641e5d..1a00b87ec2fd0 100644 --- a/clients/client-dynamodb-streams/package.json +++ b/clients/client-dynamodb-streams/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-dynamodb/package.json b/clients/client-dynamodb/package.json index fb27d6c27e35d..419822b2ce179 100644 --- a/clients/client-dynamodb/package.json +++ b/clients/client-dynamodb/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-ebs/package.json b/clients/client-ebs/package.json index c439be3cc0e26..4382db1384a9b 100644 --- a/clients/client-ebs/package.json +++ b/clients/client-ebs/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-ec2-instance-connect/package.json b/clients/client-ec2-instance-connect/package.json index 1866e12870917..332badb34fb37 100644 --- a/clients/client-ec2-instance-connect/package.json +++ b/clients/client-ec2-instance-connect/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-ec2/package.json b/clients/client-ec2/package.json index 583d5f0300328..c7ffecf63c238 100644 --- a/clients/client-ec2/package.json +++ b/clients/client-ec2/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-ecr-public/package.json b/clients/client-ecr-public/package.json index f9192e9d6d630..9dcaf5396051e 100644 --- a/clients/client-ecr-public/package.json +++ b/clients/client-ecr-public/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-ecr/package.json b/clients/client-ecr/package.json index dca76fb0de244..074bea4f049c4 100644 --- a/clients/client-ecr/package.json +++ b/clients/client-ecr/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-ecs/package.json b/clients/client-ecs/package.json index 4e66c38a6a32b..572b38bb39785 100644 --- a/clients/client-ecs/package.json +++ b/clients/client-ecs/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-efs/package.json b/clients/client-efs/package.json index d05e291b371bd..664e526681f03 100644 --- a/clients/client-efs/package.json +++ b/clients/client-efs/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-eks/package.json b/clients/client-eks/package.json index 665f07e59381e..38e9f3b8aa57d 100644 --- a/clients/client-eks/package.json +++ b/clients/client-eks/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-elastic-beanstalk/package.json b/clients/client-elastic-beanstalk/package.json index 7207c8d219dce..26e5776045c05 100644 --- a/clients/client-elastic-beanstalk/package.json +++ b/clients/client-elastic-beanstalk/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-elastic-inference/package.json b/clients/client-elastic-inference/package.json index d2d4e7bc15807..2c2d11cc2b654 100644 --- a/clients/client-elastic-inference/package.json +++ b/clients/client-elastic-inference/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-elastic-load-balancing-v2/package.json b/clients/client-elastic-load-balancing-v2/package.json index 4850fe1745143..8f0a9ac9372fe 100644 --- a/clients/client-elastic-load-balancing-v2/package.json +++ b/clients/client-elastic-load-balancing-v2/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-elastic-load-balancing/package.json b/clients/client-elastic-load-balancing/package.json index a67348ce71f84..b6d71e41c4df0 100644 --- a/clients/client-elastic-load-balancing/package.json +++ b/clients/client-elastic-load-balancing/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-elastic-transcoder/package.json b/clients/client-elastic-transcoder/package.json index acfdce86cf4d0..d883bc69934d8 100644 --- a/clients/client-elastic-transcoder/package.json +++ b/clients/client-elastic-transcoder/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-elasticache/package.json b/clients/client-elasticache/package.json index 6351fb1346f1a..518ee0bbeb8bc 100644 --- a/clients/client-elasticache/package.json +++ b/clients/client-elasticache/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-elasticsearch-service/package.json b/clients/client-elasticsearch-service/package.json index 12a38b2df588f..a0be13a1c36bd 100644 --- a/clients/client-elasticsearch-service/package.json +++ b/clients/client-elasticsearch-service/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-emr-containers/package.json b/clients/client-emr-containers/package.json index 53f1d3daf8031..3186aa8b9106a 100644 --- a/clients/client-emr-containers/package.json +++ b/clients/client-emr-containers/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-emr/package.json b/clients/client-emr/package.json index f7d3176f1cc93..f4e5e4a7e38a2 100644 --- a/clients/client-emr/package.json +++ b/clients/client-emr/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-eventbridge/package.json b/clients/client-eventbridge/package.json index dae65ff28be97..0ab26dd3c4f79 100644 --- a/clients/client-eventbridge/package.json +++ b/clients/client-eventbridge/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-firehose/package.json b/clients/client-firehose/package.json index 3f0fd4b684d61..4086992bfe24b 100644 --- a/clients/client-firehose/package.json +++ b/clients/client-firehose/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-fms/package.json b/clients/client-fms/package.json index 99841037ed92f..d24036dff4bdb 100644 --- a/clients/client-fms/package.json +++ b/clients/client-fms/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-forecast/package.json b/clients/client-forecast/package.json index 437c9e3730c27..8eae52c898a05 100644 --- a/clients/client-forecast/package.json +++ b/clients/client-forecast/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-forecastquery/package.json b/clients/client-forecastquery/package.json index b2854abe32b16..af559d9c788dc 100644 --- a/clients/client-forecastquery/package.json +++ b/clients/client-forecastquery/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-frauddetector/package.json b/clients/client-frauddetector/package.json index b897b9c0f7ef7..b88fdcb07d873 100644 --- a/clients/client-frauddetector/package.json +++ b/clients/client-frauddetector/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-fsx/package.json b/clients/client-fsx/package.json index bae871fb848c6..0c263d5e22573 100644 --- a/clients/client-fsx/package.json +++ b/clients/client-fsx/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-gamelift/package.json b/clients/client-gamelift/package.json index aeb3e518f3ff7..207233da46fd0 100644 --- a/clients/client-gamelift/package.json +++ b/clients/client-gamelift/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-glacier/package.json b/clients/client-glacier/package.json index 90933983ad08d..e24da41a7ec52 100644 --- a/clients/client-glacier/package.json +++ b/clients/client-glacier/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-global-accelerator/package.json b/clients/client-global-accelerator/package.json index ff7caaeb28ea1..56109cdc5e1be 100644 --- a/clients/client-global-accelerator/package.json +++ b/clients/client-global-accelerator/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-glue/package.json b/clients/client-glue/package.json index 571110a9cb041..b83c748127fd9 100644 --- a/clients/client-glue/package.json +++ b/clients/client-glue/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-greengrass/package.json b/clients/client-greengrass/package.json index 74bc79347a92f..10a6814685b24 100644 --- a/clients/client-greengrass/package.json +++ b/clients/client-greengrass/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-groundstation/package.json b/clients/client-groundstation/package.json index b5d5579c32ce6..eb669c806718a 100644 --- a/clients/client-groundstation/package.json +++ b/clients/client-groundstation/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-guardduty/package.json b/clients/client-guardduty/package.json index 60a5cd2b8a3d7..641df2b3e7af7 100644 --- a/clients/client-guardduty/package.json +++ b/clients/client-guardduty/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-health/package.json b/clients/client-health/package.json index 5fa1648b04ef2..12445c0cce98e 100644 --- a/clients/client-health/package.json +++ b/clients/client-health/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-healthlake/package.json b/clients/client-healthlake/package.json index ede42a1886bf9..ff545d102c92e 100644 --- a/clients/client-healthlake/package.json +++ b/clients/client-healthlake/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-honeycode/package.json b/clients/client-honeycode/package.json index 522ba7957580e..08e61929488a8 100644 --- a/clients/client-honeycode/package.json +++ b/clients/client-honeycode/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iam/package.json b/clients/client-iam/package.json index 229a3d0859add..eefb31c86ce44 100644 --- a/clients/client-iam/package.json +++ b/clients/client-iam/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-identitystore/package.json b/clients/client-identitystore/package.json index 77c66716e7f0b..4861af8f832fe 100644 --- a/clients/client-identitystore/package.json +++ b/clients/client-identitystore/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-imagebuilder/package.json b/clients/client-imagebuilder/package.json index 467425fa0eb70..03415298c571a 100644 --- a/clients/client-imagebuilder/package.json +++ b/clients/client-imagebuilder/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-inspector/package.json b/clients/client-inspector/package.json index 50db4d4a9acc1..21575f32e0abf 100644 --- a/clients/client-inspector/package.json +++ b/clients/client-inspector/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iot-1click-devices-service/package.json b/clients/client-iot-1click-devices-service/package.json index 429e8ac80e447..e60705eb35e09 100644 --- a/clients/client-iot-1click-devices-service/package.json +++ b/clients/client-iot-1click-devices-service/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iot-1click-projects/package.json b/clients/client-iot-1click-projects/package.json index e7a47ed7d452e..a20378a0381a4 100644 --- a/clients/client-iot-1click-projects/package.json +++ b/clients/client-iot-1click-projects/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iot-data-plane/package.json b/clients/client-iot-data-plane/package.json index b1d026a16972c..de6d771c1818a 100644 --- a/clients/client-iot-data-plane/package.json +++ b/clients/client-iot-data-plane/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iot-events-data/package.json b/clients/client-iot-events-data/package.json index 9d682342ccd22..f7c0712e4b57a 100644 --- a/clients/client-iot-events-data/package.json +++ b/clients/client-iot-events-data/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iot-events/package.json b/clients/client-iot-events/package.json index d3de03c283028..4fc43a86d47ae 100644 --- a/clients/client-iot-events/package.json +++ b/clients/client-iot-events/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iot-jobs-data-plane/package.json b/clients/client-iot-jobs-data-plane/package.json index 305ddda21ce99..5955a6619950e 100644 --- a/clients/client-iot-jobs-data-plane/package.json +++ b/clients/client-iot-jobs-data-plane/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iot/package.json b/clients/client-iot/package.json index 28567a2c9e07d..50e2c56a2992d 100644 --- a/clients/client-iot/package.json +++ b/clients/client-iot/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iotanalytics/package.json b/clients/client-iotanalytics/package.json index c1388e4c301e8..3134721c1a8e8 100644 --- a/clients/client-iotanalytics/package.json +++ b/clients/client-iotanalytics/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iotsecuretunneling/package.json b/clients/client-iotsecuretunneling/package.json index 211e409cc0ae5..059bdc8b4b0b1 100644 --- a/clients/client-iotsecuretunneling/package.json +++ b/clients/client-iotsecuretunneling/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iotsitewise/package.json b/clients/client-iotsitewise/package.json index 68ec1042ae4db..f7cc8339af4a8 100644 --- a/clients/client-iotsitewise/package.json +++ b/clients/client-iotsitewise/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-iotthingsgraph/package.json b/clients/client-iotthingsgraph/package.json index 58e77b3a4c41a..95629155a06f4 100644 --- a/clients/client-iotthingsgraph/package.json +++ b/clients/client-iotthingsgraph/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-ivs/package.json b/clients/client-ivs/package.json index 68c77d092f476..7600b1cec61a0 100644 --- a/clients/client-ivs/package.json +++ b/clients/client-ivs/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-kafka/package.json b/clients/client-kafka/package.json index 8fb766744f971..2c2c011e19b93 100644 --- a/clients/client-kafka/package.json +++ b/clients/client-kafka/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-kendra/package.json b/clients/client-kendra/package.json index cfa5e4a1fae28..4555c046af6a0 100644 --- a/clients/client-kendra/package.json +++ b/clients/client-kendra/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-kinesis-analytics-v2/package.json b/clients/client-kinesis-analytics-v2/package.json index a1cebcca55eea..1613b80da34ba 100644 --- a/clients/client-kinesis-analytics-v2/package.json +++ b/clients/client-kinesis-analytics-v2/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-kinesis-analytics/package.json b/clients/client-kinesis-analytics/package.json index b307afb218208..3fdef0886fa45 100644 --- a/clients/client-kinesis-analytics/package.json +++ b/clients/client-kinesis-analytics/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-kinesis-video-archived-media/package.json b/clients/client-kinesis-video-archived-media/package.json index 19f95c52aaf13..7619259783939 100644 --- a/clients/client-kinesis-video-archived-media/package.json +++ b/clients/client-kinesis-video-archived-media/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-kinesis-video-media/package.json b/clients/client-kinesis-video-media/package.json index 5d7abe04db998..6a01723b9f1f6 100644 --- a/clients/client-kinesis-video-media/package.json +++ b/clients/client-kinesis-video-media/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-kinesis-video-signaling/package.json b/clients/client-kinesis-video-signaling/package.json index da75f3be303a2..9d3836c7d76fd 100644 --- a/clients/client-kinesis-video-signaling/package.json +++ b/clients/client-kinesis-video-signaling/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-kinesis-video/package.json b/clients/client-kinesis-video/package.json index dca3af2e9b449..805084a45455d 100644 --- a/clients/client-kinesis-video/package.json +++ b/clients/client-kinesis-video/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-kinesis/package.json b/clients/client-kinesis/package.json index f79be6c4c1aee..de0b8d517caa8 100644 --- a/clients/client-kinesis/package.json +++ b/clients/client-kinesis/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-kms/package.json b/clients/client-kms/package.json index a35bc4eac234e..a442b23e86a68 100644 --- a/clients/client-kms/package.json +++ b/clients/client-kms/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-lakeformation/package.json b/clients/client-lakeformation/package.json index 709abae521b5a..1584c059a8665 100644 --- a/clients/client-lakeformation/package.json +++ b/clients/client-lakeformation/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-lambda/package.json b/clients/client-lambda/package.json index 6a7a7ae87b949..ac59f3a32852e 100644 --- a/clients/client-lambda/package.json +++ b/clients/client-lambda/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-lex-model-building-service/package.json b/clients/client-lex-model-building-service/package.json index bbce5a75ab678..097439dbfc0e2 100644 --- a/clients/client-lex-model-building-service/package.json +++ b/clients/client-lex-model-building-service/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-lex-runtime-service/package.json b/clients/client-lex-runtime-service/package.json index 54048b18ea2a0..82f3095595f97 100644 --- a/clients/client-lex-runtime-service/package.json +++ b/clients/client-lex-runtime-service/package.json @@ -5,7 +5,7 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", @@ -13,8 +13,7 @@ "test": "yarn test:unit", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-license-manager/package.json b/clients/client-license-manager/package.json index fe09ce435fd91..ee85d5b4a8c8f 100644 --- a/clients/client-license-manager/package.json +++ b/clients/client-license-manager/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-lightsail/package.json b/clients/client-lightsail/package.json index 4bfb4e07f3d40..d984813d38b83 100644 --- a/clients/client-lightsail/package.json +++ b/clients/client-lightsail/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-lookoutvision/package.json b/clients/client-lookoutvision/package.json index 32b31631d05f3..8f570f87fe568 100644 --- a/clients/client-lookoutvision/package.json +++ b/clients/client-lookoutvision/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-machine-learning/package.json b/clients/client-machine-learning/package.json index 6fa25903053de..15c0150cc315e 100644 --- a/clients/client-machine-learning/package.json +++ b/clients/client-machine-learning/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-macie/package.json b/clients/client-macie/package.json index 927f7a0db38ec..c2ecd158df289 100644 --- a/clients/client-macie/package.json +++ b/clients/client-macie/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-macie2/package.json b/clients/client-macie2/package.json index e9eb5a7b2aa4e..2d7705f81344f 100644 --- a/clients/client-macie2/package.json +++ b/clients/client-macie2/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-managedblockchain/package.json b/clients/client-managedblockchain/package.json index 721d4aa1b8769..12fae6ed9fecb 100644 --- a/clients/client-managedblockchain/package.json +++ b/clients/client-managedblockchain/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-marketplace-catalog/package.json b/clients/client-marketplace-catalog/package.json index 2ea19a8c95791..be965300e136d 100644 --- a/clients/client-marketplace-catalog/package.json +++ b/clients/client-marketplace-catalog/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-marketplace-commerce-analytics/package.json b/clients/client-marketplace-commerce-analytics/package.json index 7eef34411aa38..d0eeabbb86e79 100644 --- a/clients/client-marketplace-commerce-analytics/package.json +++ b/clients/client-marketplace-commerce-analytics/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-marketplace-entitlement-service/package.json b/clients/client-marketplace-entitlement-service/package.json index 9d92a3ead48d7..49248bc0981ea 100644 --- a/clients/client-marketplace-entitlement-service/package.json +++ b/clients/client-marketplace-entitlement-service/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-marketplace-metering/package.json b/clients/client-marketplace-metering/package.json index e3f5fbada55d5..1ce0b6ead00fc 100644 --- a/clients/client-marketplace-metering/package.json +++ b/clients/client-marketplace-metering/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-mediaconnect/package.json b/clients/client-mediaconnect/package.json index c00677b31814e..035c04be08160 100644 --- a/clients/client-mediaconnect/package.json +++ b/clients/client-mediaconnect/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-mediaconvert/package.json b/clients/client-mediaconvert/package.json index f68e7340ae5b9..6a420ea1f75c2 100644 --- a/clients/client-mediaconvert/package.json +++ b/clients/client-mediaconvert/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-medialive/package.json b/clients/client-medialive/package.json index 414c405f2d089..91bb8db06b6f4 100644 --- a/clients/client-medialive/package.json +++ b/clients/client-medialive/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-mediapackage-vod/package.json b/clients/client-mediapackage-vod/package.json index 7314bc697b5f8..f63d0b5be54b1 100644 --- a/clients/client-mediapackage-vod/package.json +++ b/clients/client-mediapackage-vod/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-mediapackage/package.json b/clients/client-mediapackage/package.json index 6c8904c2851c3..4e84983fc3425 100644 --- a/clients/client-mediapackage/package.json +++ b/clients/client-mediapackage/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-mediastore-data/package.json b/clients/client-mediastore-data/package.json index c0d9ca4342ed1..ee4406edaf25e 100644 --- a/clients/client-mediastore-data/package.json +++ b/clients/client-mediastore-data/package.json @@ -5,7 +5,7 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", @@ -13,8 +13,7 @@ "test": "yarn test:unit", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-mediastore/package.json b/clients/client-mediastore/package.json index 033ce0a5f7081..068180e3451e4 100644 --- a/clients/client-mediastore/package.json +++ b/clients/client-mediastore/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-mediatailor/package.json b/clients/client-mediatailor/package.json index 921137920d16b..bf617db6f43fc 100644 --- a/clients/client-mediatailor/package.json +++ b/clients/client-mediatailor/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-migration-hub/package.json b/clients/client-migration-hub/package.json index 6bc8378e08400..6656243d3b62b 100644 --- a/clients/client-migration-hub/package.json +++ b/clients/client-migration-hub/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-migrationhub-config/package.json b/clients/client-migrationhub-config/package.json index 7b6e0f4178b1d..b4b9a71d566f8 100644 --- a/clients/client-migrationhub-config/package.json +++ b/clients/client-migrationhub-config/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-mobile/package.json b/clients/client-mobile/package.json index d3ed7b2feda22..ae97ce5c7890b 100644 --- a/clients/client-mobile/package.json +++ b/clients/client-mobile/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-mq/package.json b/clients/client-mq/package.json index 22f7004c510fe..b71c3d3ad0866 100644 --- a/clients/client-mq/package.json +++ b/clients/client-mq/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-mturk/package.json b/clients/client-mturk/package.json index 33c37f63ff616..5abe91a30d8de 100644 --- a/clients/client-mturk/package.json +++ b/clients/client-mturk/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-neptune/package.json b/clients/client-neptune/package.json index cf7ace4014eaf..a1710aef39307 100644 --- a/clients/client-neptune/package.json +++ b/clients/client-neptune/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-network-firewall/package.json b/clients/client-network-firewall/package.json index 2961cb5f97656..d401d954d8936 100644 --- a/clients/client-network-firewall/package.json +++ b/clients/client-network-firewall/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-networkmanager/package.json b/clients/client-networkmanager/package.json index e564f72128c29..312d7634d63ce 100644 --- a/clients/client-networkmanager/package.json +++ b/clients/client-networkmanager/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-opsworks/package.json b/clients/client-opsworks/package.json index 476ffea045dc4..189026a58e505 100644 --- a/clients/client-opsworks/package.json +++ b/clients/client-opsworks/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-opsworkscm/package.json b/clients/client-opsworkscm/package.json index 6b309d6aa0362..4a5bf50c204a7 100644 --- a/clients/client-opsworkscm/package.json +++ b/clients/client-opsworkscm/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-organizations/package.json b/clients/client-organizations/package.json index eaa518244fe51..d0273bf6645b7 100644 --- a/clients/client-organizations/package.json +++ b/clients/client-organizations/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-outposts/package.json b/clients/client-outposts/package.json index b1fdacc0ed727..2e6007142e964 100644 --- a/clients/client-outposts/package.json +++ b/clients/client-outposts/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-personalize-events/package.json b/clients/client-personalize-events/package.json index 671c59b56e24d..8de99f12d4cb0 100644 --- a/clients/client-personalize-events/package.json +++ b/clients/client-personalize-events/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-personalize-runtime/package.json b/clients/client-personalize-runtime/package.json index 4fa4e3a719ce8..a54362e5e3b75 100644 --- a/clients/client-personalize-runtime/package.json +++ b/clients/client-personalize-runtime/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-personalize/package.json b/clients/client-personalize/package.json index 24c662631d6b4..d2d91462c2468 100644 --- a/clients/client-personalize/package.json +++ b/clients/client-personalize/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-pi/package.json b/clients/client-pi/package.json index 1f93e700f3383..112b77c525b52 100644 --- a/clients/client-pi/package.json +++ b/clients/client-pi/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-pinpoint-email/package.json b/clients/client-pinpoint-email/package.json index b9ffbb2740722..6cffd3d03112f 100644 --- a/clients/client-pinpoint-email/package.json +++ b/clients/client-pinpoint-email/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-pinpoint-sms-voice/package.json b/clients/client-pinpoint-sms-voice/package.json index ea0396e6adab6..fc438f47d1c0f 100644 --- a/clients/client-pinpoint-sms-voice/package.json +++ b/clients/client-pinpoint-sms-voice/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-pinpoint/package.json b/clients/client-pinpoint/package.json index e227b56f045a3..b67aaad60b703 100644 --- a/clients/client-pinpoint/package.json +++ b/clients/client-pinpoint/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-polly/package.json b/clients/client-polly/package.json index 9b6375bf9b285..6403d27e94c30 100644 --- a/clients/client-polly/package.json +++ b/clients/client-polly/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-pricing/package.json b/clients/client-pricing/package.json index 25d62b1db8b93..2115b9703396a 100644 --- a/clients/client-pricing/package.json +++ b/clients/client-pricing/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-qldb-session/package.json b/clients/client-qldb-session/package.json index 9c6008ddab006..e5a0d7d233d32 100644 --- a/clients/client-qldb-session/package.json +++ b/clients/client-qldb-session/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-qldb/package.json b/clients/client-qldb/package.json index 48e14a67a0551..4e7d42f74692f 100644 --- a/clients/client-qldb/package.json +++ b/clients/client-qldb/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-quicksight/package.json b/clients/client-quicksight/package.json index 07702cd58d4ba..204baa81bd277 100644 --- a/clients/client-quicksight/package.json +++ b/clients/client-quicksight/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-ram/package.json b/clients/client-ram/package.json index 0a275a752e2bd..ae837bc778450 100644 --- a/clients/client-ram/package.json +++ b/clients/client-ram/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-rds-data/package.json b/clients/client-rds-data/package.json index f6e5ffb7d6303..3844a0623b6ca 100644 --- a/clients/client-rds-data/package.json +++ b/clients/client-rds-data/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-rds/package.json b/clients/client-rds/package.json index 57557219d39dc..cd484cde2f903 100644 --- a/clients/client-rds/package.json +++ b/clients/client-rds/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-redshift-data/package.json b/clients/client-redshift-data/package.json index f8a45ef448b47..aa743372bafc0 100644 --- a/clients/client-redshift-data/package.json +++ b/clients/client-redshift-data/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-redshift/package.json b/clients/client-redshift/package.json index c7c54ab3e738b..331f910167298 100644 --- a/clients/client-redshift/package.json +++ b/clients/client-redshift/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-rekognition/package.json b/clients/client-rekognition/package.json index a29d70df4ecf7..a215a49dee37d 100644 --- a/clients/client-rekognition/package.json +++ b/clients/client-rekognition/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-resource-groups-tagging-api/package.json b/clients/client-resource-groups-tagging-api/package.json index 5ae34855aa769..c36030f4555fc 100644 --- a/clients/client-resource-groups-tagging-api/package.json +++ b/clients/client-resource-groups-tagging-api/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-resource-groups/package.json b/clients/client-resource-groups/package.json index f14cc75149aae..240ef44f56fca 100644 --- a/clients/client-resource-groups/package.json +++ b/clients/client-resource-groups/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-robomaker/package.json b/clients/client-robomaker/package.json index be6ee3e15301d..cee83e4d912b3 100644 --- a/clients/client-robomaker/package.json +++ b/clients/client-robomaker/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-route-53-domains/package.json b/clients/client-route-53-domains/package.json index fbbb341804ea9..926cda6c159cf 100644 --- a/clients/client-route-53-domains/package.json +++ b/clients/client-route-53-domains/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-route-53/package.json b/clients/client-route-53/package.json index 7ad16cd16be72..5582f20094e84 100644 --- a/clients/client-route-53/package.json +++ b/clients/client-route-53/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-route53resolver/package.json b/clients/client-route53resolver/package.json index f64f18bbcf2b3..769d6db38ac8e 100644 --- a/clients/client-route53resolver/package.json +++ b/clients/client-route53resolver/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-s3-control/package.json b/clients/client-s3-control/package.json index fff2e853c31b1..68fbd5dfe09b4 100644 --- a/clients/client-s3-control/package.json +++ b/clients/client-s3-control/package.json @@ -5,7 +5,7 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", @@ -13,8 +13,7 @@ "test": "yarn test:unit", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-s3/package.json b/clients/client-s3/package.json index 960b82f17e104..ebf0389267388 100644 --- a/clients/client-s3/package.json +++ b/clients/client-s3/package.json @@ -5,7 +5,7 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", @@ -14,8 +14,7 @@ "test": "yarn test:unit", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-s3outposts/package.json b/clients/client-s3outposts/package.json index 7dc441227a9ed..8cc9c6722a79a 100644 --- a/clients/client-s3outposts/package.json +++ b/clients/client-s3outposts/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sagemaker-a2i-runtime/package.json b/clients/client-sagemaker-a2i-runtime/package.json index ad5022ff2a9ee..84896b7735d10 100644 --- a/clients/client-sagemaker-a2i-runtime/package.json +++ b/clients/client-sagemaker-a2i-runtime/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sagemaker-edge/package.json b/clients/client-sagemaker-edge/package.json index 2c243a39c3031..0aab79d52bc36 100644 --- a/clients/client-sagemaker-edge/package.json +++ b/clients/client-sagemaker-edge/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sagemaker-featurestore-runtime/package.json b/clients/client-sagemaker-featurestore-runtime/package.json index 9fd0920796d08..495b7f5be145f 100644 --- a/clients/client-sagemaker-featurestore-runtime/package.json +++ b/clients/client-sagemaker-featurestore-runtime/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sagemaker-runtime/package.json b/clients/client-sagemaker-runtime/package.json index d39607d4e88d1..e02524e3acb83 100644 --- a/clients/client-sagemaker-runtime/package.json +++ b/clients/client-sagemaker-runtime/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sagemaker/package.json b/clients/client-sagemaker/package.json index c7a9f07286c25..67a992da4b47d 100644 --- a/clients/client-sagemaker/package.json +++ b/clients/client-sagemaker/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-savingsplans/package.json b/clients/client-savingsplans/package.json index 7a29203aea4ff..d001e14a19054 100644 --- a/clients/client-savingsplans/package.json +++ b/clients/client-savingsplans/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-schemas/package.json b/clients/client-schemas/package.json index cb27ee07d6cd2..1f6da177f1415 100644 --- a/clients/client-schemas/package.json +++ b/clients/client-schemas/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-secrets-manager/package.json b/clients/client-secrets-manager/package.json index b0e5258eff9cb..d9b8b19ca4022 100644 --- a/clients/client-secrets-manager/package.json +++ b/clients/client-secrets-manager/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-securityhub/package.json b/clients/client-securityhub/package.json index 92771b980f9f6..475c028c53c6a 100644 --- a/clients/client-securityhub/package.json +++ b/clients/client-securityhub/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-serverlessapplicationrepository/package.json b/clients/client-serverlessapplicationrepository/package.json index 0bdbc7c64ca34..ef64073b8142d 100644 --- a/clients/client-serverlessapplicationrepository/package.json +++ b/clients/client-serverlessapplicationrepository/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-service-catalog-appregistry/package.json b/clients/client-service-catalog-appregistry/package.json index 6546485a27bfe..a6442d0dda41b 100644 --- a/clients/client-service-catalog-appregistry/package.json +++ b/clients/client-service-catalog-appregistry/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-service-catalog/package.json b/clients/client-service-catalog/package.json index c76fb97ca1a28..bdbd7e59f9cae 100644 --- a/clients/client-service-catalog/package.json +++ b/clients/client-service-catalog/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-service-quotas/package.json b/clients/client-service-quotas/package.json index 2a680608096ab..3fcb2bd540076 100644 --- a/clients/client-service-quotas/package.json +++ b/clients/client-service-quotas/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-servicediscovery/package.json b/clients/client-servicediscovery/package.json index 9f32fff96a88f..cd45091a1f8e5 100644 --- a/clients/client-servicediscovery/package.json +++ b/clients/client-servicediscovery/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-ses/package.json b/clients/client-ses/package.json index 3490e6c39b025..e9e2cb2f9a2d8 100644 --- a/clients/client-ses/package.json +++ b/clients/client-ses/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sesv2/package.json b/clients/client-sesv2/package.json index b7e5a003bcb78..d63773ec3a62b 100644 --- a/clients/client-sesv2/package.json +++ b/clients/client-sesv2/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sfn/package.json b/clients/client-sfn/package.json index 17be25f6524c0..8294eecfc2ef3 100644 --- a/clients/client-sfn/package.json +++ b/clients/client-sfn/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-shield/package.json b/clients/client-shield/package.json index 65cfd4290f954..98d49630b9395 100644 --- a/clients/client-shield/package.json +++ b/clients/client-shield/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-signer/package.json b/clients/client-signer/package.json index ea3be8902f1aa..16b4b1b7898c6 100644 --- a/clients/client-signer/package.json +++ b/clients/client-signer/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sms/package.json b/clients/client-sms/package.json index daebdd5b2749f..f03eeac05b673 100644 --- a/clients/client-sms/package.json +++ b/clients/client-sms/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-snowball/package.json b/clients/client-snowball/package.json index 9fd01af21991f..70fa614a2977c 100644 --- a/clients/client-snowball/package.json +++ b/clients/client-snowball/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sns/package.json b/clients/client-sns/package.json index 786f200da733c..7cfa4d4638cb7 100644 --- a/clients/client-sns/package.json +++ b/clients/client-sns/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sqs/package.json b/clients/client-sqs/package.json index 851835101b7fe..8a52dcb9ed1ef 100644 --- a/clients/client-sqs/package.json +++ b/clients/client-sqs/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-ssm/package.json b/clients/client-ssm/package.json index 6ec817df343ed..6540fda40d40d 100644 --- a/clients/client-ssm/package.json +++ b/clients/client-ssm/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sso-admin/package.json b/clients/client-sso-admin/package.json index 59512ba6d53c6..07cfa5a7f2ce7 100644 --- a/clients/client-sso-admin/package.json +++ b/clients/client-sso-admin/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sso-oidc/package.json b/clients/client-sso-oidc/package.json index 1ae9f3d9f003a..678e0898d78f7 100644 --- a/clients/client-sso-oidc/package.json +++ b/clients/client-sso-oidc/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sso/package.json b/clients/client-sso/package.json index 51ff30fcb0943..6803681429d55 100644 --- a/clients/client-sso/package.json +++ b/clients/client-sso/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-storage-gateway/package.json b/clients/client-storage-gateway/package.json index bf27670288e92..0557477d14658 100644 --- a/clients/client-storage-gateway/package.json +++ b/clients/client-storage-gateway/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-sts/package.json b/clients/client-sts/package.json index 42e0c3e004b14..93d94f1572885 100644 --- a/clients/client-sts/package.json +++ b/clients/client-sts/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-support/package.json b/clients/client-support/package.json index b07eec40fd7da..bc138e86fe565 100644 --- a/clients/client-support/package.json +++ b/clients/client-support/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-swf/package.json b/clients/client-swf/package.json index 7106349f2aacf..d373d4f604923 100644 --- a/clients/client-swf/package.json +++ b/clients/client-swf/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-synthetics/package.json b/clients/client-synthetics/package.json index 80829082c6486..2f57b9d56f0b0 100644 --- a/clients/client-synthetics/package.json +++ b/clients/client-synthetics/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-textract/package.json b/clients/client-textract/package.json index 70929153d4101..5d4193a9b8bcf 100644 --- a/clients/client-textract/package.json +++ b/clients/client-textract/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-timestream-query/package.json b/clients/client-timestream-query/package.json index 35cae7e1edb3a..6aeaa4aa0a0a0 100644 --- a/clients/client-timestream-query/package.json +++ b/clients/client-timestream-query/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-timestream-write/package.json b/clients/client-timestream-write/package.json index 30b2cdef6716e..51ea9992f2c90 100644 --- a/clients/client-timestream-write/package.json +++ b/clients/client-timestream-write/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-transcribe-streaming/package.json b/clients/client-transcribe-streaming/package.json index 9813d2742d8d7..ea551267993b7 100644 --- a/clients/client-transcribe-streaming/package.json +++ b/clients/client-transcribe-streaming/package.json @@ -5,7 +5,7 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "pretest": "yarn build", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", diff --git a/clients/client-transcribe/package.json b/clients/client-transcribe/package.json index bff3b4b4cb683..f0fee9440873f 100644 --- a/clients/client-transcribe/package.json +++ b/clients/client-transcribe/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-transfer/package.json b/clients/client-transfer/package.json index deb9d78942f21..b8b9f9c528160 100644 --- a/clients/client-transfer/package.json +++ b/clients/client-transfer/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-translate/package.json b/clients/client-translate/package.json index a6b580b3db2d0..e0bcf99c62c29 100644 --- a/clients/client-translate/package.json +++ b/clients/client-translate/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-waf-regional/package.json b/clients/client-waf-regional/package.json index ca1322d57d634..04a50a3df629a 100644 --- a/clients/client-waf-regional/package.json +++ b/clients/client-waf-regional/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-waf/package.json b/clients/client-waf/package.json index e7275feb3e921..fb49227b51868 100644 --- a/clients/client-waf/package.json +++ b/clients/client-waf/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-wafv2/package.json b/clients/client-wafv2/package.json index 4b567440cce4e..3653825571b81 100644 --- a/clients/client-wafv2/package.json +++ b/clients/client-wafv2/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-workdocs/package.json b/clients/client-workdocs/package.json index fb8b6940d03bc..0fdf7abed2e9f 100644 --- a/clients/client-workdocs/package.json +++ b/clients/client-workdocs/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-worklink/package.json b/clients/client-worklink/package.json index 76cd952b99d4b..eac15e654cf63 100644 --- a/clients/client-worklink/package.json +++ b/clients/client-worklink/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-workmail/package.json b/clients/client-workmail/package.json index c4e71e64dec50..b2ac20a2b6092 100644 --- a/clients/client-workmail/package.json +++ b/clients/client-workmail/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-workmailmessageflow/package.json b/clients/client-workmailmessageflow/package.json index 03c66f94f8370..4276493b33131 100644 --- a/clients/client-workmailmessageflow/package.json +++ b/clients/client-workmailmessageflow/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-workspaces/package.json b/clients/client-workspaces/package.json index 26792cfcfda9e..e1b3b27e69667 100644 --- a/clients/client-workspaces/package.json +++ b/clients/client-workspaces/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/clients/client-xray/package.json b/clients/client-xray/package.json index 0ab03533484e6..20420b7b1d31e 100644 --- a/clients/client-xray/package.json +++ b/clients/client-xray/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/lib/lib-dynamodb/package.json b/lib/lib-dynamodb/package.json index d7b722e1a646f..b84ef469b7ac9 100644 --- a/lib/lib-dynamodb/package.json +++ b/lib/lib-dynamodb/package.json @@ -6,11 +6,10 @@ "module": "./dist/es/index.js", "types": "./dist/types/index.d.ts", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "engines": { diff --git a/lib/lib-storage/package.json b/lib/lib-storage/package.json index d3cdfbe193632..2052f409eaad0 100644 --- a/lib/lib-storage/package.json +++ b/lib/lib-storage/package.json @@ -6,11 +6,10 @@ "module": "./dist/es/index.js", "types": "./dist/types/index.d.ts", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "engines": { diff --git a/packages/abort-controller/package.json b/packages/abort-controller/package.json index bd8fedd7ebc37..e093daaaeeb96 100644 --- a/packages/abort-controller/package.json +++ b/packages/abort-controller/package.json @@ -6,11 +6,10 @@ "module": "./dist/es/index.js", "types": "./dist/types/index.d.ts", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/body-checksum-browser/package.json b/packages/body-checksum-browser/package.json index 819eacdbaed7d..14c843aa2f59c 100644 --- a/packages/body-checksum-browser/package.json +++ b/packages/body-checksum-browser/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/body-checksum-browser", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/body-checksum-node/package.json b/packages/body-checksum-node/package.json index 8b3d8d09d7842..fb4632c6908bb 100644 --- a/packages/body-checksum-node/package.json +++ b/packages/body-checksum-node/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/body-checksum-node", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/chunked-blob-reader-native/package.json b/packages/chunked-blob-reader-native/package.json index 76ba0265f8f79..fa1a8caf945a7 100644 --- a/packages/chunked-blob-reader-native/package.json +++ b/packages/chunked-blob-reader-native/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/chunked-blob-reader-native", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/chunked-blob-reader/package.json b/packages/chunked-blob-reader/package.json index 3e16c38376489..59bddf2391cb2 100644 --- a/packages/chunked-blob-reader/package.json +++ b/packages/chunked-blob-reader/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/chunked-blob-reader", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/chunked-stream-reader-node/package.json b/packages/chunked-stream-reader-node/package.json index f0dfcae0ecd65..85b1b9fc3888f 100644 --- a/packages/chunked-stream-reader-node/package.json +++ b/packages/chunked-stream-reader-node/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/chunked-stream-reader-node", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/client-documentation-generator/package.json b/packages/client-documentation-generator/package.json index 99d6368675627..649c0e8a39f5e 100644 --- a/packages/client-documentation-generator/package.json +++ b/packages/client-documentation-generator/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/client-documentation-generator", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "exit 0" }, "main": "./dist/cjs/index.js", diff --git a/packages/config-resolver/package.json b/packages/config-resolver/package.json index fd9bed8f7eec6..610b353a5f168 100644 --- a/packages/config-resolver/package.json +++ b/packages/config-resolver/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/config-resolver", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/core-packages-documentation-generator/package.json b/packages/core-packages-documentation-generator/package.json index d183a8edca62a..68dee7129f616 100644 --- a/packages/core-packages-documentation-generator/package.json +++ b/packages/core-packages-documentation-generator/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/core-packages-documentation-generator", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "exit 0" }, "main": "./dist/cjs/index.js", diff --git a/packages/credential-provider-cognito-identity/package.json b/packages/credential-provider-cognito-identity/package.json index 5b6e8252dc572..908d1611dfc44 100644 --- a/packages/credential-provider-cognito-identity/package.json +++ b/packages/credential-provider-cognito-identity/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/credential-provider-cognito-identity", "version": "3.11.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/credential-provider-env/package.json b/packages/credential-provider-env/package.json index 0123ad29c7f7e..95e8218bbc1ee 100644 --- a/packages/credential-provider-env/package.json +++ b/packages/credential-provider-env/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "keywords": [ diff --git a/packages/credential-provider-imds/package.json b/packages/credential-provider-imds/package.json index 4d0d13fc1cfe0..27adb0969c7b6 100644 --- a/packages/credential-provider-imds/package.json +++ b/packages/credential-provider-imds/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "keywords": [ diff --git a/packages/credential-provider-ini/package.json b/packages/credential-provider-ini/package.json index 8747774a952ee..5c2f938d99a0e 100644 --- a/packages/credential-provider-ini/package.json +++ b/packages/credential-provider-ini/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "keywords": [ diff --git a/packages/credential-provider-node/package.json b/packages/credential-provider-node/package.json index fff08a5d82cdf..01855dd372962 100644 --- a/packages/credential-provider-node/package.json +++ b/packages/credential-provider-node/package.json @@ -8,11 +8,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "keywords": [ diff --git a/packages/credential-provider-process/package.json b/packages/credential-provider-process/package.json index db01e524013fc..14dd2eedfec3a 100644 --- a/packages/credential-provider-process/package.json +++ b/packages/credential-provider-process/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "keywords": [ diff --git a/packages/credential-provider-sso/package.json b/packages/credential-provider-sso/package.json index 736b6a6103597..4be078d09e2ea 100644 --- a/packages/credential-provider-sso/package.json +++ b/packages/credential-provider-sso/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "keywords": [ diff --git a/packages/credential-provider-web-identity/package.json b/packages/credential-provider-web-identity/package.json index 7f0d6b7ba95a0..5022242ea565b 100644 --- a/packages/credential-provider-web-identity/package.json +++ b/packages/credential-provider-web-identity/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "keywords": [ diff --git a/packages/eventstream-handler-node/package.json b/packages/eventstream-handler-node/package.json index 6fcd8b05cd781..bf50ca22c912f 100644 --- a/packages/eventstream-handler-node/package.json +++ b/packages/eventstream-handler-node/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/eventstream-handler-node", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/eventstream-marshaller/package.json b/packages/eventstream-marshaller/package.json index 70034be819ec0..f99f6d9110daa 100644 --- a/packages/eventstream-marshaller/package.json +++ b/packages/eventstream-marshaller/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/eventstream-marshaller", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest --coverage" }, "main": "./dist/cjs/index.js", diff --git a/packages/eventstream-serde-browser/package.json b/packages/eventstream-serde-browser/package.json index e94394b334300..53bb0436a73eb 100644 --- a/packages/eventstream-serde-browser/package.json +++ b/packages/eventstream-serde-browser/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/eventstream-serde-browser", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/eventstream-serde-config-resolver/package.json b/packages/eventstream-serde-config-resolver/package.json index 42019b55e3316..5447195195d53 100644 --- a/packages/eventstream-serde-config-resolver/package.json +++ b/packages/eventstream-serde-config-resolver/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/eventstream-serde-config-resolver", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/eventstream-serde-node/package.json b/packages/eventstream-serde-node/package.json index d33c560557d37..014f7caee2edf 100644 --- a/packages/eventstream-serde-node/package.json +++ b/packages/eventstream-serde-node/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/eventstream-serde-node", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/eventstream-serde-universal/package.json b/packages/eventstream-serde-universal/package.json index acd7dde7c4a0f..4f3c22b4d8dbf 100644 --- a/packages/eventstream-serde-universal/package.json +++ b/packages/eventstream-serde-universal/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/eventstream-serde-universal", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/fetch-http-handler/package.json b/packages/fetch-http-handler/package.json index bf18a102bb6bf..0880a05d74f57 100644 --- a/packages/fetch-http-handler/package.json +++ b/packages/fetch-http-handler/package.json @@ -3,11 +3,10 @@ "version": "3.10.0", "description": "Provides a way to make requests", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest --coverage && karma start karma.conf.js" }, "author": { diff --git a/packages/hash-blob-browser/package.json b/packages/hash-blob-browser/package.json index 831c541ffc1f7..539a9844141fe 100644 --- a/packages/hash-blob-browser/package.json +++ b/packages/hash-blob-browser/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/hash-blob-browser", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "karma start karma.conf.js" }, "main": "./dist/cjs/index.js", diff --git a/packages/hash-node/package.json b/packages/hash-node/package.json index 574de7758ab44..6b3c165c83a9a 100644 --- a/packages/hash-node/package.json +++ b/packages/hash-node/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/hash-node", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/hash-stream-node/package.json b/packages/hash-stream-node/package.json index 1541f40221cd7..f72ae4ff6de33 100644 --- a/packages/hash-stream-node/package.json +++ b/packages/hash-stream-node/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/hash-stream-node", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/invalid-dependency/package.json b/packages/invalid-dependency/package.json index ce343a2de1e6a..4f2239b814cd4 100644 --- a/packages/invalid-dependency/package.json +++ b/packages/invalid-dependency/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/invalid-dependency", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/is-array-buffer/package.json b/packages/is-array-buffer/package.json index aab6a45d4bb49..5e595587f6d33 100644 --- a/packages/is-array-buffer/package.json +++ b/packages/is-array-buffer/package.json @@ -3,11 +3,10 @@ "version": "3.10.0", "description": "Provides a function for detecting if an argument is an ArrayBuffer", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/karma-credential-loader/package.json b/packages/karma-credential-loader/package.json index a705e8b19a7c7..6dd1c069f83ff 100644 --- a/packages/karma-credential-loader/package.json +++ b/packages/karma-credential-loader/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/karma-credential-loader", "version": "3.11.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", diff --git a/packages/md5-js/package.json b/packages/md5-js/package.json index d2d29e5f5f24d..e852632b54793 100644 --- a/packages/md5-js/package.json +++ b/packages/md5-js/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/md5-js", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-apply-body-checksum/package.json b/packages/middleware-apply-body-checksum/package.json index 2c5cc84d93a01..1ca3330a3eee7 100644 --- a/packages/middleware-apply-body-checksum/package.json +++ b/packages/middleware-apply-body-checksum/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-apply-body-checksum", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest --coverage" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-bucket-endpoint/package.json b/packages/middleware-bucket-endpoint/package.json index da72e933b3521..c1fdee526b393 100644 --- a/packages/middleware-bucket-endpoint/package.json +++ b/packages/middleware-bucket-endpoint/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-bucket-endpoint", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-content-length/package.json b/packages/middleware-content-length/package.json index 5b1ffce1ee8b3..e74ac59a6cd05 100644 --- a/packages/middleware-content-length/package.json +++ b/packages/middleware-content-length/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-content-length", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-eventstream/package.json b/packages/middleware-eventstream/package.json index 7e28887ef4f08..b020654b2999b 100644 --- a/packages/middleware-eventstream/package.json +++ b/packages/middleware-eventstream/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-eventstream", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-expect-continue/package.json b/packages/middleware-expect-continue/package.json index 3c05289af77a9..3059473379959 100644 --- a/packages/middleware-expect-continue/package.json +++ b/packages/middleware-expect-continue/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-expect-continue", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-header-default/package.json b/packages/middleware-header-default/package.json index f4c9e00f99bc4..703f195ae17a2 100644 --- a/packages/middleware-header-default/package.json +++ b/packages/middleware-header-default/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-header-default", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-host-header/package.json b/packages/middleware-host-header/package.json index 24aed8d4a8a60..e5d790a8b348a 100644 --- a/packages/middleware-host-header/package.json +++ b/packages/middleware-host-header/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-host-header", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-location-constraint/package.json b/packages/middleware-location-constraint/package.json index 7aaf41b587f64..dd42790c1d892 100644 --- a/packages/middleware-location-constraint/package.json +++ b/packages/middleware-location-constraint/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-location-constraint", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-logger/package.json b/packages/middleware-logger/package.json index 24469b6bf2424..3f1763768f823 100644 --- a/packages/middleware-logger/package.json +++ b/packages/middleware-logger/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-logger", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest --passWithNoTests" }, "author": { diff --git a/packages/middleware-retry/package.json b/packages/middleware-retry/package.json index ae35a21b60103..3457d85296185 100644 --- a/packages/middleware-retry/package.json +++ b/packages/middleware-retry/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-retry", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-api-gateway/package.json b/packages/middleware-sdk-api-gateway/package.json index 2082e1b913f11..e4c9224460e08 100644 --- a/packages/middleware-sdk-api-gateway/package.json +++ b/packages/middleware-sdk-api-gateway/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-sdk-api-gateway", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-ec2/package.json b/packages/middleware-sdk-ec2/package.json index e9784cea0063d..1b254c4eecaa5 100644 --- a/packages/middleware-sdk-ec2/package.json +++ b/packages/middleware-sdk-ec2/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-sdk-ec2", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-glacier/package.json b/packages/middleware-sdk-glacier/package.json index 2b93ecbdf7868..e6776b6144280 100644 --- a/packages/middleware-sdk-glacier/package.json +++ b/packages/middleware-sdk-glacier/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-sdk-glacier", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-machinelearning/package.json b/packages/middleware-sdk-machinelearning/package.json index 41856ebffd149..d46edb08a96ae 100644 --- a/packages/middleware-sdk-machinelearning/package.json +++ b/packages/middleware-sdk-machinelearning/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-sdk-machinelearning", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-rds/package.json b/packages/middleware-sdk-rds/package.json index b4cbfacf72c3b..0feb39f0c0216 100644 --- a/packages/middleware-sdk-rds/package.json +++ b/packages/middleware-sdk-rds/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-sdk-rds", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-route53/package.json b/packages/middleware-sdk-route53/package.json index c4bb83ab1b346..bdb77c4e3438a 100644 --- a/packages/middleware-sdk-route53/package.json +++ b/packages/middleware-sdk-route53/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-sdk-route53", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-s3-control/package.json b/packages/middleware-sdk-s3-control/package.json index 1ec6a39e75392..cd972eecf2bc9 100644 --- a/packages/middleware-sdk-s3-control/package.json +++ b/packages/middleware-sdk-s3-control/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-sdk-s3-control", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-s3/package.json b/packages/middleware-sdk-s3/package.json index 356a7e16a3632..a6863d306c469 100644 --- a/packages/middleware-sdk-s3/package.json +++ b/packages/middleware-sdk-s3/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-sdk-s3", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-sqs/package.json b/packages/middleware-sdk-sqs/package.json index 2e675f03b85f2..edb37da3ba400 100644 --- a/packages/middleware-sdk-sqs/package.json +++ b/packages/middleware-sdk-sqs/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-sdk-sqs", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-transcribe-streaming/package.json b/packages/middleware-sdk-transcribe-streaming/package.json index cd7047bfb2eb8..f7ff85d3e83b6 100644 --- a/packages/middleware-sdk-transcribe-streaming/package.json +++ b/packages/middleware-sdk-transcribe-streaming/package.json @@ -8,8 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "pretest": "yarn build", "test": "jest --passWithNoTests" }, diff --git a/packages/middleware-serde/package.json b/packages/middleware-serde/package.json index 69e598a88dec9..9801e3e8c77f3 100644 --- a/packages/middleware-serde/package.json +++ b/packages/middleware-serde/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-serde", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-signing/package.json b/packages/middleware-signing/package.json index d50296359b0ca..ee8ae9333e81d 100644 --- a/packages/middleware-signing/package.json +++ b/packages/middleware-signing/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-signing", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-ssec/package.json b/packages/middleware-ssec/package.json index 9f2de48335ba0..19fe296e50891 100644 --- a/packages/middleware-ssec/package.json +++ b/packages/middleware-ssec/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-ssec", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-stack/package.json b/packages/middleware-stack/package.json index c497d7b64eaa0..f64ec3501b21f 100644 --- a/packages/middleware-stack/package.json +++ b/packages/middleware-stack/package.json @@ -3,11 +3,10 @@ "version": "3.10.0", "description": "Provides a means for composing multiple middleware functions into a single handler", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/middleware-user-agent/package.json b/packages/middleware-user-agent/package.json index a86e37f7a842f..deba367217919 100644 --- a/packages/middleware-user-agent/package.json +++ b/packages/middleware-user-agent/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/middleware-user-agent", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", diff --git a/packages/node-config-provider/package.json b/packages/node-config-provider/package.json index d557cc235d041..545936680d2a8 100644 --- a/packages/node-config-provider/package.json +++ b/packages/node-config-provider/package.json @@ -3,11 +3,10 @@ "version": "3.10.0", "description": "Load config default values from ini config files and environmental variable", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest --passWithNoTests" }, "author": { diff --git a/packages/node-http-handler/package.json b/packages/node-http-handler/package.json index 7b6b7af103374..82dfced0efe38 100644 --- a/packages/node-http-handler/package.json +++ b/packages/node-http-handler/package.json @@ -3,11 +3,10 @@ "version": "3.10.0", "description": "Provides a way to make requests", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest --coverage" }, "author": { diff --git a/packages/polly-request-presigner/package.json b/packages/polly-request-presigner/package.json index 5aa05d48276c8..d520d18c5bcde 100644 --- a/packages/polly-request-presigner/package.json +++ b/packages/polly-request-presigner/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/polly-request-presigner", "version": "3.11.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/property-provider/package.json b/packages/property-provider/package.json index 008a6c5baa7d7..b762dcd060045 100644 --- a/packages/property-provider/package.json +++ b/packages/property-provider/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/property-provider", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/protocol-http/package.json b/packages/protocol-http/package.json index e42332c1e4ea9..48b7b0127cc77 100644 --- a/packages/protocol-http/package.json +++ b/packages/protocol-http/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/protocol-http", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/querystring-builder/package.json b/packages/querystring-builder/package.json index 48ccf789b5949..f0a76dff92358 100644 --- a/packages/querystring-builder/package.json +++ b/packages/querystring-builder/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/querystring-builder", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/querystring-parser/package.json b/packages/querystring-parser/package.json index 17ed3772086ba..d28f0b0f3a9e5 100644 --- a/packages/querystring-parser/package.json +++ b/packages/querystring-parser/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/querystring-parser", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/s3-presigned-post/package.json b/packages/s3-presigned-post/package.json index 3e59442934424..d9fcc6539c6f5 100644 --- a/packages/s3-presigned-post/package.json +++ b/packages/s3-presigned-post/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/s3-presigned-post", "version": "3.11.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/s3-request-presigner/package.json b/packages/s3-request-presigner/package.json index 53dbebaf67ba4..0676d855c8181 100644 --- a/packages/s3-request-presigner/package.json +++ b/packages/s3-request-presigner/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/s3-request-presigner", "version": "3.11.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/service-error-classification/package.json b/packages/service-error-classification/package.json index f78cad4514bcf..d3d14fb77f55e 100644 --- a/packages/service-error-classification/package.json +++ b/packages/service-error-classification/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/service-error-classification", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/sha256-tree-hash/package.json b/packages/sha256-tree-hash/package.json index 0f1a07d635bcd..b6d091c4a23c3 100644 --- a/packages/sha256-tree-hash/package.json +++ b/packages/sha256-tree-hash/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/sha256-tree-hash", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/shared-ini-file-loader/package.json b/packages/shared-ini-file-loader/package.json index 383dd0d250d89..3dcae9540149c 100644 --- a/packages/shared-ini-file-loader/package.json +++ b/packages/shared-ini-file-loader/package.json @@ -11,11 +11,10 @@ "typescript": "~4.1.2" }, "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/signature-v4/package.json b/packages/signature-v4/package.json index 12d45b664c0e5..d7b202d40af2e 100644 --- a/packages/signature-v4/package.json +++ b/packages/signature-v4/package.json @@ -9,8 +9,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "pretest": "yarn build", "test": "jest --coverage" }, diff --git a/packages/smithy-client/package.json b/packages/smithy-client/package.json index 0c8a9ef238e6f..070810950d24f 100644 --- a/packages/smithy-client/package.json +++ b/packages/smithy-client/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/smithy-client", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", diff --git a/packages/types/package.json b/packages/types/package.json index e22da3e54e625..69426192a398a 100755 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -9,11 +9,10 @@ "typescript": "~4.1.2" }, "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "exit 0" }, "author": { diff --git a/packages/url-parser-native/package.json b/packages/url-parser-native/package.json index d0a3caf24e580..006710e29aeb2 100644 --- a/packages/url-parser-native/package.json +++ b/packages/url-parser-native/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/url-parser-native", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/url-parser/package.json b/packages/url-parser/package.json index 869a8e1cc71bf..077420f006ed7 100644 --- a/packages/url-parser/package.json +++ b/packages/url-parser/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/url-parser", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-arn-parser/package.json b/packages/util-arn-parser/package.json index 45c2ccba9d3d3..2dd5a4d51278f 100644 --- a/packages/util-arn-parser/package.json +++ b/packages/util-arn-parser/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/util-base64-browser/package.json b/packages/util-base64-browser/package.json index 699f4c6446b0f..11a1ff0e29251 100644 --- a/packages/util-base64-browser/package.json +++ b/packages/util-base64-browser/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/util-base64-node/package.json b/packages/util-base64-node/package.json index 58692e7a4d534..3b3d830243f57 100644 --- a/packages/util-base64-node/package.json +++ b/packages/util-base64-node/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/util-body-length-browser/package.json b/packages/util-body-length-browser/package.json index 49d31f7be5ecd..9c62046f3ea46 100644 --- a/packages/util-body-length-browser/package.json +++ b/packages/util-body-length-browser/package.json @@ -3,11 +3,10 @@ "description": "Determines the length of a request body in browsers", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-body-length-node/package.json b/packages/util-body-length-node/package.json index 72d5f9f10709c..a5c9704d1147b 100644 --- a/packages/util-body-length-node/package.json +++ b/packages/util-body-length-node/package.json @@ -3,11 +3,10 @@ "description": "Determines the length of a request body in node.js", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "devDependencies": { diff --git a/packages/util-buffer-from/package.json b/packages/util-buffer-from/package.json index 4b1cd4fe13461..30a130e69e803 100644 --- a/packages/util-buffer-from/package.json +++ b/packages/util-buffer-from/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/util-buffer-from", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/util-create-request/package.json b/packages/util-create-request/package.json index 52cd759d93a00..8512e21ecfc55 100644 --- a/packages/util-create-request/package.json +++ b/packages/util-create-request/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/util-create-request", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-dynamodb/package.json b/packages/util-dynamodb/package.json index fc58317af7150..c253fef3f8433 100644 --- a/packages/util-dynamodb/package.json +++ b/packages/util-dynamodb/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/util-dynamodb", "version": "3.11.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-format-url/package.json b/packages/util-format-url/package.json index 4c3613c17b2fa..03afad85b9d0a 100644 --- a/packages/util-format-url/package.json +++ b/packages/util-format-url/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/util-format-url", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-hex-encoding/package.json b/packages/util-hex-encoding/package.json index d419c4a4f67c9..7d9271944e8be 100644 --- a/packages/util-hex-encoding/package.json +++ b/packages/util-hex-encoding/package.json @@ -3,11 +3,10 @@ "version": "3.10.0", "description": "Converts binary buffers to and from lowercase hexadecimal encoding", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/util-locate-window/package.json b/packages/util-locate-window/package.json index c141a6633784d..28eb0758e7f47 100644 --- a/packages/util-locate-window/package.json +++ b/packages/util-locate-window/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/util-locate-window", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/util-uri-escape/package.json b/packages/util-uri-escape/package.json index 67095e257b837..daa952b29c1cb 100644 --- a/packages/util-uri-escape/package.json +++ b/packages/util-uri-escape/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/util-uri-escape", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-user-agent-browser/package.json b/packages/util-user-agent-browser/package.json index c6c799094b386..208306186a5b3 100644 --- a/packages/util-user-agent-browser/package.json +++ b/packages/util-user-agent-browser/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/util-user-agent-browser", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-user-agent-node/package.json b/packages/util-user-agent-node/package.json index 0ae9155c85c6a..c19ae1218fea0 100644 --- a/packages/util-user-agent-node/package.json +++ b/packages/util-user-agent-node/package.json @@ -2,11 +2,10 @@ "name": "@aws-sdk/util-user-agent-node", "version": "3.10.0", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-utf8-browser/package.json b/packages/util-utf8-browser/package.json index 50d2ebe2f2afe..14f8a59bb2186 100644 --- a/packages/util-utf8-browser/package.json +++ b/packages/util-utf8-browser/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/util-utf8-node/package.json b/packages/util-utf8-node/package.json index cccaa6a00ccb0..b6f220182b4a4 100644 --- a/packages/util-utf8-node/package.json +++ b/packages/util-utf8-node/package.json @@ -5,11 +5,10 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/util-waiter/package.json b/packages/util-waiter/package.json index d49e3592487bc..862f03ec7773b 100644 --- a/packages/util-waiter/package.json +++ b/packages/util-waiter/package.json @@ -13,11 +13,10 @@ "typescript": "~4.1.2" }, "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/packages/xml-builder/package.json b/packages/xml-builder/package.json index 1c402dbb06d80..7d8c3e34e1663 100644 --- a/packages/xml-builder/package.json +++ b/packages/xml-builder/package.json @@ -11,11 +11,10 @@ "typescript": "~4.1.2" }, "scripts": { - "prepublishOnly": "yarn build:cjs && yarn build:es", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4", "test": "jest" }, "author": { diff --git a/protocol_tests/aws-ec2/package.json b/protocol_tests/aws-ec2/package.json index c5c2812ea9dd2..dcd93d3455c18 100644 --- a/protocol_tests/aws-ec2/package.json +++ b/protocol_tests/aws-ec2/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/protocol_tests/aws-json/package.json b/protocol_tests/aws-json/package.json index d540f15b42a39..f97e4316a4f08 100644 --- a/protocol_tests/aws-json/package.json +++ b/protocol_tests/aws-json/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/protocol_tests/aws-query/package.json b/protocol_tests/aws-query/package.json index 55666a565b7b0..ed9d36f9c81c8 100644 --- a/protocol_tests/aws-query/package.json +++ b/protocol_tests/aws-query/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/protocol_tests/aws-restjson/package.json b/protocol_tests/aws-restjson/package.json index 0efad9d821e81..d2b9d54f6e81a 100644 --- a/protocol_tests/aws-restjson/package.json +++ b/protocol_tests/aws-restjson/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", diff --git a/protocol_tests/aws-restxml/package.json b/protocol_tests/aws-restxml/package.json index 82604e7dc7fe8..bdc582702f0ae 100644 --- a/protocol_tests/aws-restxml/package.json +++ b/protocol_tests/aws-restxml/package.json @@ -5,15 +5,14 @@ "scripts": { "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", "build-documentation": "yarn remove-documentation && typedoc ./", - "prepublishOnly": "yarn build", + "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4", "remove-definitions": "rimraf ./types", "remove-dist": "rimraf ./dist", "remove-documentation": "rimraf ./docs", "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es", - "postbuild": "downlevel-dts dist/types dist/types/ts3.4" + "build": "yarn build:cjs && yarn build:es" }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts",