Skip to content

Commit

Permalink
feat(packages): add downlevel-dts script and typesVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jan 21, 2021
1 parent fb92299 commit 33d6ddb
Show file tree
Hide file tree
Showing 90 changed files with 720 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,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 types types/ts3.4",
"test": "jest"
},
"engines": {
Expand Down Expand Up @@ -41,6 +42,13 @@
"ts-jest": "^26.4.1",
"typescript": "~4.1.2"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/trivikr/aws-sdk-js-v3/tree/master/lib/storage",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,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 types types/ts3.4",
"test": "jest"
},
"author": {
Expand All @@ -30,6 +31,13 @@
"engines": {
"node": ">= 10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/abort-controller",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/body-checksum-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand All @@ -32,6 +33,13 @@
"jest": "^26.1.0",
"typescript": "~4.1.2"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/body-checksum-browser",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/body-checksum-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down Expand Up @@ -36,6 +37,13 @@
"engines": {
"node": ">= 10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/body-checksum-node",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/chunked-blob-reader-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand All @@ -26,6 +27,13 @@
"jest": "^26.1.0",
"typescript": "~4.1.2"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/chunked-blob-reader-native",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/chunked-blob-reader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand All @@ -25,6 +26,13 @@
"jest": "^26.1.0",
"typescript": "~4.1.2"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/chunked-blob-reader",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/chunked-stream-reader-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand All @@ -29,6 +30,13 @@
"engines": {
"node": ">= 10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/chunked-stream-reader-node",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/client-documentation-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "exit 0"
},
"main": "./dist/cjs/index.js",
Expand All @@ -30,6 +31,13 @@
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/client-documentation-generator",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/config-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand All @@ -32,6 +33,13 @@
"engines": {
"node": ">= 10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/config-resolver",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/core-packages-documentation-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "exit 0"
},
"main": "./dist/cjs/index.js",
Expand All @@ -31,6 +32,13 @@
"typescript": "~4.1.2"
},
"private": true,
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/core-packages-documentation-generator",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/credential-provider-cognito-identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand All @@ -32,6 +33,13 @@
"engines": {
"node": ">= 10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-cognito-identity",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/credential-provider-env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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 types types/ts3.4",
"test": "jest"
},
"keywords": [
Expand All @@ -36,6 +37,13 @@
"engines": {
"node": ">= 10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-env",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/credential-provider-imds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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 types types/ts3.4",
"test": "jest"
},
"keywords": [
Expand Down Expand Up @@ -37,6 +38,13 @@
"engines": {
"node": ">= 10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-imds",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/credential-provider-ini/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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 types types/ts3.4",
"test": "jest"
},
"keywords": [
Expand Down Expand Up @@ -37,6 +38,13 @@
"engines": {
"node": ">= 10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-ini",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/credential-provider-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,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 types types/ts3.4",
"test": "jest"
},
"keywords": [
Expand Down Expand Up @@ -41,6 +42,13 @@
"typescript": "~4.1.2"
},
"types": "./types/index.d.ts",
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-node",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/credential-provider-process/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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 types types/ts3.4",
"test": "jest"
},
"keywords": [
Expand Down Expand Up @@ -38,6 +39,13 @@
"engines": {
"node": ">= 10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-process",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/eventstream-handler-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand All @@ -31,6 +32,13 @@
"engines": {
"node": ">= 10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/eventstream-handler-node",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/eventstream-marshaller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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 types types/ts3.4",
"test": "jest --coverage"
},
"main": "./dist/cjs/index.js",
Expand Down Expand Up @@ -37,6 +38,13 @@
"react-native": {
"@aws-sdk/util-utf8-node": "@aws-sdk/util-utf8-browser"
},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/eventstream-marshaller",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 33d6ddb

Please sign in to comment.