Skip to content

Commit 67d0f68

Browse files
committed
feat(clients): add downlevel-dts script and typesVersions
1 parent 0295451 commit 67d0f68

File tree

252 files changed

+2267
-251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+2267
-251
lines changed

clients/client-accessanalyzer/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -72,6 +73,13 @@
7273
"engines": {
7374
"node": ">=10.0.0"
7475
},
76+
"typesVersions": {
77+
"<3.9": {
78+
"types/*": [
79+
"types/ts3.4/*"
80+
]
81+
}
82+
},
7583
"author": {
7684
"name": "AWS SDK for JavaScript Team",
7785
"url": "https://aws.amazon.com/javascript/"

clients/client-acm-pca/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -71,6 +72,13 @@
7172
"engines": {
7273
"node": ">=10.0.0"
7374
},
75+
"typesVersions": {
76+
"<3.9": {
77+
"types/*": [
78+
"types/ts3.4/*"
79+
]
80+
}
81+
},
7482
"author": {
7583
"name": "AWS SDK for JavaScript Team",
7684
"url": "https://aws.amazon.com/javascript/"

clients/client-acm/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -71,6 +72,13 @@
7172
"engines": {
7273
"node": ">=10.0.0"
7374
},
75+
"typesVersions": {
76+
"<3.9": {
77+
"types/*": [
78+
"types/ts3.4/*"
79+
]
80+
}
81+
},
7482
"author": {
7583
"name": "AWS SDK for JavaScript Team",
7684
"url": "https://aws.amazon.com/javascript/"

clients/client-alexa-for-business/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -72,6 +73,13 @@
7273
"engines": {
7374
"node": ">=10.0.0"
7475
},
76+
"typesVersions": {
77+
"<3.9": {
78+
"types/*": [
79+
"types/ts3.4/*"
80+
]
81+
}
82+
},
7583
"author": {
7684
"name": "AWS SDK for JavaScript Team",
7785
"url": "https://aws.amazon.com/javascript/"

clients/client-amplify/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -70,6 +71,13 @@
7071
"engines": {
7172
"node": ">=10.0.0"
7273
},
74+
"typesVersions": {
75+
"<3.9": {
76+
"types/*": [
77+
"types/ts3.4/*"
78+
]
79+
}
80+
},
7381
"author": {
7482
"name": "AWS SDK for JavaScript Team",
7583
"url": "https://aws.amazon.com/javascript/"

clients/client-amplifybackend/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "yarn build && jest --coverage --passWithNoTests",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -70,6 +71,13 @@
7071
"engines": {
7172
"node": ">=10.0.0"
7273
},
74+
"typesVersions": {
75+
"<3.9": {
76+
"types/*": [
77+
"types/ts3.4/*"
78+
]
79+
}
80+
},
7381
"author": {
7482
"name": "AWS SDK for JavaScript Team",
7583
"url": "https://aws.amazon.com/javascript/"

clients/client-api-gateway/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -71,6 +72,13 @@
7172
"engines": {
7273
"node": ">=10.0.0"
7374
},
75+
"typesVersions": {
76+
"<3.9": {
77+
"types/*": [
78+
"types/ts3.4/*"
79+
]
80+
}
81+
},
7482
"author": {
7583
"name": "AWS SDK for JavaScript Team",
7684
"url": "https://aws.amazon.com/javascript/"

clients/client-apigatewaymanagementapi/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -70,6 +71,13 @@
7071
"engines": {
7172
"node": ">=10.0.0"
7273
},
74+
"typesVersions": {
75+
"<3.9": {
76+
"types/*": [
77+
"types/ts3.4/*"
78+
]
79+
}
80+
},
7381
"author": {
7482
"name": "AWS SDK for JavaScript Team",
7583
"url": "https://aws.amazon.com/javascript/"

clients/client-apigatewayv2/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -70,6 +71,13 @@
7071
"engines": {
7172
"node": ">=10.0.0"
7273
},
74+
"typesVersions": {
75+
"<3.9": {
76+
"types/*": [
77+
"types/ts3.4/*"
78+
]
79+
}
80+
},
7381
"author": {
7482
"name": "AWS SDK for JavaScript Team",
7583
"url": "https://aws.amazon.com/javascript/"

clients/client-app-mesh/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -72,6 +73,13 @@
7273
"engines": {
7374
"node": ">=10.0.0"
7475
},
76+
"typesVersions": {
77+
"<3.9": {
78+
"types/*": [
79+
"types/ts3.4/*"
80+
]
81+
}
82+
},
7583
"author": {
7684
"name": "AWS SDK for JavaScript Team",
7785
"url": "https://aws.amazon.com/javascript/"

clients/client-appconfig/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -70,6 +71,13 @@
7071
"engines": {
7172
"node": ">=10.0.0"
7273
},
74+
"typesVersions": {
75+
"<3.9": {
76+
"types/*": [
77+
"types/ts3.4/*"
78+
]
79+
}
80+
},
7381
"author": {
7482
"name": "AWS SDK for JavaScript Team",
7583
"url": "https://aws.amazon.com/javascript/"

clients/client-appflow/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "yarn build && jest --coverage --passWithNoTests",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -70,6 +71,13 @@
7071
"engines": {
7172
"node": ">=10.0.0"
7273
},
74+
"typesVersions": {
75+
"<3.9": {
76+
"types/*": [
77+
"types/ts3.4/*"
78+
]
79+
}
80+
},
7381
"author": {
7482
"name": "AWS SDK for JavaScript Team",
7583
"url": "https://aws.amazon.com/javascript/"

clients/client-appintegrations/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "yarn build && jest --coverage --passWithNoTests",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -72,6 +73,13 @@
7273
"engines": {
7374
"node": ">=10.0.0"
7475
},
76+
"typesVersions": {
77+
"<3.9": {
78+
"types/*": [
79+
"types/ts3.4/*"
80+
]
81+
}
82+
},
7583
"author": {
7684
"name": "AWS SDK for JavaScript Team",
7785
"url": "https://aws.amazon.com/javascript/"

clients/client-application-auto-scaling/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -70,6 +71,13 @@
7071
"engines": {
7172
"node": ">=10.0.0"
7273
},
74+
"typesVersions": {
75+
"<3.9": {
76+
"types/*": [
77+
"types/ts3.4/*"
78+
]
79+
}
80+
},
7381
"author": {
7482
"name": "AWS SDK for JavaScript Team",
7583
"url": "https://aws.amazon.com/javascript/"

clients/client-application-discovery-service/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -72,6 +73,13 @@
7273
"engines": {
7374
"node": ">=10.0.0"
7475
},
76+
"typesVersions": {
77+
"<3.9": {
78+
"types/*": [
79+
"types/ts3.4/*"
80+
]
81+
}
82+
},
7583
"author": {
7684
"name": "AWS SDK for JavaScript Team",
7785
"url": "https://aws.amazon.com/javascript/"

clients/client-application-insights/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test": "exit 0",
1414
"build:cjs": "tsc -p tsconfig.json",
1515
"build:es": "tsc -p tsconfig.es.json",
16-
"build": "yarn build:cjs && yarn build:es"
16+
"build": "yarn build:cjs && yarn build:es",
17+
"postbuild": "downlevel-dts types types/ts3.4"
1718
},
1819
"main": "./dist/cjs/index.js",
1920
"types": "./types/index.d.ts",
@@ -70,6 +71,13 @@
7071
"engines": {
7172
"node": ">=10.0.0"
7273
},
74+
"typesVersions": {
75+
"<3.9": {
76+
"types/*": [
77+
"types/ts3.4/*"
78+
]
79+
}
80+
},
7381
"author": {
7482
"name": "AWS SDK for JavaScript Team",
7583
"url": "https://aws.amazon.com/javascript/"

0 commit comments

Comments
 (0)