Skip to content

Commit

Permalink
feat: use downlevel-dts to generate TS 3.4 compatible types (#1943)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jan 22, 2021
1 parent 878617a commit 63ad215
Show file tree
Hide file tree
Showing 344 changed files with 3,250 additions and 253 deletions.
11 changes: 10 additions & 1 deletion clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -63,6 +64,7 @@
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"@types/uuid": "^3.0.0",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -71,6 +73,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -62,6 +63,7 @@
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -70,6 +72,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-acm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -62,6 +63,7 @@
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -70,6 +72,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-alexa-for-business/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -63,6 +64,7 @@
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"@types/uuid": "^3.0.0",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -71,6 +73,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-amplify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -61,6 +62,7 @@
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -69,6 +71,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-amplifybackend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"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"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -61,6 +62,7 @@
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -69,6 +71,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -62,6 +63,7 @@
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -70,6 +72,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-apigatewaymanagementapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -61,6 +62,7 @@
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -69,6 +71,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-apigatewayv2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -61,6 +62,7 @@
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -69,6 +71,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-app-mesh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -63,6 +64,7 @@
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"@types/uuid": "^3.0.0",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -71,6 +73,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-appconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -61,6 +62,7 @@
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -69,6 +71,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
11 changes: 10 additions & 1 deletion clients/client-appflow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"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"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -61,6 +62,7 @@
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.1.0",
"@types/node": "^12.7.5",
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
Expand All @@ -69,6 +71,13 @@
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down
Loading

0 comments on commit 63ad215

Please sign in to comment.