diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59f804f05fb..dcd954e0121 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,7 +88,11 @@ jobs: working-directory: repo-a - name: Collect JSON schemas - run: node repo-scripts/repo-toolbox/lib-commonjs/start.js collect-json-schemas --output-path ${GITHUB_WORKSPACE}/artifacts/json-schemas + run: node repo-scripts/repo-toolbox/lib-commonjs/start.js collect-project-files --subfolder temp/json-schemas --output-path ${GITHUB_WORKSPACE}/artifacts/json-schemas + working-directory: repo-a + + - name: Collect API review files + run: node repo-scripts/repo-toolbox/lib-commonjs/start.js collect-project-files --subfolder temp/api --output-path ${GITHUB_WORKSPACE}/artifacts/api working-directory: repo-a - name: Clone another copy of the repo to test the build cache diff --git a/apps/api-documenter/config/api-extractor.json b/apps/api-documenter/config/api-extractor.json index 05c675a8601..d34381e01f3 100644 --- a/apps/api-documenter/config/api-extractor.json +++ b/apps/api-documenter/config/api-extractor.json @@ -1,17 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "dtsRollup": { "enabled": true, diff --git a/apps/api-extractor/config/api-extractor.json b/apps/api-extractor/config/api-extractor.json index 05c675a8601..bf6aa143c60 100644 --- a/apps/api-extractor/config/api-extractor.json +++ b/apps/api-extractor/config/api-extractor.json @@ -1,17 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json", "dtsRollup": { "enabled": true, diff --git a/apps/heft/config/api-extractor.json b/apps/heft/config/api-extractor.json index 1ddb4758d09..005e818a08b 100644 --- a/apps/heft/config/api-extractor.json +++ b/apps/heft/config/api-extractor.json @@ -1,15 +1,7 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/apps/playwright-browser-tunnel/config/api-extractor.json b/apps/playwright-browser-tunnel/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/apps/playwright-browser-tunnel/config/api-extractor.json +++ b/apps/playwright-browser-tunnel/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/apps/rush-mcp-server/config/api-extractor.json b/apps/rush-mcp-server/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/apps/rush-mcp-server/config/api-extractor.json +++ b/apps/rush-mcp-server/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/common/changes/@microsoft/api-documenter/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@microsoft/api-documenter/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..771f7e84c78 --- /dev/null +++ b/common/changes/@microsoft/api-documenter/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/api-documenter" + } + ], + "packageName": "@microsoft/api-documenter", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@microsoft/api-extractor-model/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@microsoft/api-extractor-model/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..52f6a7d52bc --- /dev/null +++ b/common/changes/@microsoft/api-extractor-model/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/api-extractor-model" + } + ], + "packageName": "@microsoft/api-extractor-model", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@microsoft/api-extractor/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@microsoft/api-extractor/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..f7c3a8a84e4 --- /dev/null +++ b/common/changes/@microsoft/api-extractor/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/api-extractor" + } + ], + "packageName": "@microsoft/api-extractor", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@microsoft/loader-load-themed-styles/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@microsoft/loader-load-themed-styles/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..99a0421e842 --- /dev/null +++ b/common/changes/@microsoft/loader-load-themed-styles/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/loader-load-themed-styles" + } + ], + "packageName": "@microsoft/loader-load-themed-styles", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@microsoft/rush/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@microsoft/rush/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..efcd84c45fb --- /dev/null +++ b/common/changes/@microsoft/rush/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/rush" + } + ], + "packageName": "@microsoft/rush", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@microsoft/webpack5-load-themed-styles-loader/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@microsoft/webpack5-load-themed-styles-loader/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..bb02423ee02 --- /dev/null +++ b/common/changes/@microsoft/webpack5-load-themed-styles-loader/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/webpack5-load-themed-styles-loader" + } + ], + "packageName": "@microsoft/webpack5-load-themed-styles-loader", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/credential-cache/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/credential-cache/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..540ab06fe41 --- /dev/null +++ b/common/changes/@rushstack/credential-cache/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/credential-cache" + } + ], + "packageName": "@rushstack/credential-cache", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/debug-certificate-manager/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/debug-certificate-manager/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..585dea266f6 --- /dev/null +++ b/common/changes/@rushstack/debug-certificate-manager/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/debug-certificate-manager" + } + ], + "packageName": "@rushstack/debug-certificate-manager", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/hashed-folder-copy-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/hashed-folder-copy-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..3d00044f953 --- /dev/null +++ b/common/changes/@rushstack/hashed-folder-copy-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/hashed-folder-copy-plugin" + } + ], + "packageName": "@rushstack/hashed-folder-copy-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-config-file/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/heft-config-file/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..ebc8dd79c07 --- /dev/null +++ b/common/changes/@rushstack/heft-config-file/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/heft-config-file" + } + ], + "packageName": "@rushstack/heft-config-file", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..6e97e4a5cf0 --- /dev/null +++ b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin" + } + ], + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-rspack-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/heft-rspack-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..07a74a4a202 --- /dev/null +++ b/common/changes/@rushstack/heft-rspack-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/heft-rspack-plugin" + } + ], + "packageName": "@rushstack/heft-rspack-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-typescript-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/heft-typescript-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..4a8e9132357 --- /dev/null +++ b/common/changes/@rushstack/heft-typescript-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/heft-typescript-plugin" + } + ], + "packageName": "@rushstack/heft-typescript-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-webpack4-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/heft-webpack4-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..93df4fb8f95 --- /dev/null +++ b/common/changes/@rushstack/heft-webpack4-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/heft-webpack4-plugin" + } + ], + "packageName": "@rushstack/heft-webpack4-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-webpack5-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/heft-webpack5-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..9340dce0c15 --- /dev/null +++ b/common/changes/@rushstack/heft-webpack5-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/heft-webpack5-plugin" + } + ], + "packageName": "@rushstack/heft-webpack5-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/heft/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..ef525830e37 --- /dev/null +++ b/common/changes/@rushstack/heft/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/heft" + } + ], + "packageName": "@rushstack/heft", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/localization-utilities/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/localization-utilities/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..df6824522c4 --- /dev/null +++ b/common/changes/@rushstack/localization-utilities/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/localization-utilities" + } + ], + "packageName": "@rushstack/localization-utilities", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/lookup-by-path/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/lookup-by-path/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..fe9906e7906 --- /dev/null +++ b/common/changes/@rushstack/lookup-by-path/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/lookup-by-path" + } + ], + "packageName": "@rushstack/lookup-by-path", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/mcp-server/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/mcp-server/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..df2697e982c --- /dev/null +++ b/common/changes/@rushstack/mcp-server/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/mcp-server" + } + ], + "packageName": "@rushstack/mcp-server", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/module-minifier/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/module-minifier/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..d1e73450eca --- /dev/null +++ b/common/changes/@rushstack/module-minifier/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/module-minifier" + } + ], + "packageName": "@rushstack/module-minifier", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/node-core-library/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/node-core-library/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..db57b2feb86 --- /dev/null +++ b/common/changes/@rushstack/node-core-library/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/node-core-library" + } + ], + "packageName": "@rushstack/node-core-library", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/operation-graph/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/operation-graph/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..ccb47662fbf --- /dev/null +++ b/common/changes/@rushstack/operation-graph/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/operation-graph" + } + ], + "packageName": "@rushstack/operation-graph", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/package-deps-hash/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/package-deps-hash/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..3aafebf85be --- /dev/null +++ b/common/changes/@rushstack/package-deps-hash/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/package-deps-hash" + } + ], + "packageName": "@rushstack/package-deps-hash", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/package-extractor/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/package-extractor/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..75d96dca0c8 --- /dev/null +++ b/common/changes/@rushstack/package-extractor/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/package-extractor" + } + ], + "packageName": "@rushstack/package-extractor", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/playwright-browser-tunnel/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/playwright-browser-tunnel/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..1d268afc0e2 --- /dev/null +++ b/common/changes/@rushstack/playwright-browser-tunnel/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/playwright-browser-tunnel" + } + ], + "packageName": "@rushstack/playwright-browser-tunnel", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/problem-matcher/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/problem-matcher/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..a8d616334fa --- /dev/null +++ b/common/changes/@rushstack/problem-matcher/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/problem-matcher" + } + ], + "packageName": "@rushstack/problem-matcher", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rig-package/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/rig-package/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..c66505525a1 --- /dev/null +++ b/common/changes/@rushstack/rig-package/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rig-package" + } + ], + "packageName": "@rushstack/rig-package", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-pnpm-kit-v10/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/rush-pnpm-kit-v10/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..1881ceae899 --- /dev/null +++ b/common/changes/@rushstack/rush-pnpm-kit-v10/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-pnpm-kit-v10" + } + ], + "packageName": "@rushstack/rush-pnpm-kit-v10", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-pnpm-kit-v8/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/rush-pnpm-kit-v8/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..861e4f11d01 --- /dev/null +++ b/common/changes/@rushstack/rush-pnpm-kit-v8/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-pnpm-kit-v8" + } + ], + "packageName": "@rushstack/rush-pnpm-kit-v8", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-pnpm-kit-v9/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/rush-pnpm-kit-v9/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..f06bbee63cd --- /dev/null +++ b/common/changes/@rushstack/rush-pnpm-kit-v9/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-pnpm-kit-v9" + } + ], + "packageName": "@rushstack/rush-pnpm-kit-v9", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/set-webpack-public-path-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/set-webpack-public-path-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..d68748afb18 --- /dev/null +++ b/common/changes/@rushstack/set-webpack-public-path-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/set-webpack-public-path-plugin" + } + ], + "packageName": "@rushstack/set-webpack-public-path-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/stream-collator/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/stream-collator/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..ac72fbf9f92 --- /dev/null +++ b/common/changes/@rushstack/stream-collator/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/stream-collator" + } + ], + "packageName": "@rushstack/stream-collator", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/terminal/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/terminal/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..13894830365 --- /dev/null +++ b/common/changes/@rushstack/terminal/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/terminal" + } + ], + "packageName": "@rushstack/terminal", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/tree-pattern/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/tree-pattern/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..619a10c75e3 --- /dev/null +++ b/common/changes/@rushstack/tree-pattern/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/tree-pattern" + } + ], + "packageName": "@rushstack/tree-pattern", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/ts-command-line/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/ts-command-line/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..1f3658b8dc4 --- /dev/null +++ b/common/changes/@rushstack/ts-command-line/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/ts-command-line" + } + ], + "packageName": "@rushstack/ts-command-line", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/typings-generator/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/typings-generator/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..28ecf6f355b --- /dev/null +++ b/common/changes/@rushstack/typings-generator/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/typings-generator" + } + ], + "packageName": "@rushstack/typings-generator", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-embedded-dependencies-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/webpack-embedded-dependencies-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..908583cfa6f --- /dev/null +++ b/common/changes/@rushstack/webpack-embedded-dependencies-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack-embedded-dependencies-plugin" + } + ], + "packageName": "@rushstack/webpack-embedded-dependencies-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-plugin-utilities/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/webpack-plugin-utilities/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..df473b1f248 --- /dev/null +++ b/common/changes/@rushstack/webpack-plugin-utilities/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack-plugin-utilities" + } + ], + "packageName": "@rushstack/webpack-plugin-utilities", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..623f4a91133 --- /dev/null +++ b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin" + } + ], + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-workspace-resolve-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/webpack-workspace-resolve-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..61302ca72e6 --- /dev/null +++ b/common/changes/@rushstack/webpack-workspace-resolve-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack-workspace-resolve-plugin" + } + ], + "packageName": "@rushstack/webpack-workspace-resolve-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack4-localization-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/webpack4-localization-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..c5d7cdffa66 --- /dev/null +++ b/common/changes/@rushstack/webpack4-localization-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack4-localization-plugin" + } + ], + "packageName": "@rushstack/webpack4-localization-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack4-module-minifier-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/webpack4-module-minifier-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..5197fc2ef25 --- /dev/null +++ b/common/changes/@rushstack/webpack4-module-minifier-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack4-module-minifier-plugin" + } + ], + "packageName": "@rushstack/webpack4-module-minifier-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack5-localization-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/webpack5-localization-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..ea6c4f790aa --- /dev/null +++ b/common/changes/@rushstack/webpack5-localization-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack5-localization-plugin" + } + ], + "packageName": "@rushstack/webpack5-localization-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack5-module-minifier-plugin/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/webpack5-module-minifier-plugin/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..150960dd0a1 --- /dev/null +++ b/common/changes/@rushstack/webpack5-module-minifier-plugin/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack5-module-minifier-plugin" + } + ], + "packageName": "@rushstack/webpack5-module-minifier-plugin", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/worker-pool/publish-api-artifact_2026-02-22-22-14.json b/common/changes/@rushstack/worker-pool/publish-api-artifact_2026-02-22-22-14.json new file mode 100644 index 00000000000..3785d25cb4e --- /dev/null +++ b/common/changes/@rushstack/worker-pool/publish-api-artifact_2026-02-22-22-14.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/worker-pool" + } + ], + "packageName": "@rushstack/worker-pool", + "email": "iclanton@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/config/azure-pipelines/npm-publish-rush.yaml b/common/config/azure-pipelines/npm-publish-rush.yaml index ee40eec3c8d..70727beb73d 100644 --- a/common/config/azure-pipelines/npm-publish-rush.yaml +++ b/common/config/azure-pipelines/npm-publish-rush.yaml @@ -42,6 +42,9 @@ extends: - output: pipelineArtifact targetPath: $(Build.ArtifactStagingDirectory)/packages artifactName: packages + - output: pipelineArtifact + targetPath: $(Build.ArtifactStagingDirectory)/api + artifactName: api steps: - checkout: self persistCredentials: true diff --git a/common/config/azure-pipelines/npm-publish.yaml b/common/config/azure-pipelines/npm-publish.yaml index dfb163c14b8..2b589c4a732 100644 --- a/common/config/azure-pipelines/npm-publish.yaml +++ b/common/config/azure-pipelines/npm-publish.yaml @@ -42,6 +42,9 @@ extends: - output: pipelineArtifact targetPath: $(Build.ArtifactStagingDirectory)/packages artifactName: packages + - output: pipelineArtifact + targetPath: $(Build.ArtifactStagingDirectory)/api + artifactName: api steps: - checkout: self persistCredentials: true diff --git a/common/config/azure-pipelines/templates/post-publish.yaml b/common/config/azure-pipelines/templates/post-publish.yaml index c25ab635df9..f8634ee0368 100644 --- a/common/config/azure-pipelines/templates/post-publish.yaml +++ b/common/config/azure-pipelines/templates/post-publish.yaml @@ -1,5 +1,7 @@ steps: - script: 'node repo-scripts/repo-toolbox/lib-commonjs/start.js record-versions --out-file $(Build.ArtifactStagingDirectory)/published-versions/published-versions.json' displayName: 'Record Published Versions' - - script: 'node repo-scripts/repo-toolbox/lib-commonjs/start.js collect-json-schemas --output-path $(Build.ArtifactStagingDirectory)/json-schemas' + - script: 'node repo-scripts/repo-toolbox/lib-commonjs/start.js collect-project-files --subfolder temp/json-schemas --output-path $(Build.ArtifactStagingDirectory)/json-schemas' displayName: 'Collect JSON Schemas' + - script: 'node repo-scripts/repo-toolbox/lib-commonjs/start.js collect-project-files --subfolder temp/api --output-path $(Build.ArtifactStagingDirectory)/api' + displayName: 'Collect API review files' diff --git a/heft-plugins/heft-isolated-typescript-transpile-plugin/config/api-extractor.json b/heft-plugins/heft-isolated-typescript-transpile-plugin/config/api-extractor.json index 05559c8de5e..5f6b2655ac8 100644 --- a/heft-plugins/heft-isolated-typescript-transpile-plugin/config/api-extractor.json +++ b/heft-plugins/heft-isolated-typescript-transpile-plugin/config/api-extractor.json @@ -1,14 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, "docModel": { "enabled": false }, + "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/heft-plugins/heft-rspack-plugin/config/api-extractor.json b/heft-plugins/heft-rspack-plugin/config/api-extractor.json index 05559c8de5e..5f6b2655ac8 100644 --- a/heft-plugins/heft-rspack-plugin/config/api-extractor.json +++ b/heft-plugins/heft-rspack-plugin/config/api-extractor.json @@ -1,14 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, "docModel": { "enabled": false }, + "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/heft-plugins/heft-typescript-plugin/config/api-extractor.json b/heft-plugins/heft-typescript-plugin/config/api-extractor.json index 05559c8de5e..a29dfe9491e 100644 --- a/heft-plugins/heft-typescript-plugin/config/api-extractor.json +++ b/heft-plugins/heft-typescript-plugin/config/api-extractor.json @@ -1,14 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, "docModel": { "enabled": false }, + "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/heft-plugins/heft-webpack4-plugin/config/api-extractor.json b/heft-plugins/heft-webpack4-plugin/config/api-extractor.json index 05559c8de5e..5f6b2655ac8 100644 --- a/heft-plugins/heft-webpack4-plugin/config/api-extractor.json +++ b/heft-plugins/heft-webpack4-plugin/config/api-extractor.json @@ -1,14 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, "docModel": { "enabled": false }, + "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/heft-plugins/heft-webpack5-plugin/config/api-extractor.json b/heft-plugins/heft-webpack5-plugin/config/api-extractor.json index 05559c8de5e..5f6b2655ac8 100644 --- a/heft-plugins/heft-webpack5-plugin/config/api-extractor.json +++ b/heft-plugins/heft-webpack5-plugin/config/api-extractor.json @@ -1,14 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, "docModel": { "enabled": false }, + "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/libraries/api-extractor-model/config/api-extractor.json b/libraries/api-extractor-model/config/api-extractor.json index 05c675a8601..bf6aa143c60 100644 --- a/libraries/api-extractor-model/config/api-extractor.json +++ b/libraries/api-extractor-model/config/api-extractor.json @@ -1,17 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json", "dtsRollup": { "enabled": true, diff --git a/libraries/credential-cache/config/api-extractor.json b/libraries/credential-cache/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/credential-cache/config/api-extractor.json +++ b/libraries/credential-cache/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/debug-certificate-manager/config/api-extractor.json b/libraries/debug-certificate-manager/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/debug-certificate-manager/config/api-extractor.json +++ b/libraries/debug-certificate-manager/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/heft-config-file/config/api-extractor.json b/libraries/heft-config-file/config/api-extractor.json index 1ddb4758d09..005e818a08b 100644 --- a/libraries/heft-config-file/config/api-extractor.json +++ b/libraries/heft-config-file/config/api-extractor.json @@ -1,15 +1,7 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/libraries/localization-utilities/config/api-extractor.json b/libraries/localization-utilities/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/localization-utilities/config/api-extractor.json +++ b/libraries/localization-utilities/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/lookup-by-path/config/api-extractor.json b/libraries/lookup-by-path/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/lookup-by-path/config/api-extractor.json +++ b/libraries/lookup-by-path/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/module-minifier/config/api-extractor.json b/libraries/module-minifier/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/module-minifier/config/api-extractor.json +++ b/libraries/module-minifier/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/node-core-library/config/api-extractor.json b/libraries/node-core-library/config/api-extractor.json index 1494cc8b1b1..7c99207b503 100644 --- a/libraries/node-core-library/config/api-extractor.json +++ b/libraries/node-core-library/config/api-extractor.json @@ -1,21 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - }, + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json", "bundledPackages": ["@rushstack/problem-matcher"] } diff --git a/libraries/operation-graph/config/api-extractor.json b/libraries/operation-graph/config/api-extractor.json index 5dbfda704f4..b53db1d0910 100644 --- a/libraries/operation-graph/config/api-extractor.json +++ b/libraries/operation-graph/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/package-deps-hash/config/api-extractor.json b/libraries/package-deps-hash/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/package-deps-hash/config/api-extractor.json +++ b/libraries/package-deps-hash/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/package-extractor/config/api-extractor.json b/libraries/package-extractor/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/package-extractor/config/api-extractor.json +++ b/libraries/package-extractor/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/problem-matcher/config/api-extractor.json b/libraries/problem-matcher/config/api-extractor.json index 5dbfda704f4..b53db1d0910 100644 --- a/libraries/problem-matcher/config/api-extractor.json +++ b/libraries/problem-matcher/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/rig-package/config/api-extractor.json b/libraries/rig-package/config/api-extractor.json index 5dbfda704f4..b53db1d0910 100644 --- a/libraries/rig-package/config/api-extractor.json +++ b/libraries/rig-package/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/rush-lib/config/api-extractor.json b/libraries/rush-lib/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/rush-lib/config/api-extractor.json +++ b/libraries/rush-lib/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/rush-pnpm-kit-v10/config/api-extractor.json b/libraries/rush-pnpm-kit-v10/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/rush-pnpm-kit-v10/config/api-extractor.json +++ b/libraries/rush-pnpm-kit-v10/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/rush-pnpm-kit-v8/config/api-extractor.json b/libraries/rush-pnpm-kit-v8/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/rush-pnpm-kit-v8/config/api-extractor.json +++ b/libraries/rush-pnpm-kit-v8/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/rush-pnpm-kit-v9/config/api-extractor.json b/libraries/rush-pnpm-kit-v9/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/rush-pnpm-kit-v9/config/api-extractor.json +++ b/libraries/rush-pnpm-kit-v9/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/rush-sdk/config/api-extractor.json b/libraries/rush-sdk/config/api-extractor.json index 545b27074b6..981641d969b 100644 --- a/libraries/rush-sdk/config/api-extractor.json +++ b/libraries/rush-sdk/config/api-extractor.json @@ -1,16 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "mainEntryPointFilePath": "/lib-intermediate-dts/loader.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" + "enabled": false }, "dtsRollup": { diff --git a/libraries/rush-themed-ui/config/api-extractor.json b/libraries/rush-themed-ui/config/api-extractor.json index 1cb6d1c00a1..ccf98d88f00 100644 --- a/libraries/rush-themed-ui/config/api-extractor.json +++ b/libraries/rush-themed-ui/config/api-extractor.json @@ -1,427 +1,8 @@ -/** - * Config file for API Extractor. For more info, please visit: https://api-extractor.com - */ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "local-web-rig/profiles/library/config/api-extractor-base.json", - /** - * Optionally specifies another JSON config file that this file extends from. This provides a way for - * standard settings to be shared across multiple projects. - * - * If the path starts with "./" or "../", the path is resolved relative to the folder of the file that contains - * the "extends" field. Otherwise, the first path segment is interpreted as an NPM package name, and will be - * resolved using NodeJS require(). - * - * SUPPORTED TOKENS: none - * DEFAULT VALUE: "" - */ - // "extends": "./shared/api-extractor-base.json" - // "extends": "my-package/include/api-extractor-base.json" - - /** - * Determines the "" token that can be used with other config file settings. The project folder - * typically contains the tsconfig.json and package.json config files, but the path is user-defined. - * - * The path is resolved relative to the folder of the config file that contains the setting. - * - * The default value for "projectFolder" is the token "", which means the folder is determined by traversing - * parent folders, starting from the folder containing api-extractor.json, and stopping at the first folder - * that contains a tsconfig.json file. If a tsconfig.json file cannot be found in this way, then an error - * will be reported. - * - * SUPPORTED TOKENS: - * DEFAULT VALUE: "" - */ - // "projectFolder": "..", - - /** - * (REQUIRED) Specifies the .d.ts file to be used as the starting point for analysis. API Extractor - * analyzes the symbols exported by this module. - * - * The file extension must be ".d.ts" and not ".ts". - * - * The path is resolved relative to the folder of the config file that contains the setting; to change this, - * prepend a folder token such as "". - * - * SUPPORTED TOKENS: , , - */ - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - /** - * A list of NPM package names whose exports should be treated as part of this package. - * - * For example, suppose that Webpack is used to generate a distributed bundle for the project "library1", - * and another NPM package "library2" is embedded in this bundle. Some types from library2 may become part - * of the exported API for library1, but by default API Extractor would generate a .d.ts rollup that explicitly - * imports library2. To avoid this, we can specify: - * - * "bundledPackages": [ "library2" ], - * - * 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": [], - - /** - * Specifies what type of newlines API Extractor should use when writing output files. By default, the output files - * will be written with Windows-style newlines. To use POSIX-style newlines, specify "lf" instead. - * To use the OS's default newline kind, specify "os". - * - * DEFAULT VALUE: "crlf" - */ - // "newlineKind": "crlf", - - /** - * Set to true when invoking API Extractor's test harness. When `testMode` is true, the `toolVersion` field in the - * .api.json file is assigned an empty string to prevent spurious diffs in output files tracked for tests. - * - * DEFAULT VALUE: "false" - */ - // "testMode": false, - - /** - * Specifies how API Extractor sorts members of an enum when generating the .api.json file. By default, the output - * files will be sorted alphabetically, which is "by-name". To keep the ordering in the source code, specify - * "preserve". - * - * DEFAULT VALUE: "by-name" - */ - // "enumMemberOrder": "by-name", - - /** - * Determines how the TypeScript compiler engine will be invoked by API Extractor. - */ - "compiler": { - /** - * Specifies the path to the tsconfig.json file to be used by API Extractor when analyzing the project. - * - * The path is resolved relative to the folder of the config file that contains the setting; to change this, - * prepend a folder token such as "". - * - * Note: This setting will be ignored if "overrideTsconfig" is used. - * - * SUPPORTED TOKENS: , , - * DEFAULT VALUE: "/tsconfig.json" - */ - // "tsconfigFilePath": "/tsconfig.json", - /** - * Provides a compiler configuration that will be used instead of reading the tsconfig.json file from disk. - * The object must conform to the TypeScript tsconfig schema: - * - * http://json.schemastore.org/tsconfig - * - * If omitted, then the tsconfig.json file will be read from the "projectFolder". - * - * DEFAULT VALUE: no overrideTsconfig section - */ - // "overrideTsconfig": { - // . . . - // } - /** - * This option causes the compiler to be invoked with the --skipLibCheck option. This option is not recommended - * and may cause API Extractor to produce incomplete or incorrect declarations, but it may be required when - * dependencies contain declarations that are incompatible with the TypeScript engine that API Extractor uses - * for its analysis. Where possible, the underlying issue should be fixed rather than relying on skipLibCheck. - * - * DEFAULT VALUE: false - */ - // "skipLibCheck": true, - }, - - /** - * Configures how the API report file (*.api.md) will be generated. - */ - "apiReport": { - /** - * (REQUIRED) Whether to generate an API report. - */ - "enabled": true, - - /** - * The filename for the API report files. It will be combined with "reportFolder" or "reportTempFolder" to produce - * a full file path. - * - * The file extension should be ".api.md", and the string should not contain a path separator such as "\" or "/". - * - * SUPPORTED TOKENS: , - * DEFAULT VALUE: ".api.md" - */ - // "reportFileName": ".api.md", - - /** - * Specifies the folder where the API report file is written. The file name portion is determined by - * the "reportFileName" setting. - * - * The API report file is normally tracked by Git. Changes to it can be used to trigger a branch policy, - * e.g. for an API review. - * - * The path is resolved relative to the folder of the config file that contains the setting; to change this, - * prepend a folder token such as "". - * - * SUPPORTED TOKENS: , , - * DEFAULT VALUE: "/temp/" - */ - "reportFolder": "../../../common/reviews/api" - - /** - * Specifies the folder where the temporary report file is written. The file name portion is determined by - * the "reportFileName" setting. - * - * After the temporary file is written to disk, it is compared with the file in the "reportFolder". - * If they are different, a production build will fail. - * - * The path is resolved relative to the folder of the config file that contains the setting; to change this, - * prepend a folder token such as "". - * - * SUPPORTED TOKENS: , , - * DEFAULT VALUE: "/temp/" - */ - // "reportTempFolder": "/temp/", - - /** - * Whether "forgotten exports" should be included in the API report file. Forgotten exports are declarations - * flagged with `ae-forgotten-export` warnings. See https://api-extractor.com/pages/messages/ae-forgotten-export/ to - * learn more. - * - * DEFAULT VALUE: "false" - */ - // "includeForgottenExports": false - }, - - /** - * Configures how the doc model file (*.api.json) will be generated. - */ "docModel": { - /** - * (REQUIRED) Whether to generate a doc model file. - */ "enabled": false - - /** - * The output path for the doc model file. The file extension should be ".api.json". - * - * The path is resolved relative to the folder of the config file that contains the setting; to change this, - * prepend a folder token such as "". - * - * SUPPORTED TOKENS: , , - * DEFAULT VALUE: "/temp/.api.json" - */ - // "apiJsonFilePath": "/temp/.api.json", - - /** - * Whether "forgotten exports" should be included in the doc model file. Forgotten exports are declarations - * flagged with `ae-forgotten-export` warnings. See https://api-extractor.com/pages/messages/ae-forgotten-export/ to - * learn more. - * - * DEFAULT VALUE: "false" - */ - // "includeForgottenExports": false, - - /** - * The base URL where the project's source code can be viewed on a website such as GitHub or - * Azure DevOps. This URL path corresponds to the `` path on disk. - * - * This URL is concatenated with the file paths serialized to the doc model to produce URL file paths to individual API items. - * For example, if the `projectFolderUrl` is "https://github.com/microsoft/rushstack/tree/main/apps/api-extractor" and an API - * item's file path is "api/ExtractorConfig.ts", the full URL file path would be - * "https://github.com/microsoft/rushstack/tree/main/apps/api-extractor/api/ExtractorConfig.js". - * - * Can be omitted if you don't need source code links in your API documentation reference. - * - * SUPPORTED TOKENS: none - * DEFAULT VALUE: "" - */ - // "projectFolderUrl": "http://github.com/path/to/your/projectFolder" - }, - - /** - * Configures how the .d.ts rollup file will be generated. - */ - "dtsRollup": { - /** - * (REQUIRED) Whether to generate the .d.ts rollup file. - */ - "enabled": true - - /** - * Specifies the output path for a .d.ts rollup file to be generated without any trimming. - * This file will include all declarations that are exported by the main entry point. - * - * If the path is an empty string, then this file will not be written. - * - * The path is resolved relative to the folder of the config file that contains the setting; to change this, - * prepend a folder token such as "". - * - * SUPPORTED TOKENS: , , - * DEFAULT VALUE: "/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. - * This file will include only declarations that are marked as "@public", "@beta", or "@alpha". - * - * The path is resolved relative to the folder of the config file that contains the setting; to change this, - * prepend a folder token such as "". - * - * SUPPORTED TOKENS: , , - * DEFAULT VALUE: "" - */ - // "alphaTrimmedFilePath": "/dist/-alpha.d.ts", - - /** - * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "beta" release. - * This file will include only declarations that are marked as "@public" or "@beta". - * - * The path is resolved relative to the folder of the config file that contains the setting; to change this, - * prepend a folder token such as "". - * - * SUPPORTED TOKENS: , , - * DEFAULT VALUE: "" - */ - // "betaTrimmedFilePath": "/dist/-beta.d.ts", - - /** - * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "public" release. - * This file will include only declarations that are marked as "@public". - * - * If the path is an empty string, then this file will not be written. - * - * The path is resolved relative to the folder of the config file that contains the setting; to change this, - * prepend a folder token such as "". - * - * SUPPORTED TOKENS: , , - * DEFAULT VALUE: "" - */ - // "publicTrimmedFilePath": "/dist/-public.d.ts", - - /** - * When a declaration is trimmed, by default it will be replaced by a code comment such as - * "Excluded from this release type: exampleMember". Set "omitTrimmingComments" to true to remove the - * declaration completely. - * - * DEFAULT VALUE: false - */ - // "omitTrimmingComments": true - }, - - /** - * Configures how the tsdoc-metadata.json file will be generated. - */ - "tsdocMetadata": { - /** - * Whether to generate the tsdoc-metadata.json file. - * - * DEFAULT VALUE: true - */ - // "enabled": true, - /** - * Specifies where the TSDoc metadata file should be written. - * - * The path is resolved relative to the folder of the config file that contains the setting; to change this, - * prepend a folder token such as "". - * - * The default value is "", which causes the path to be automatically inferred from the "tsdocMetadata", - * "typings" or "main" fields of the project's package.json. If none of these fields are set, the lookup - * falls back to "tsdoc-metadata.json" in the package folder. - * - * SUPPORTED TOKENS: , , - * DEFAULT VALUE: "" - */ - // "tsdocMetadataFilePath": "/dist/tsdoc-metadata.json" - }, - - /** - * Configures how API Extractor reports error and warning messages produced during analysis. - * - * There are three sources of messages: compiler messages, API Extractor messages, and TSDoc messages. - */ - "messages": { - /** - * Configures handling of diagnostic messages reported by the TypeScript compiler engine while analyzing - * the input .d.ts files. - * - * TypeScript message identifiers start with "TS" followed by an integer. For example: "TS2551" - * - * DEFAULT VALUE: A single "default" entry with logLevel=warning. - */ - "compilerMessageReporting": { - /** - * Configures the default routing for messages that don't match an explicit rule in this table. - */ - "default": { - /** - * Specifies whether the message should be written to the the tool's output log. Note that - * the "addToApiReportFile" property may supersede this option. - * - * Possible values: "error", "warning", "none" - * - * Errors cause the build to fail and return a nonzero exit code. Warnings cause a production build fail - * and return a nonzero exit code. For a non-production build (e.g. when "api-extractor run" includes - * the "--local" option), the warning is displayed but the build will not fail. - * - * DEFAULT VALUE: "warning" - */ - "logLevel": "warning" - - /** - * When addToApiReportFile is true: If API Extractor is configured to write an API report file (.api.md), - * then the message will be written inside that file; otherwise, the message is instead logged according to - * the "logLevel" option. - * - * DEFAULT VALUE: false - */ - // "addToApiReportFile": false - } - - // "TS2551": { - // "logLevel": "warning", - // "addToApiReportFile": true - // }, - // - // . . . - }, - - /** - * Configures handling of messages reported by API Extractor during its analysis. - * - * API Extractor message identifiers start with "ae-". For example: "ae-extra-release-tag" - * - * DEFAULT VALUE: See api-extractor-defaults.json for the complete table of extractorMessageReporting mappings - */ - "extractorMessageReporting": { - "default": { - "logLevel": "warning" - // "addToApiReportFile": false - } - - // "ae-extra-release-tag": { - // "logLevel": "warning", - // "addToApiReportFile": true - // }, - // - // . . . - }, - - /** - * Configures handling of messages reported by the TSDoc parser when analyzing code comments. - * - * TSDoc message identifiers start with "tsdoc-". For example: "tsdoc-link-tag-unescaped-text" - * - * DEFAULT VALUE: A single "default" entry with logLevel=warning. - */ - "tsdocMessageReporting": { - "default": { - "logLevel": "warning" - // "addToApiReportFile": false - } - - // "tsdoc-link-tag-unescaped-text": { - // "logLevel": "warning", - // "addToApiReportFile": true - // }, - // - // . . . - } } } diff --git a/libraries/rushell/config/api-extractor.json b/libraries/rushell/config/api-extractor.json index 4ec2e429995..3dbb76c0e6f 100644 --- a/libraries/rushell/config/api-extractor.json +++ b/libraries/rushell/config/api-extractor.json @@ -1,18 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/stream-collator/config/api-extractor.json b/libraries/stream-collator/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/stream-collator/config/api-extractor.json +++ b/libraries/stream-collator/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/terminal/config/api-extractor.json b/libraries/terminal/config/api-extractor.json index 5dbfda704f4..b53db1d0910 100644 --- a/libraries/terminal/config/api-extractor.json +++ b/libraries/terminal/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/tree-pattern/config/api-extractor.json b/libraries/tree-pattern/config/api-extractor.json index 5dbfda704f4..b53db1d0910 100644 --- a/libraries/tree-pattern/config/api-extractor.json +++ b/libraries/tree-pattern/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/ts-command-line/config/api-extractor.json b/libraries/ts-command-line/config/api-extractor.json index d96b3e7a9a7..984096ad10d 100644 --- a/libraries/ts-command-line/config/api-extractor.json +++ b/libraries/ts-command-line/config/api-extractor.json @@ -1,17 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, + "extends": "decoupled-local-node-rig/profiles/default/config/api-extractor-base.json", "dtsRollup": { "enabled": true, diff --git a/libraries/typings-generator/config/api-extractor.json b/libraries/typings-generator/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/typings-generator/config/api-extractor.json +++ b/libraries/typings-generator/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/libraries/worker-pool/config/api-extractor.json b/libraries/worker-pool/config/api-extractor.json index 5dbfda704f4..3dbb76c0e6f 100644 --- a/libraries/worker-pool/config/api-extractor.json +++ b/libraries/worker-pool/config/api-extractor.json @@ -1,19 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true - } + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json" } diff --git a/repo-scripts/repo-toolbox/src/cli/ToolboxCommandLine.ts b/repo-scripts/repo-toolbox/src/cli/ToolboxCommandLine.ts index aeadc6150cc..bf98ea120da 100644 --- a/repo-scripts/repo-toolbox/src/cli/ToolboxCommandLine.ts +++ b/repo-scripts/repo-toolbox/src/cli/ToolboxCommandLine.ts @@ -7,7 +7,7 @@ import { ConsoleTerminalProvider, type ITerminal, Terminal } from '@rushstack/te import { ReadmeAction } from './actions/ReadmeAction'; import { RecordVersionsAction } from './actions/RecordVersionsAction'; import { BumpDecoupledLocalDependencies } from './actions/BumpDecoupledLocalDependencies'; -import { CollectJsonSchemasAction } from './actions/CollectJsonSchemasAction'; +import { CollectProjectFilesAction } from './actions/CollectProjectFilesAction'; export class ToolboxCommandLine extends CommandLineParser { public constructor() { @@ -21,6 +21,6 @@ export class ToolboxCommandLine extends CommandLineParser { this.addAction(new ReadmeAction(terminal)); this.addAction(new RecordVersionsAction(terminal)); this.addAction(new BumpDecoupledLocalDependencies(terminal)); - this.addAction(new CollectJsonSchemasAction(terminal)); + this.addAction(new CollectProjectFilesAction(terminal)); } } diff --git a/repo-scripts/repo-toolbox/src/cli/actions/CollectJsonSchemasAction.ts b/repo-scripts/repo-toolbox/src/cli/actions/CollectProjectFilesAction.ts similarity index 64% rename from repo-scripts/repo-toolbox/src/cli/actions/CollectJsonSchemasAction.ts rename to repo-scripts/repo-toolbox/src/cli/actions/CollectProjectFilesAction.ts index cdf38cb377a..3ca761c423c 100644 --- a/repo-scripts/repo-toolbox/src/cli/actions/CollectJsonSchemasAction.ts +++ b/repo-scripts/repo-toolbox/src/cli/actions/CollectProjectFilesAction.ts @@ -45,23 +45,33 @@ async function* _getFolderItemsRecursiveAsync( } } -export class CollectJsonSchemasAction extends CommandLineAction { +export class CollectProjectFilesAction extends CommandLineAction { private readonly _outputPathParameter: IRequiredCommandLineStringParameter; + private readonly _subfolderParameter: IRequiredCommandLineStringParameter; private readonly _terminal: ITerminal; public constructor(terminal: ITerminal) { super({ - actionName: 'collect-json-schemas', - summary: 'Generates JSON schema files based on rush.json inventory', - documentation: "Use this to update the repo's JSON schema files" + actionName: 'collect-project-files', + summary: 'Collects files from a subfolder of each project into a single output directory', + documentation: + 'Iterates over all Rush projects, collects files from the specified subfolder,' + + ' deduplicates by relative path and content, and writes them to the output directory.' }); this._terminal = terminal; + this._subfolderParameter = this.defineStringParameter({ + parameterLongName: '--subfolder', + description: 'The subfolder within each project to collect files from (e.g. "temp/json-schemas").', + argumentName: 'SUBFOLDER', + required: true + }); + this._outputPathParameter = this.defineStringParameter({ parameterLongName: '--output-path', - description: 'Path to the output directory for the generated JSON schema files.', + description: 'Path to the output directory for the collected files.', argumentName: 'PATH', required: true }); @@ -71,6 +81,7 @@ export class CollectJsonSchemasAction extends CommandLineAction { const terminal: ITerminal = this._terminal; const rushConfiguration: RushConfiguration = RushConfiguration.loadFromDefaultLocation(); + const subfolder: string = this._subfolderParameter.value; const outputPath: string = path.resolve(this._outputPathParameter.value); const contentByAbsolutePathByRelativePath: Map> = new Map(); @@ -78,26 +89,30 @@ export class CollectJsonSchemasAction extends CommandLineAction { await Async.forEachAsync( rushConfiguration.projects, async ({ projectFolder }: RushConfigurationProject) => { - const schemaFiles: AsyncIterable = _getFolderItemsRecursiveAsync( - `${projectFolder}/temp/json-schemas`, + const files: AsyncIterable = _getFolderItemsRecursiveAsync( + `${projectFolder}/${subfolder}`, '' ); - await Async.forEachAsync(schemaFiles, async ({ absolutePath, relativePath, content }) => { - let contentByAbsolutePath: Map | undefined = - contentByAbsolutePathByRelativePath.get(relativePath); - if (!contentByAbsolutePath) { - contentByAbsolutePath = new Map(); - contentByAbsolutePathByRelativePath.set(relativePath, contentByAbsolutePath); - } - - let absolutePaths: string[] | undefined = contentByAbsolutePath.get(content); - if (!absolutePaths) { - absolutePaths = []; - contentByAbsolutePath.set(content, absolutePaths); - } - - absolutePaths.push(absolutePath); - }, { concurrency: 5 }); + await Async.forEachAsync( + files, + async ({ absolutePath, relativePath, content }) => { + let contentByAbsolutePath: Map | undefined = + contentByAbsolutePathByRelativePath.get(relativePath); + if (!contentByAbsolutePath) { + contentByAbsolutePath = new Map(); + contentByAbsolutePathByRelativePath.set(relativePath, contentByAbsolutePath); + } + + let absolutePaths: string[] | undefined = contentByAbsolutePath.get(content); + if (!absolutePaths) { + absolutePaths = []; + contentByAbsolutePath.set(content, absolutePaths); + } + + absolutePaths.push(absolutePath); + }, + { concurrency: 5 } + ); }, { concurrency: 5 } ); @@ -109,7 +124,7 @@ export class CollectJsonSchemasAction extends CommandLineAction { encounteredCollisions = true; terminal.writeErrorLine( - `Multiple projects generated different contents for the JSON schema "${relativePath}":` + `Multiple projects generated different contents for "${relativePath}" in "${subfolder}":` ); for (const absolutePaths of contentByAbsolutePath.values()) { diff --git a/rigs/decoupled-local-node-rig/profiles/default/config/api-extractor-base.json b/rigs/decoupled-local-node-rig/profiles/default/config/api-extractor-base.json new file mode 100644 index 00000000000..10c5e90d1c4 --- /dev/null +++ b/rigs/decoupled-local-node-rig/profiles/default/config/api-extractor-base.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + + "mainEntryPointFilePath": "/lib-dts/index.d.ts", + + "apiReport": { + "enabled": true, + "reportFolder": "/../../common/reviews/api" + }, + + "docModel": { + "enabled": true, + "apiJsonFilePath": "/temp/api/.api.json" + }, + + "dtsRollup": { + "enabled": true + } +} diff --git a/rigs/local-node-rig/profiles/default/config/api-extractor-base.json b/rigs/local-node-rig/profiles/default/config/api-extractor-base.json new file mode 100644 index 00000000000..10c5e90d1c4 --- /dev/null +++ b/rigs/local-node-rig/profiles/default/config/api-extractor-base.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + + "mainEntryPointFilePath": "/lib-dts/index.d.ts", + + "apiReport": { + "enabled": true, + "reportFolder": "/../../common/reviews/api" + }, + + "docModel": { + "enabled": true, + "apiJsonFilePath": "/temp/api/.api.json" + }, + + "dtsRollup": { + "enabled": true + } +} diff --git a/rigs/local-web-rig/profiles/library/config/api-extractor-base.json b/rigs/local-web-rig/profiles/library/config/api-extractor-base.json new file mode 100644 index 00000000000..10c5e90d1c4 --- /dev/null +++ b/rigs/local-web-rig/profiles/library/config/api-extractor-base.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + + "mainEntryPointFilePath": "/lib-dts/index.d.ts", + + "apiReport": { + "enabled": true, + "reportFolder": "/../../common/reviews/api" + }, + + "docModel": { + "enabled": true, + "apiJsonFilePath": "/temp/api/.api.json" + }, + + "dtsRollup": { + "enabled": true + } +} diff --git a/rush-plugins/rush-amazon-s3-build-cache-plugin/config/api-extractor.json b/rush-plugins/rush-amazon-s3-build-cache-plugin/config/api-extractor.json index 05559c8de5e..5f6b2655ac8 100644 --- a/rush-plugins/rush-amazon-s3-build-cache-plugin/config/api-extractor.json +++ b/rush-plugins/rush-amazon-s3-build-cache-plugin/config/api-extractor.json @@ -1,14 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, "docModel": { "enabled": false }, + "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/rush-plugins/rush-azure-storage-build-cache-plugin/config/api-extractor.json b/rush-plugins/rush-azure-storage-build-cache-plugin/config/api-extractor.json index 05559c8de5e..5f6b2655ac8 100644 --- a/rush-plugins/rush-azure-storage-build-cache-plugin/config/api-extractor.json +++ b/rush-plugins/rush-azure-storage-build-cache-plugin/config/api-extractor.json @@ -1,14 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, "docModel": { "enabled": false }, + "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/rush-plugins/rush-buildxl-graph-plugin/config/api-extractor.json b/rush-plugins/rush-buildxl-graph-plugin/config/api-extractor.json index 05559c8de5e..5f6b2655ac8 100644 --- a/rush-plugins/rush-buildxl-graph-plugin/config/api-extractor.json +++ b/rush-plugins/rush-buildxl-graph-plugin/config/api-extractor.json @@ -1,14 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, "docModel": { "enabled": false }, + "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/rush-plugins/rush-redis-cobuild-plugin/config/api-extractor.json b/rush-plugins/rush-redis-cobuild-plugin/config/api-extractor.json index 05559c8de5e..5f6b2655ac8 100644 --- a/rush-plugins/rush-redis-cobuild-plugin/config/api-extractor.json +++ b/rush-plugins/rush-redis-cobuild-plugin/config/api-extractor.json @@ -1,14 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, "docModel": { "enabled": false }, + "dtsRollup": { "enabled": true, "betaTrimmedFilePath": "/dist/.d.ts" diff --git a/rush-plugins/rush-resolver-cache-plugin/config/api-extractor.json b/rush-plugins/rush-resolver-cache-plugin/config/api-extractor.json index 1d56fc29ae1..7fb68e06435 100644 --- a/rush-plugins/rush-resolver-cache-plugin/config/api-extractor.json +++ b/rush-plugins/rush-resolver-cache-plugin/config/api-extractor.json @@ -1,19 +1,8 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true + "enabled": false } } diff --git a/rush-plugins/rush-serve-plugin/config/api-extractor.json b/rush-plugins/rush-serve-plugin/config/api-extractor.json index 1d56fc29ae1..7fb68e06435 100644 --- a/rush-plugins/rush-serve-plugin/config/api-extractor.json +++ b/rush-plugins/rush-serve-plugin/config/api-extractor.json @@ -1,19 +1,8 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true + "enabled": false } } diff --git a/webpack/hashed-folder-copy-plugin/config/api-extractor.json b/webpack/hashed-folder-copy-plugin/config/api-extractor.json index 1d56fc29ae1..7fb68e06435 100644 --- a/webpack/hashed-folder-copy-plugin/config/api-extractor.json +++ b/webpack/hashed-folder-copy-plugin/config/api-extractor.json @@ -1,19 +1,8 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true + "enabled": false } } diff --git a/webpack/loader-load-themed-styles/config/api-extractor.json b/webpack/loader-load-themed-styles/config/api-extractor.json index c1ce1e4d743..ca175c32c05 100644 --- a/webpack/loader-load-themed-styles/config/api-extractor.json +++ b/webpack/loader-load-themed-styles/config/api-extractor.json @@ -1,16 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "dtsRollup": { "enabled": false diff --git a/webpack/preserve-dynamic-require-plugin/config/api-extractor.json b/webpack/preserve-dynamic-require-plugin/config/api-extractor.json index 1d56fc29ae1..7fb68e06435 100644 --- a/webpack/preserve-dynamic-require-plugin/config/api-extractor.json +++ b/webpack/preserve-dynamic-require-plugin/config/api-extractor.json @@ -1,19 +1,8 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true + "enabled": false } } diff --git a/webpack/set-webpack-public-path-plugin/config/api-extractor.json b/webpack/set-webpack-public-path-plugin/config/api-extractor.json index f18620460f8..9eee6fa64d3 100644 --- a/webpack/set-webpack-public-path-plugin/config/api-extractor.json +++ b/webpack/set-webpack-public-path-plugin/config/api-extractor.json @@ -1,16 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "dtsRollup": { "enabled": true, diff --git a/webpack/webpack-deep-imports-plugin/config/api-extractor.json b/webpack/webpack-deep-imports-plugin/config/api-extractor.json index 1d56fc29ae1..7fb68e06435 100644 --- a/webpack/webpack-deep-imports-plugin/config/api-extractor.json +++ b/webpack/webpack-deep-imports-plugin/config/api-extractor.json @@ -1,19 +1,8 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true + "enabled": false } } diff --git a/webpack/webpack-embedded-dependencies-plugin/config/api-extractor.json b/webpack/webpack-embedded-dependencies-plugin/config/api-extractor.json index f18620460f8..9eee6fa64d3 100644 --- a/webpack/webpack-embedded-dependencies-plugin/config/api-extractor.json +++ b/webpack/webpack-embedded-dependencies-plugin/config/api-extractor.json @@ -1,16 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "dtsRollup": { "enabled": true, diff --git a/webpack/webpack-plugin-utilities/config/api-extractor.json b/webpack/webpack-plugin-utilities/config/api-extractor.json index f18620460f8..9eee6fa64d3 100644 --- a/webpack/webpack-plugin-utilities/config/api-extractor.json +++ b/webpack/webpack-plugin-utilities/config/api-extractor.json @@ -1,16 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "dtsRollup": { "enabled": true, diff --git a/webpack/webpack-workspace-resolve-plugin/config/api-extractor.json b/webpack/webpack-workspace-resolve-plugin/config/api-extractor.json index 1d56fc29ae1..7fb68e06435 100644 --- a/webpack/webpack-workspace-resolve-plugin/config/api-extractor.json +++ b/webpack/webpack-workspace-resolve-plugin/config/api-extractor.json @@ -1,19 +1,8 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true + "enabled": false } } diff --git a/webpack/webpack4-localization-plugin/config/api-extractor.json b/webpack/webpack4-localization-plugin/config/api-extractor.json index 1d56fc29ae1..7fb68e06435 100644 --- a/webpack/webpack4-localization-plugin/config/api-extractor.json +++ b/webpack/webpack4-localization-plugin/config/api-extractor.json @@ -1,19 +1,8 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true + "enabled": false } } diff --git a/webpack/webpack4-module-minifier-plugin/config/api-extractor.json b/webpack/webpack4-module-minifier-plugin/config/api-extractor.json index 1d56fc29ae1..7fb68e06435 100644 --- a/webpack/webpack4-module-minifier-plugin/config/api-extractor.json +++ b/webpack/webpack4-module-minifier-plugin/config/api-extractor.json @@ -1,19 +1,8 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true + "enabled": false } } diff --git a/webpack/webpack5-load-themed-styles-loader/config/api-extractor.json b/webpack/webpack5-load-themed-styles-loader/config/api-extractor.json index c1ce1e4d743..ca175c32c05 100644 --- a/webpack/webpack5-load-themed-styles-loader/config/api-extractor.json +++ b/webpack/webpack5-load-themed-styles-loader/config/api-extractor.json @@ -1,16 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, - - "docModel": { - "enabled": true - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "dtsRollup": { "enabled": false diff --git a/webpack/webpack5-localization-plugin/config/api-extractor.json b/webpack/webpack5-localization-plugin/config/api-extractor.json index 1d56fc29ae1..7fb68e06435 100644 --- a/webpack/webpack5-localization-plugin/config/api-extractor.json +++ b/webpack/webpack5-localization-plugin/config/api-extractor.json @@ -1,19 +1,8 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true + "enabled": false } } diff --git a/webpack/webpack5-module-minifier-plugin/config/api-extractor.json b/webpack/webpack5-module-minifier-plugin/config/api-extractor.json index 1d56fc29ae1..7fb68e06435 100644 --- a/webpack/webpack5-module-minifier-plugin/config/api-extractor.json +++ b/webpack/webpack5-module-minifier-plugin/config/api-extractor.json @@ -1,19 +1,8 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - - "mainEntryPointFilePath": "/lib-dts/index.d.ts", - - "apiReport": { - "enabled": true, - "reportFolder": "../../../common/reviews/api" - }, + "extends": "local-node-rig/profiles/default/config/api-extractor-base.json", "docModel": { - "enabled": false, - "apiJsonFilePath": "../../../common/temp/api/.api.json" - }, - - "dtsRollup": { - "enabled": true + "enabled": false } }