diff --git a/.eslintrc.js b/.eslintrc.js index f9d6aa56555d9..91d9874cf3e91 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -8,7 +8,7 @@ module.exports = { // Uses the recommended rules from the @typescript-eslint/eslint-plugin "plugin:@typescript-eslint/recommended", ], - plugins: ["@typescript-eslint", "simple-import-sort", "eslint-plugin-sort-export-all"], + plugins: ["@typescript-eslint", "simple-import-sort", "eslint-plugin-sort-export-all", "eslint-plugin-tsdoc"], rules: { /** Turn off strict enforcement */ "@typescript-eslint/ban-types": "off", @@ -23,6 +23,7 @@ module.exports = { /** Warnings */ "@typescript-eslint/no-namespace": "warn", + "tsdoc/syntax": "warn", /** Errors */ "simple-import-sort/imports": "error", diff --git a/.gitignore b/.gitignore index b5bcd17299e91..8b84b88bfeb31 100644 --- a/.gitignore +++ b/.gitignore @@ -65,6 +65,8 @@ benchmark/size/raw etc/ temp/ +temp-packages/ +temp-lib/ # Gradle composite build properties codegen/local.properties diff --git a/api-extractor.json b/api-extractor.json index 33444c5fef260..e45ee36fdb7d0 100644 --- a/api-extractor.json +++ b/api-extractor.json @@ -60,9 +60,7 @@ * This would direct API Extractor to embed those types directly in the .d.ts rollup, as if they had been * local files for library1. */ - "bundledPackages": [ - // "@aws-sdk/types", "@aws-sdk/util-waiter", "@aws-sdk/smithy-client" - ], + // "bundledPackages": ["@aws-sdk/types", "@aws-sdk/util-waiter", "@aws-sdk/smithy-client", "@aws-smithy/types"], /** * Specifies what type of newlines API Extractor should use when writing output files. By default, the output files @@ -178,7 +176,7 @@ * SUPPORTED TOKENS: , , * DEFAULT VALUE: "/temp/" */ - "reportTempFolder": "./temp/" + "reportTempFolder": "./temp/", /** * Whether "forgotten exports" should be included in the API report file. Forgotten exports are declarations @@ -187,7 +185,7 @@ * * DEFAULT VALUE: "false" */ - // "includeForgottenExports": false + "includeForgottenExports": true }, /** @@ -217,7 +215,7 @@ * * DEFAULT VALUE: "false" */ - // "includeForgottenExports": false, + // "includeForgottenExports": true /** * The base URL where the project's source code can be viewed on a website such as GitHub or @@ -243,7 +241,7 @@ /** * (REQUIRED) Whether to generate the .d.ts rollup file. */ - "enabled": true + "enabled": false, /** * Specifies the output path for a .d.ts rollup file to be generated without any trimming. @@ -257,7 +255,7 @@ * SUPPORTED TOKENS: , , * DEFAULT VALUE: "/dist/.d.ts" */ - // "untrimmedFilePath": "/dist/.d.ts", + "untrimmedFilePath": "./dist/.d.ts" /** * Specifies the output path for a .d.ts rollup file to be generated with trimming for an "alpha" release. diff --git a/api-extractor.packages.json b/api-extractor.packages.json new file mode 100644 index 0000000000000..3be5d1f72ee98 --- /dev/null +++ b/api-extractor.packages.json @@ -0,0 +1,10 @@ +{ + "extends": "./api-extractor.json", + "docModel": { + "apiJsonFilePath": "./temp-packages/.api.json" + }, + "apiReport": { + "reportFolder": "./temp-packages/", + "reportTempFolder": "./temp-packages/" + } +} diff --git a/packages/abort-controller/api-extractor.json b/packages/abort-controller/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/abort-controller/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/abort-controller/package.json b/packages/abort-controller/package.json index 810fb21117fdf..82d0c9c534b67 100644 --- a/packages/abort-controller/package.json +++ b/packages/abort-controller/package.json @@ -13,6 +13,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "author": { diff --git a/packages/cloudfront-signer/api-extractor.json b/packages/cloudfront-signer/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/cloudfront-signer/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/cloudfront-signer/package.json b/packages/cloudfront-signer/package.json index 17b5a3ffa0d1b..486ecde755a68 100644 --- a/packages/cloudfront-signer/package.json +++ b/packages/cloudfront-signer/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "main": "./dist-cjs/index.js", diff --git a/packages/credential-providers/api-extractor.json b/packages/credential-providers/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/credential-providers/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/credential-providers/package.json b/packages/credential-providers/package.json index 2680baf1567c0..4e3ebc7675aff 100644 --- a/packages/credential-providers/package.json +++ b/packages/credential-providers/package.json @@ -15,6 +15,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "keywords": [ diff --git a/packages/fetch-http-handler/api-extractor.json b/packages/fetch-http-handler/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/fetch-http-handler/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/fetch-http-handler/package.json b/packages/fetch-http-handler/package.json index bda8bf5ac4620..d5bf68d8c1bbe 100644 --- a/packages/fetch-http-handler/package.json +++ b/packages/fetch-http-handler/package.json @@ -10,6 +10,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest --coverage && karma start karma.conf.js" }, "author": { diff --git a/packages/hash-node/api-extractor.json b/packages/hash-node/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/hash-node/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/hash-node/package.json b/packages/hash-node/package.json index 61cda440e0cba..d33f719e0ccf5 100644 --- a/packages/hash-node/package.json +++ b/packages/hash-node/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "main": "./dist-cjs/index.js", diff --git a/packages/middleware-bucket-endpoint/api-extractor.json b/packages/middleware-bucket-endpoint/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/middleware-bucket-endpoint/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/middleware-bucket-endpoint/package.json b/packages/middleware-bucket-endpoint/package.json index fc5963a560710..42281ce50a145 100644 --- a/packages/middleware-bucket-endpoint/package.json +++ b/packages/middleware-bucket-endpoint/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "main": "./dist-cjs/index.js", diff --git a/packages/middleware-endpoint/api-extractor.json b/packages/middleware-endpoint/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/middleware-endpoint/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/middleware-endpoint/package.json b/packages/middleware-endpoint/package.json index 9415bdeabda95..7bfc4ebdddd4b 100644 --- a/packages/middleware-endpoint/package.json +++ b/packages/middleware-endpoint/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest --passWithNoTests", "test:integration": "jest -c jest.config.integ.js" }, diff --git a/packages/middleware-retry/api-extractor.json b/packages/middleware-retry/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/middleware-retry/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/middleware-retry/package.json b/packages/middleware-retry/package.json index 2f016cebab727..d76550a9819ad 100644 --- a/packages/middleware-retry/package.json +++ b/packages/middleware-retry/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest", "test:integration": "jest -c jest.config.integ.js" }, diff --git a/packages/middleware-stack/api-extractor.json b/packages/middleware-stack/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/middleware-stack/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/middleware-stack/package.json b/packages/middleware-stack/package.json index 29eb0198e804d..6c0a5fbc47445 100644 --- a/packages/middleware-stack/package.json +++ b/packages/middleware-stack/package.json @@ -10,6 +10,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest", "test:integration": "jest -c jest.config.integ.js --passWithNoTests" }, diff --git a/packages/node-http-handler/api-extractor.json b/packages/node-http-handler/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/node-http-handler/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/node-http-handler/package.json b/packages/node-http-handler/package.json index 2beed4702c617..c8f738fac2027 100644 --- a/packages/node-http-handler/package.json +++ b/packages/node-http-handler/package.json @@ -10,6 +10,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest --coverage" }, "author": { diff --git a/packages/polly-request-presigner/api-extractor.json b/packages/polly-request-presigner/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/polly-request-presigner/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/polly-request-presigner/package.json b/packages/polly-request-presigner/package.json index 0def3813d344d..9c5c3f9095c8d 100644 --- a/packages/polly-request-presigner/package.json +++ b/packages/polly-request-presigner/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "main": "./dist-cjs/index.js", diff --git a/packages/rds-signer/api-extractor.json b/packages/rds-signer/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/rds-signer/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/rds-signer/package.json b/packages/rds-signer/package.json index 6505fc9c0fd63..e648f512fcc42 100644 --- a/packages/rds-signer/package.json +++ b/packages/rds-signer/package.json @@ -13,6 +13,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "engines": { diff --git a/packages/s3-presigned-post/api-extractor.json b/packages/s3-presigned-post/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/s3-presigned-post/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/s3-presigned-post/package.json b/packages/s3-presigned-post/package.json index 0c92bbbebc6b1..c54ad18aa8448 100644 --- a/packages/s3-presigned-post/package.json +++ b/packages/s3-presigned-post/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest", "test:e2e": "jest -c jest.config.e2e.js" }, diff --git a/packages/s3-request-presigner/api-extractor.json b/packages/s3-request-presigner/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/s3-request-presigner/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/s3-request-presigner/package.json b/packages/s3-request-presigner/package.json index 3db61ebde9b07..aa442a5137c16 100644 --- a/packages/s3-request-presigner/package.json +++ b/packages/s3-request-presigner/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "main": "./dist-cjs/index.js", diff --git a/packages/shared-ini-file-loader/api-extractor.json b/packages/shared-ini-file-loader/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/shared-ini-file-loader/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/shared-ini-file-loader/package.json b/packages/shared-ini-file-loader/package.json index e31906f4ce242..061b1a888662e 100644 --- a/packages/shared-ini-file-loader/package.json +++ b/packages/shared-ini-file-loader/package.json @@ -22,6 +22,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "author": { diff --git a/packages/signature-v4-crt/api-extractor.json b/packages/signature-v4-crt/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/signature-v4-crt/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/signature-v4-crt/package.json b/packages/signature-v4-crt/package.json index b3576c3de3ade..ff7c10c30325b 100644 --- a/packages/signature-v4-crt/package.json +++ b/packages/signature-v4-crt/package.json @@ -13,6 +13,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest --coverage" }, "author": { diff --git a/packages/signature-v4-multi-region/api-extractor.json b/packages/signature-v4-multi-region/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/signature-v4-multi-region/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/signature-v4-multi-region/package.json b/packages/signature-v4-multi-region/package.json index 99bfe6185d1b4..191e81397918b 100644 --- a/packages/signature-v4-multi-region/package.json +++ b/packages/signature-v4-multi-region/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "main": "./dist-cjs/index.js", diff --git a/packages/signature-v4/api-extractor.json b/packages/signature-v4/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/signature-v4/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/signature-v4/package.json b/packages/signature-v4/package.json index 87ab766c69e6c..9c23a4c929fa2 100644 --- a/packages/signature-v4/package.json +++ b/packages/signature-v4/package.json @@ -13,6 +13,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest --coverage" }, "author": { diff --git a/packages/smithy-client/api-extractor.json b/packages/smithy-client/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/smithy-client/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/smithy-client/package.json b/packages/smithy-client/package.json index 69b38b4b7ccb3..613e9d40759be 100644 --- a/packages/smithy-client/package.json +++ b/packages/smithy-client/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest --passWithNoTests" }, "main": "./dist-cjs/index.js", diff --git a/packages/token-providers/api-extractor.json b/packages/token-providers/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/token-providers/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/token-providers/package.json b/packages/token-providers/package.json index e30946f957073..d2129de9c49e0 100644 --- a/packages/token-providers/package.json +++ b/packages/token-providers/package.json @@ -13,6 +13,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "keywords": [ diff --git a/packages/types/api-extractor.json b/packages/types/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/types/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/types/package.json b/packages/types/package.json index b470b68c4991d..0defae88308e7 100755 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -13,6 +13,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "tsc -p tsconfig.test.json" }, "author": { diff --git a/packages/util-create-request/api-extractor.json b/packages/util-create-request/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/util-create-request/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/util-create-request/package.json b/packages/util-create-request/package.json index 6c9d8106ef64a..e93b22b72aae4 100644 --- a/packages/util-create-request/package.json +++ b/packages/util-create-request/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "main": "./dist-cjs/index.js", diff --git a/packages/util-dynamodb/api-extractor.json b/packages/util-dynamodb/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/util-dynamodb/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/util-dynamodb/package.json b/packages/util-dynamodb/package.json index 2a4cef9305183..ea3dda5cb6399 100644 --- a/packages/util-dynamodb/package.json +++ b/packages/util-dynamodb/package.json @@ -9,6 +9,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "main": "./dist-cjs/index.js", diff --git a/packages/util-retry/api-extractor.json b/packages/util-retry/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/util-retry/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/util-retry/package.json b/packages/util-retry/package.json index 42bd16770af16..baf1a100888c9 100644 --- a/packages/util-retry/package.json +++ b/packages/util-retry/package.json @@ -12,6 +12,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "keywords": [ diff --git a/packages/xhr-http-handler/api-extractor.json b/packages/xhr-http-handler/api-extractor.json new file mode 100644 index 0000000000000..b03e22a16a06e --- /dev/null +++ b/packages/xhr-http-handler/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/xhr-http-handler/package.json b/packages/xhr-http-handler/package.json index 516f8526daedf..50a41a27e72b2 100644 --- a/packages/xhr-http-handler/package.json +++ b/packages/xhr-http-handler/package.json @@ -10,6 +10,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest --coverage" }, "author": "AWS SDK for JavaScript Team (https://aws.amazon.com/javascript/)",