diff --git a/apps/api-documenter/package.json b/apps/api-documenter/package.json index c1eed408d5..46f6c7ed69 100644 --- a/apps/api-documenter/package.json +++ b/apps/api-documenter/package.json @@ -15,6 +15,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "bin": { diff --git a/apps/api-extractor/package.json b/apps/api-extractor/package.json index 264ee6d9d8..d02a85a97c 100644 --- a/apps/api-extractor/package.json +++ b/apps/api-extractor/package.json @@ -62,6 +62,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/apps/cpu-profile-summarizer/package.json b/apps/cpu-profile-summarizer/package.json index a463bfb3a1..c395ff6b46 100644 --- a/apps/cpu-profile-summarizer/package.json +++ b/apps/cpu-profile-summarizer/package.json @@ -18,6 +18,7 @@ "start": "node lib/start", "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/apps/heft/package.json b/apps/heft/package.json index d618cb9ce6..83590f0889 100644 --- a/apps/heft/package.json +++ b/apps/heft/package.json @@ -56,6 +56,7 @@ "build": "heft build --clean", "start": "heft build-watch --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/apps/lockfile-explorer/package.json b/apps/lockfile-explorer/package.json index 26370fec47..0e5320ed22 100644 --- a/apps/lockfile-explorer/package.json +++ b/apps/lockfile-explorer/package.json @@ -39,6 +39,7 @@ "serve": "node ./lib-commonjs/start-explorer.js --debug", "test": "heft test", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/apps/playwright-browser-tunnel/package.json b/apps/playwright-browser-tunnel/package.json index 4ce808f19b..b24be61ec4 100644 --- a/apps/playwright-browser-tunnel/package.json +++ b/apps/playwright-browser-tunnel/package.json @@ -41,6 +41,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "demo": "playwright test --config=playwright.config.ts" }, "dependencies": { diff --git a/apps/rundown/package.json b/apps/rundown/package.json index d571b069c4..647cf1fd01 100644 --- a/apps/rundown/package.json +++ b/apps/rundown/package.json @@ -14,7 +14,8 @@ "homepage": "https://rushstack.io", "scripts": { "build": "heft build --clean", - "_phase:build": "heft run --only build -- --clean" + "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack" }, "bin": { "rundown": "./bin/rundown" diff --git a/apps/rush-mcp-server/package.json b/apps/rush-mcp-server/package.json index fde30041e8..b1f0b5715e 100644 --- a/apps/rush-mcp-server/package.json +++ b/apps/rush-mcp-server/package.json @@ -47,7 +47,8 @@ "homepage": "https://rushstack.io", "scripts": { "build": "heft build --clean", - "_phase:build": "heft run --only build -- --clean" + "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack" }, "bin": { "mcp-server": "./bin/mcp-server" diff --git a/apps/rush/package.json b/apps/rush/package.json index 06fbc788df..9074cf6c9f 100644 --- a/apps/rush/package.json +++ b/apps/rush/package.json @@ -27,6 +27,7 @@ "build": "heft build --clean", "start": "node lib/start-dev-docs.js", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "bin": { diff --git a/apps/trace-import/package.json b/apps/trace-import/package.json index c1578d199f..ea184a5fe2 100644 --- a/apps/trace-import/package.json +++ b/apps/trace-import/package.json @@ -18,6 +18,7 @@ "start": "node lib/start", "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/apps/zipsync/package.json b/apps/zipsync/package.json index d0ba4e0b92..312ad9f2af 100644 --- a/apps/zipsync/package.json +++ b/apps/zipsync/package.json @@ -18,6 +18,7 @@ "start": "node lib/start", "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/common/changes/@microsoft/api-documenter/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json b/common/changes/@microsoft/api-documenter/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json new file mode 100644 index 0000000000..97858bb295 --- /dev/null +++ b/common/changes/@microsoft/api-documenter/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/api-documenter" + } + ], + "packageName": "@microsoft/api-documenter", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@microsoft/api-extractor-model/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json b/common/changes/@microsoft/api-extractor-model/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json new file mode 100644 index 0000000000..ed19098e6c --- /dev/null +++ b/common/changes/@microsoft/api-extractor-model/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/api-extractor-model" + } + ], + "packageName": "@microsoft/api-extractor-model", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@microsoft/api-extractor/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json b/common/changes/@microsoft/api-extractor/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json new file mode 100644 index 0000000000..c3ea4eadf1 --- /dev/null +++ b/common/changes/@microsoft/api-extractor/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/api-extractor" + } + ], + "packageName": "@microsoft/api-extractor", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@microsoft/load-themed-styles/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json b/common/changes/@microsoft/load-themed-styles/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json new file mode 100644 index 0000000000..ee4bbd1d53 --- /dev/null +++ b/common/changes/@microsoft/load-themed-styles/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/load-themed-styles" + } + ], + "packageName": "@microsoft/load-themed-styles", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@microsoft/loader-load-themed-styles/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json b/common/changes/@microsoft/loader-load-themed-styles/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json new file mode 100644 index 0000000000..fc9609bf71 --- /dev/null +++ b/common/changes/@microsoft/loader-load-themed-styles/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-55.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/loader-load-themed-styles" + } + ], + "packageName": "@microsoft/loader-load-themed-styles", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@microsoft/rush/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@microsoft/rush/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..a4e9a181a5 --- /dev/null +++ b/common/changes/@microsoft/rush/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@microsoft/rush" + } + ], + "packageName": "@microsoft/rush", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/cpu-profile-summarizer/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@rushstack/cpu-profile-summarizer/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..9bf0008da3 --- /dev/null +++ b/common/changes/@rushstack/cpu-profile-summarizer/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/cpu-profile-summarizer" + } + ], + "packageName": "@rushstack/cpu-profile-summarizer", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/eslint-bulk/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json b/common/changes/@rushstack/eslint-bulk/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json new file mode 100644 index 0000000000..bfaf07c6ba --- /dev/null +++ b/common/changes/@rushstack/eslint-bulk/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/eslint-bulk" + } + ], + "packageName": "@rushstack/eslint-bulk", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/eslint-config/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json b/common/changes/@rushstack/eslint-config/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json new file mode 100644 index 0000000000..01f6fd829e --- /dev/null +++ b/common/changes/@rushstack/eslint-config/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/eslint-config" + } + ], + "packageName": "@rushstack/eslint-config", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/hashed-folder-copy-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json b/common/changes/@rushstack/hashed-folder-copy-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json new file mode 100644 index 0000000000..ff18c3381d --- /dev/null +++ b/common/changes/@rushstack/hashed-folder-copy-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-35.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/hashed-folder-copy-plugin" + } + ], + "packageName": "@rushstack/hashed-folder-copy-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/loader-raw-script/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/loader-raw-script/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..4ce5ef31ad --- /dev/null +++ b/common/changes/@rushstack/loader-raw-script/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/loader-raw-script" + } + ], + "packageName": "@rushstack/loader-raw-script", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/localization-utilities/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/localization-utilities/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..c392df8a74 --- /dev/null +++ b/common/changes/@rushstack/localization-utilities/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/localization-utilities" + } + ], + "packageName": "@rushstack/localization-utilities", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/lockfile-explorer/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@rushstack/lockfile-explorer/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..35e3ab788e --- /dev/null +++ b/common/changes/@rushstack/lockfile-explorer/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/lockfile-explorer" + } + ], + "packageName": "@rushstack/lockfile-explorer", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/mcp-server/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@rushstack/mcp-server/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..37e0f328f7 --- /dev/null +++ b/common/changes/@rushstack/mcp-server/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/mcp-server" + } + ], + "packageName": "@rushstack/mcp-server", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/package-deps-hash/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/package-deps-hash/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..79b715694d --- /dev/null +++ b/common/changes/@rushstack/package-deps-hash/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/package-deps-hash" + } + ], + "packageName": "@rushstack/package-deps-hash", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/playwright-browser-tunnel/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@rushstack/playwright-browser-tunnel/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..4493a150f9 --- /dev/null +++ b/common/changes/@rushstack/playwright-browser-tunnel/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/playwright-browser-tunnel" + } + ], + "packageName": "@rushstack/playwright-browser-tunnel", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rundown/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@rushstack/rundown/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..0b476587ac --- /dev/null +++ b/common/changes/@rushstack/rundown/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rundown" + } + ], + "packageName": "@rushstack/rundown", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-daemon-protocol/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/rush-daemon-protocol/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..76327d1fd2 --- /dev/null +++ b/common/changes/@rushstack/rush-daemon-protocol/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-daemon-protocol" + } + ], + "packageName": "@rushstack/rush-daemon-protocol", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-daemon-transport/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@rushstack/rush-daemon-transport/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..a42fa29add --- /dev/null +++ b/common/changes/@rushstack/rush-daemon-transport/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-daemon-transport" + } + ], + "packageName": "@rushstack/rush-daemon-transport", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-daemon/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@rushstack/rush-daemon/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..aa175d6995 --- /dev/null +++ b/common/changes/@rushstack/rush-daemon/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-daemon" + } + ], + "packageName": "@rushstack/rush-daemon", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-mcp-docs-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/rush-mcp-docs-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..11083a3ba5 --- /dev/null +++ b/common/changes/@rushstack/rush-mcp-docs-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-mcp-docs-plugin" + } + ], + "packageName": "@rushstack/rush-mcp-docs-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-pnpm-kit-v10/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/rush-pnpm-kit-v10/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..905afae183 --- /dev/null +++ b/common/changes/@rushstack/rush-pnpm-kit-v10/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-pnpm-kit-v10" + } + ], + "packageName": "@rushstack/rush-pnpm-kit-v10", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-pnpm-kit-v8/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/rush-pnpm-kit-v8/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..30bc9e35e7 --- /dev/null +++ b/common/changes/@rushstack/rush-pnpm-kit-v8/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-pnpm-kit-v8" + } + ], + "packageName": "@rushstack/rush-pnpm-kit-v8", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-pnpm-kit-v9/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/rush-pnpm-kit-v9/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..50ed216acd --- /dev/null +++ b/common/changes/@rushstack/rush-pnpm-kit-v9/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-pnpm-kit-v9" + } + ], + "packageName": "@rushstack/rush-pnpm-kit-v9", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-published-versions-json-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/rush-published-versions-json-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..537171c848 --- /dev/null +++ b/common/changes/@rushstack/rush-published-versions-json-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-published-versions-json-plugin" + } + ], + "packageName": "@rushstack/rush-published-versions-json-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-reporter/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/rush-reporter/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..73b9444dfa --- /dev/null +++ b/common/changes/@rushstack/rush-reporter/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-reporter" + } + ], + "packageName": "@rushstack/rush-reporter", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/rush-terminal-renderer/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@rushstack/rush-terminal-renderer/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..839fd9b611 --- /dev/null +++ b/common/changes/@rushstack/rush-terminal-renderer/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/rush-terminal-renderer" + } + ], + "packageName": "@rushstack/rush-terminal-renderer", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/set-webpack-public-path-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/set-webpack-public-path-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..c0cdc16b5b --- /dev/null +++ b/common/changes/@rushstack/set-webpack-public-path-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/set-webpack-public-path-plugin" + } + ], + "packageName": "@rushstack/set-webpack-public-path-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/trace-import/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@rushstack/trace-import/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..06e75e8ca5 --- /dev/null +++ b/common/changes/@rushstack/trace-import/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/trace-import" + } + ], + "packageName": "@rushstack/trace-import", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-embedded-dependencies-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/webpack-embedded-dependencies-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..0b23ca6c25 --- /dev/null +++ b/common/changes/@rushstack/webpack-embedded-dependencies-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack-embedded-dependencies-plugin" + } + ], + "packageName": "@rushstack/webpack-embedded-dependencies-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-plugin-utilities/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/webpack-plugin-utilities/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..2d64b8bfab --- /dev/null +++ b/common/changes/@rushstack/webpack-plugin-utilities/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack-plugin-utilities" + } + ], + "packageName": "@rushstack/webpack-plugin-utilities", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..a4665718c6 --- /dev/null +++ b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin" + } + ], + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-workspace-resolve-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/webpack-workspace-resolve-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..700321e1ad --- /dev/null +++ b/common/changes/@rushstack/webpack-workspace-resolve-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack-workspace-resolve-plugin" + } + ], + "packageName": "@rushstack/webpack-workspace-resolve-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack4-localization-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/webpack4-localization-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..c575fb92f0 --- /dev/null +++ b/common/changes/@rushstack/webpack4-localization-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack4-localization-plugin" + } + ], + "packageName": "@rushstack/webpack4-localization-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack4-module-minifier-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/webpack4-module-minifier-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..da0c5b5011 --- /dev/null +++ b/common/changes/@rushstack/webpack4-module-minifier-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack4-module-minifier-plugin" + } + ], + "packageName": "@rushstack/webpack4-module-minifier-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack5-localization-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/webpack5-localization-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..b0246017bf --- /dev/null +++ b/common/changes/@rushstack/webpack5-localization-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack5-localization-plugin" + } + ], + "packageName": "@rushstack/webpack5-localization-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack5-module-minifier-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json b/common/changes/@rushstack/webpack5-module-minifier-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json new file mode 100644 index 0000000000..9df7953bd7 --- /dev/null +++ b/common/changes/@rushstack/webpack5-module-minifier-plugin/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-36.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/webpack5-module-minifier-plugin" + } + ], + "packageName": "@rushstack/webpack5-module-minifier-plugin", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@rushstack/zipsync/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json b/common/changes/@rushstack/zipsync/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json new file mode 100644 index 0000000000..e2a30971e5 --- /dev/null +++ b/common/changes/@rushstack/zipsync/bharatmiddha-microsoft-investigate-publishing-pipelines_2026-09-09-23-01-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "", + "type": "none", + "packageName": "@rushstack/zipsync" + } + ], + "packageName": "@rushstack/zipsync", + "email": "5100938+bmiddha@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/config/azure-pipelines/esrp-publish-rush.yaml b/common/config/azure-pipelines/esrp-publish-rush.yaml index a54830bb92..576b1a4f79 100644 --- a/common/config/azure-pipelines/esrp-publish-rush.yaml +++ b/common/config/azure-pipelines/esrp-publish-rush.yaml @@ -30,6 +30,10 @@ parameters: displayName: 'Commit SHA Override (for testing)' type: string default: $(Build.SourceVersion) + - name: BumpPipelineRunIdOverride + displayName: 'Bump pipeline run ID override (for recovery)' + type: number + default: 0 variables: - name: FORCE_COLOR @@ -68,3 +72,4 @@ extends: NpmTag: ${{ parameters.NpmTag }} DryRun: ${{ parameters.DryRun }} CommitShaOverride: ${{ parameters.CommitShaOverride }} + BumpPipelineRunIdOverride: ${{ parameters.BumpPipelineRunIdOverride }} diff --git a/common/config/azure-pipelines/esrp-publish-rushstack.yaml b/common/config/azure-pipelines/esrp-publish-rushstack.yaml index b420f39a52..7c8adcf125 100644 --- a/common/config/azure-pipelines/esrp-publish-rushstack.yaml +++ b/common/config/azure-pipelines/esrp-publish-rushstack.yaml @@ -30,6 +30,10 @@ parameters: displayName: 'Commit SHA Override (for testing)' type: string default: $(Build.SourceVersion) + - name: BumpPipelineRunIdOverride + displayName: 'Bump pipeline run ID override (for recovery)' + type: number + default: 0 variables: - name: FORCE_COLOR @@ -68,3 +72,4 @@ extends: NpmTag: ${{ parameters.NpmTag }} DryRun: ${{ parameters.DryRun }} CommitShaOverride: ${{ parameters.CommitShaOverride }} + BumpPipelineRunIdOverride: ${{ parameters.BumpPipelineRunIdOverride }} diff --git a/common/config/azure-pipelines/npm-publish-rush.yaml b/common/config/azure-pipelines/npm-publish-rush.yaml index 942b256ac7..ab0731f483 100644 --- a/common/config/azure-pipelines/npm-publish-rush.yaml +++ b/common/config/azure-pipelines/npm-publish-rush.yaml @@ -1,19 +1,11 @@ # Pipeline: Bump Versions (Rush) -- AzDO definition 12 in the GitHubProjects project -# Trigger: Automatically when changes merge to main that include change files or pipeline YAML. -# Purpose: Bump versions for the "rush" version policy, build, pack, create/update GitHub PR. +# Trigger: Manually when a Rush release is required. +# Purpose: Bump non-Rush versions first, then the "rush" version policy, build, pack, and create/update +# a GitHub PR. # The packed tarballs are published by the "esrp-publish-rush.yaml" pipeline once the # resulting version bump PR is merged. -trigger: - batch: true - branches: - include: - - main - paths: - include: - - 'common/changes/*' - - 'common/config/rush/version-policies.json' - - 'common/config/azure-pipelines/**' +trigger: none pr: none @@ -51,6 +43,8 @@ extends: - template: /common/config/azure-pipelines/templates/bump-versions-stages.yaml@self parameters: VersionPolicyName: rush + BumpNonRushFirst: true + PackageCohort: all StageName: BumpRushVersions StageDisplayName: 'Bump Rush Versions and Create PR' CheckoutRepository: rushstackGitHubApp diff --git a/common/config/azure-pipelines/npm-publish.yaml b/common/config/azure-pipelines/npm-publish.yaml index 7d59c64c23..b314cf7c00 100644 --- a/common/config/azure-pipelines/npm-publish.yaml +++ b/common/config/azure-pipelines/npm-publish.yaml @@ -51,6 +51,7 @@ extends: - template: /common/config/azure-pipelines/templates/bump-versions-stages.yaml@self parameters: VersionPolicyName: noRush + PackageCohort: noRush StageName: BumpRushstackVersions StageDisplayName: 'Bump Rushstack Versions and Create PR' CheckoutRepository: rushstackGitHubApp diff --git a/common/config/azure-pipelines/templates/bump-versions-stages.yaml b/common/config/azure-pipelines/templates/bump-versions-stages.yaml index cabc237130..ddc389cb85 100644 --- a/common/config/azure-pipelines/templates/bump-versions-stages.yaml +++ b/common/config/azure-pipelines/templates/bump-versions-stages.yaml @@ -8,6 +8,11 @@ parameters: - name: VersionPolicyName type: string + - name: BumpNonRushFirst + type: boolean + default: false + - name: PackageCohort + type: string - name: StageName type: string - name: StageDisplayName @@ -71,9 +76,35 @@ stages: - template: /common/config/azure-pipelines/templates/build.yaml@self - - template: /common/config/azure-pipelines/templates/bump-versions.yaml@self - parameters: - VersionPolicyName: ${{ parameters.VersionPolicyName }} + - ${{ if eq(parameters.BumpNonRushFirst, true) }}: + # The Rush lockstep packages can depend on independently versioned packages. Preserve + # the old release ordering by applying all individual changes before the Rush bump. + - template: /common/config/azure-pipelines/templates/bump-versions.yaml@self + parameters: + VersionPolicyName: noRush + + - template: /common/config/azure-pipelines/templates/bump-versions.yaml@self + parameters: + VersionPolicyName: ${{ parameters.VersionPolicyName }} + + - ${{ else }}: + # "noRush" is a pipeline cohort, not a Rush version policy. Hide Rush change files so + # the independently scheduled non-Rush flow cannot consume lockstep release changes. + - script: > + node common/scripts/publish-cohort.js partition-changes + --cohort ${{ parameters.VersionPolicyName }} + --backup-path $(Agent.TempDirectory)/excluded-publish-changes + displayName: 'Select ${{ parameters.VersionPolicyName }} change files' + + - template: /common/config/azure-pipelines/templates/bump-versions.yaml@self + parameters: + VersionPolicyName: ${{ parameters.VersionPolicyName }} + + - script: > + node common/scripts/publish-cohort.js restore-changes + --backup-path $(Agent.TempDirectory)/excluded-publish-changes + displayName: 'Restore other publishing cohort change files' + condition: succeededOrFailed() - bash: | git add -u -- common/changes @@ -116,6 +147,14 @@ stages: - template: /common/config/azure-pipelines/templates/pack.yaml@self parameters: VersionPolicyName: ${{ parameters.VersionPolicyName }} + PackageCohort: ${{ parameters.PackageCohort }} + + - bash: | + if [ "$(HasChanges)" = "true" ] && [ "$(HasPackages)" != "true" ]; then + echo "##[error]Version bump produced no unpublished package tarballs." + exit 1 + fi + displayName: 'Verify package artifact' - template: /common/config/azure-pipelines/templates/post-publish.yaml@self diff --git a/common/config/azure-pipelines/templates/esrp-publish-stages.yaml b/common/config/azure-pipelines/templates/esrp-publish-stages.yaml index 54f9e85b24..4834fb8913 100644 --- a/common/config/azure-pipelines/templates/esrp-publish-stages.yaml +++ b/common/config/azure-pipelines/templates/esrp-publish-stages.yaml @@ -24,6 +24,10 @@ parameters: type: boolean - name: CommitShaOverride type: string + # Allows a packaging run to be replayed when a previous release artifact was incomplete. + - name: BumpPipelineRunIdOverride + type: number + default: 0 stages: - stage: Prepare${{ parameters.StageNameSuffix }} @@ -60,13 +64,23 @@ stages: displayName: 'Initialize artifact staging directories' condition: always() - - template: /common/config/azure-pipelines/templates/find-bump-pipeline-run.yaml@self - parameters: - PipelineId: ${{ parameters.BumpPipelineId }} - CommitSha: ${{ coalesce(parameters.CommitShaOverride, '$(Build.SourceVersion)') }} - TeamProject: ${{ parameters.BumpPipelineProject }} - Name: FindBumpRun - WorkingDirectory: $(Build.SourcesDirectory) + - ${{ if gt(parameters.BumpPipelineRunIdOverride, 0) }}: + - bash: | + echo "Using bump pipeline run override ${{ parameters.BumpPipelineRunIdOverride }}" + echo "##vso[task.setvariable variable=IsVersionBumpMerge;isOutput=true]true" + echo "##vso[task.setvariable variable=BumpPipelineDefinitionId;isOutput=true]${{ parameters.BumpPipelineId }}" + echo "##vso[task.setvariable variable=BumpPipelineRunId;isOutput=true]${{ parameters.BumpPipelineRunIdOverride }}" + name: FindBumpRun + displayName: 'Use Bump Pipeline Run Override' + + - ${{ else }}: + - template: /common/config/azure-pipelines/templates/find-bump-pipeline-run.yaml@self + parameters: + PipelineId: ${{ parameters.BumpPipelineId }} + CommitSha: ${{ coalesce(parameters.CommitShaOverride, '$(Build.SourceVersion)') }} + TeamProject: ${{ parameters.BumpPipelineProject }} + Name: FindBumpRun + WorkingDirectory: $(Build.SourcesDirectory) - task: DownloadPipelineArtifact@2 condition: eq(variables['FindBumpRun.IsVersionBumpMerge'], 'true') @@ -114,7 +128,7 @@ stages: displayName: 'Publish ${{ parameters.DisplayNameSuffix }} NPM Packages' dependsOn: - Prepare${{ parameters.StageNameSuffix }} - condition: and(succeeded('Prepare${{ parameters.StageNameSuffix }}'), eq(stageDependencies.Prepare${{ parameters.StageNameSuffix }}.PrepareNpmPublish.outputs['FindBumpRun.IsVersionBumpMerge'], 'true')) + condition: and(succeeded('Prepare${{ parameters.StageNameSuffix }}'), eq(dependencies.Prepare${{ parameters.StageNameSuffix }}.outputs['PrepareNpmPublish.FindBumpRun.IsVersionBumpMerge'], 'true')) jobs: - job: PublishNpmPackages displayName: 'Publish ${{ parameters.DisplayNameSuffix }} NPM Packages' diff --git a/common/config/azure-pipelines/templates/pack.yaml b/common/config/azure-pipelines/templates/pack.yaml index c5d46fdfe2..49d54e82e9 100644 --- a/common/config/azure-pipelines/templates/pack.yaml +++ b/common/config/azure-pipelines/templates/pack.yaml @@ -1,7 +1,8 @@ parameters: - # Only the packages belonging to this version policy are packed. - name: VersionPolicyName type: string + - name: PackageCohort + type: string steps: - template: /common/config/azure-pipelines/templates/install-run-rush.yaml@self @@ -12,10 +13,12 @@ steps: - template: /common/config/azure-pipelines/templates/install-run-rush.yaml@self parameters: Arguments: > - publish - --publish - --pack - --include-all - --version-policy ${{ parameters.VersionPolicyName }} - --release-folder $(Build.ArtifactStagingDirectory)/packages + pack + --pack-destination $(Build.ArtifactStagingDirectory)/packages DisplayName: 'Rush Pack (Policy: ${{ parameters.VersionPolicyName }})' + + - script: > + node common/scripts/publish-cohort.js filter-packages + --cohort ${{ parameters.PackageCohort }} + --packages-path $(Build.ArtifactStagingDirectory)/packages + displayName: 'Filter unpublished ${{ parameters.PackageCohort }} packages' diff --git a/common/config/rush/.npmrc b/common/config/rush/.npmrc index 100721e01a..355848d7cc 100644 --- a/common/config/rush/.npmrc +++ b/common/config/rush/.npmrc @@ -1 +1,2 @@ omit-lockfile-registry-resolved=true +registry=https://packagefeedproxy.microsoft.io/npm/ diff --git a/common/config/rush/command-line.json b/common/config/rush/command-line.json index 851603df42..6350b6c308 100644 --- a/common/config/rush/command-line.json +++ b/common/config/rush/command-line.json @@ -55,6 +55,14 @@ "watchPhases": ["_phase:lite-build", "_phase:build", "_phase:test"] } }, + { + "commandKind": "phased", + "name": "pack", + "summary": "Packs publishable projects into npm tarballs.", + "phases": ["_phase:pack"], + "enableParallelism": true, + "incremental": false + }, // { // /** // * (Required) Determines the type of custom command. @@ -269,6 +277,11 @@ }, "missingScriptBehavior": "silent", "allowWarningsOnSuccess": false + }, + { + "name": "_phase:pack", + "missingScriptBehavior": "silent", + "allowWarningsOnSuccess": false } ], @@ -525,6 +538,15 @@ "description": "Automatically fix problems encountered while linting", "associatedPhases": ["_phase:build"], "associatedCommands": ["build", "rebuild", "test", "retest"] + }, + { + "longName": "--pack-destination", + "parameterKind": "string", + "argumentName": "FOLDER", + "description": "Write packed npm tarballs to this folder", + "required": true, + "associatedPhases": ["_phase:pack"], + "associatedCommands": ["pack"] } ] } diff --git a/common/scripts/publish-cohort.js b/common/scripts/publish-cohort.js new file mode 100644 index 0000000000..21e007c1a0 --- /dev/null +++ b/common/scripts/publish-cohort.js @@ -0,0 +1,258 @@ +#!/usr/bin/env node + +const childProcess = require('node:child_process'); +const fs = require('node:fs'); +const path = require('node:path'); +const { parseArgs } = require('node:util'); + +function parseArguments() { + const { positionals, values } = parseArgs({ + allowPositionals: true, + options: { + 'backup-path': { type: 'string' }, + cohort: { type: 'string' }, + 'packages-path': { type: 'string' }, + 'repo-path': { type: 'string' } + } + }); + if (positionals.length !== 1) { + throw new Error('Expected exactly one command.'); + } + + return { command: positionals[0], options: values }; +} + +function getRequiredOption(options, name) { + const value = options[name]; + if (!value) { + throw new Error(`Missing required option: --${name}`); + } + return value; +} + +function loadProjects(repoPath) { + const result = childProcess.spawnSync( + process.execPath, + [path.join(repoPath, 'common/scripts/install-run-rush.js'), 'list', '--json'], + { + cwd: repoPath, + encoding: 'utf8', + env: process.env + } + ); + + if (result.status !== 0) { + process.stderr.write(result.stdout); + process.stderr.write(result.stderr); + throw new Error('Unable to read the Rush project list.'); + } + + const jsonStart = result.stdout.indexOf('{'); + if (jsonStart < 0) { + throw new Error('Rush list did not produce JSON output.'); + } + + const projectList = JSON.parse(result.stdout.slice(jsonStart)); + return new Map(projectList.projects.map((project) => [project.name, project])); +} + +function isProjectInCohort(project, cohort) { + if (cohort === 'all') { + return true; + } + if (cohort === 'rush') { + return project.versionPolicyName === 'rush'; + } + if (cohort === 'noRush') { + return !project.versionPolicyName; + } + throw new Error(`Unsupported publishing cohort: ${cohort}`); +} + +function forEachFileRecursive(folderPath, extension, callback) { + const pendingFolders = [{ absolutePath: folderPath, relativePath: '' }]; + while (pendingFolders.length > 0) { + const currentFolder = pendingFolders.pop(); + let entries; + try { + entries = fs.readdirSync(currentFolder.absolutePath, { withFileTypes: true }); + } catch (error) { + if (error.code === 'ENOENT' || error.code === 'ENOTDIR') { + continue; + } + throw error; + } + + for (const entry of entries) { + const absolutePath = path.join(currentFolder.absolutePath, entry.name); + const relativePath = path.join(currentFolder.relativePath, entry.name); + if (entry.isDirectory()) { + pendingFolders.push({ absolutePath, relativePath }); + } else if (entry.isFile() && (!extension || entry.name.endsWith(extension))) { + callback(absolutePath, relativePath); + } + } + } +} + +function writeJson(filePath, value) { + fs.mkdirSync(path.dirname(filePath), { recursive: true }); + fs.writeFileSync(filePath, `${JSON.stringify(value)}\n`); +} + +function partitionChanges(repoPath, backupPath, cohort) { + const projects = loadProjects(repoPath); + const changesPath = path.join(repoPath, 'common/changes'); + + fs.rmSync(backupPath, { recursive: true, force: true }); + + forEachFileRecursive(changesPath, '.json', (changeFilePath, relativePath) => { + const changeFileText = fs.readFileSync(changeFilePath, 'utf8'); + const changeFile = JSON.parse(changeFileText); + const includedChanges = []; + const excludedChanges = []; + + for (const change of changeFile.changes) { + const project = projects.get(change.packageName); + if (!project) { + throw new Error(`${changeFilePath} references unknown project ${change.packageName}.`); + } + + (isProjectInCohort(project, cohort) ? includedChanges : excludedChanges).push(change); + } + + if (excludedChanges.length > 0) { + const backupFilePath = path.join(backupPath, relativePath); + if (includedChanges.length === 0) { + fs.mkdirSync(path.dirname(backupFilePath), { recursive: true }); + fs.writeFileSync(backupFilePath, changeFileText); + } else { + writeJson(backupFilePath, { ...changeFile, changes: excludedChanges }); + } + } + + if (includedChanges.length > 0) { + writeJson(changeFilePath, { ...changeFile, changes: includedChanges }); + } else { + fs.rmSync(changeFilePath); + } + }); +} + +function restoreChanges(repoPath, backupPath) { + const changesPath = path.join(repoPath, 'common/changes'); + + forEachFileRecursive(backupPath, '.json', (backupFilePath, relativePath) => { + const changeFilePath = path.join(changesPath, relativePath); + const backupChangeFile = JSON.parse(fs.readFileSync(backupFilePath, 'utf8')); + + if (fs.existsSync(changeFilePath)) { + const currentChangeFile = JSON.parse(fs.readFileSync(changeFilePath, 'utf8')); + writeJson(changeFilePath, { + ...backupChangeFile, + changes: [...currentChangeFile.changes, ...backupChangeFile.changes] + }); + } else { + writeJson(changeFilePath, backupChangeFile); + } + }); +} + +function readPackageJsonFromTarball(tarballPath) { + const result = childProcess.spawnSync('tar', ['-xOf', tarballPath, 'package/package.json'], { + encoding: 'utf8' + }); + if (result.status !== 0) { + process.stderr.write(result.stderr); + throw new Error(`Unable to read package.json from ${tarballPath}.`); + } + return JSON.parse(result.stdout); +} + +function packageIsPublished(packageName, version, repoPath, registryUrl) { + const result = childProcess.spawnSync( + 'npm', + ['view', `${packageName}@${version}`, 'version', '--json', '--registry', registryUrl], + { + cwd: repoPath, + encoding: 'utf8', + env: process.env + } + ); + + if (result.status === 0) { + return true; + } + if (result.stderr.includes('E404')) { + return false; + } + + process.stderr.write(result.stdout); + process.stderr.write(result.stderr); + throw new Error(`Unable to determine whether ${packageName}@${version} is published.`); +} + +function filterPackages(repoPath, packagesPath, cohort) { + const projects = loadProjects(repoPath); + const npmrcPublish = fs.readFileSync(path.join(repoPath, 'common/config/rush/.npmrc-publish'), 'utf8'); + const registryMatch = npmrcPublish.match(/^registry=(.+)$/m); + if (!registryMatch) { + throw new Error('Unable to determine the publish registry from .npmrc-publish.'); + } + const registryUrl = registryMatch[1].trim(); + let retainedPackageCount = 0; + + forEachFileRecursive(packagesPath, '.tgz', (tarballPath) => { + const packageJson = readPackageJsonFromTarball(tarballPath); + const project = projects.get(packageJson.name); + if (!project) { + throw new Error(`${tarballPath} contains unknown project ${packageJson.name}.`); + } + + const retainPackage = + isProjectInCohort(project, cohort) && + (project.shouldPublish || project.versionPolicyName) && + !packageIsPublished(packageJson.name, packageJson.version, repoPath, registryUrl); + + if (retainPackage) { + retainedPackageCount++; + console.log(`Retaining ${packageJson.name}@${packageJson.version}`); + } else { + fs.rmSync(tarballPath); + } + }); + + console.log(`Retained ${retainedPackageCount} unpublished ${cohort} package(s).`); + console.log( + `##vso[task.setvariable variable=HasPackages]${retainedPackageCount > 0 ? 'true' : 'false'}` + ); +} + +function main() { + const { command, options } = parseArguments(); + const repoPath = path.resolve(options['repo-path'] || process.cwd()); + + switch (command) { + case 'partition-changes': + partitionChanges( + repoPath, + path.resolve(getRequiredOption(options, 'backup-path')), + getRequiredOption(options, 'cohort') + ); + break; + case 'restore-changes': + restoreChanges(repoPath, path.resolve(getRequiredOption(options, 'backup-path'))); + break; + case 'filter-packages': + filterPackages( + repoPath, + path.resolve(getRequiredOption(options, 'packages-path')), + getRequiredOption(options, 'cohort') + ); + break; + default: + throw new Error(`Unsupported command: ${command || ''}`); + } +} + +main(); diff --git a/eslint/eslint-bulk/package.json b/eslint/eslint-bulk/package.json index 14e40e2387..4dd5c1c5f4 100755 --- a/eslint/eslint-bulk/package.json +++ b/eslint/eslint-bulk/package.json @@ -34,6 +34,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "start": "node ./lib-commonjs/start.js" }, "keywords": [ diff --git a/eslint/eslint-config/package.json b/eslint/eslint-config/package.json index 1c5fcbab7b..4623afe2ac 100644 --- a/eslint/eslint-config/package.json +++ b/eslint/eslint-config/package.json @@ -14,7 +14,8 @@ "homepage": "https://rushstack.io", "scripts": { "build": "", - "_phase:build": "" + "_phase:build": "", + "_phase:pack": "rush-pnpm pack" }, "keywords": [ "eslint", diff --git a/eslint/eslint-patch/package.json b/eslint/eslint-patch/package.json index 1d57287e72..9470c5ed8c 100644 --- a/eslint/eslint-patch/package.json +++ b/eslint/eslint-patch/package.json @@ -52,7 +52,8 @@ "homepage": "https://rushstack.io", "scripts": { "build": "heft build --clean", - "_phase:build": "heft run --only build -- --clean" + "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack" }, "keywords": [ "eslintrc", diff --git a/eslint/eslint-plugin-packlets/package.json b/eslint/eslint-plugin-packlets/package.json index 294bc120a6..29e6207575 100644 --- a/eslint/eslint-plugin-packlets/package.json +++ b/eslint/eslint-plugin-packlets/package.json @@ -46,6 +46,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/eslint/eslint-plugin-security/package.json b/eslint/eslint-plugin-security/package.json index 1aa98c36e8..e1557a079b 100644 --- a/eslint/eslint-plugin-security/package.json +++ b/eslint/eslint-plugin-security/package.json @@ -45,6 +45,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/eslint/eslint-plugin/package.json b/eslint/eslint-plugin/package.json index 6ff1fc8548..60b700c4a6 100644 --- a/eslint/eslint-plugin/package.json +++ b/eslint/eslint-plugin/package.json @@ -49,6 +49,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/heft-plugins/heft-api-extractor-plugin/package.json b/heft-plugins/heft-api-extractor-plugin/package.json index 109a3a42c2..cd71d86ee2 100644 --- a/heft-plugins/heft-api-extractor-plugin/package.json +++ b/heft-plugins/heft-api-extractor-plugin/package.json @@ -15,7 +15,8 @@ "scripts": { "build": "heft test --clean", "start": "heft build-watch", - "_phase:build": "heft run --only build -- --clean" + "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack" }, "peerDependencies": { "@rushstack/heft": "1.2.26" diff --git a/heft-plugins/heft-dev-cert-plugin/package.json b/heft-plugins/heft-dev-cert-plugin/package.json index a648f184fd..106b470303 100644 --- a/heft-plugins/heft-dev-cert-plugin/package.json +++ b/heft-plugins/heft-dev-cert-plugin/package.json @@ -16,6 +16,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json b/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json index 1e6a15a466..ad48b53277 100644 --- a/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json +++ b/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json @@ -43,6 +43,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/heft-plugins/heft-jest-plugin/package.json b/heft-plugins/heft-jest-plugin/package.json index 8bd1b77139..7d6a12e216 100644 --- a/heft-plugins/heft-jest-plugin/package.json +++ b/heft-plugins/heft-jest-plugin/package.json @@ -16,6 +16,7 @@ "build": "heft test --clean", "start": "heft build-watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/heft-plugins/heft-json-schema-typings-plugin/package.json b/heft-plugins/heft-json-schema-typings-plugin/package.json index be7904ec16..3716caf4ae 100644 --- a/heft-plugins/heft-json-schema-typings-plugin/package.json +++ b/heft-plugins/heft-json-schema-typings-plugin/package.json @@ -16,6 +16,7 @@ "build": "heft test --clean", "start": "heft build-watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/heft-plugins/heft-lint-plugin/package.json b/heft-plugins/heft-lint-plugin/package.json index f1c80600b6..6170ef0e93 100644 --- a/heft-plugins/heft-lint-plugin/package.json +++ b/heft-plugins/heft-lint-plugin/package.json @@ -16,6 +16,7 @@ "build": "heft build --clean", "start": "heft build-watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/heft-plugins/heft-localization-typings-plugin/package.json b/heft-plugins/heft-localization-typings-plugin/package.json index 601cdba549..4d187b7bab 100644 --- a/heft-plugins/heft-localization-typings-plugin/package.json +++ b/heft-plugins/heft-localization-typings-plugin/package.json @@ -16,6 +16,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/heft-plugins/heft-rspack-plugin/package.json b/heft-plugins/heft-rspack-plugin/package.json index 0ea6c68e02..bce4e07924 100644 --- a/heft-plugins/heft-rspack-plugin/package.json +++ b/heft-plugins/heft-rspack-plugin/package.json @@ -43,6 +43,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/heft-plugins/heft-sass-load-themed-styles-plugin/package.json b/heft-plugins/heft-sass-load-themed-styles-plugin/package.json index 3f70fe689d..5e196eaddd 100644 --- a/heft-plugins/heft-sass-load-themed-styles-plugin/package.json +++ b/heft-plugins/heft-sass-load-themed-styles-plugin/package.json @@ -16,6 +16,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/heft-plugins/heft-sass-plugin/package.json b/heft-plugins/heft-sass-plugin/package.json index a603dc2b3f..8ae355de55 100644 --- a/heft-plugins/heft-sass-plugin/package.json +++ b/heft-plugins/heft-sass-plugin/package.json @@ -16,6 +16,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "main": "./lib-commonjs/index.js", diff --git a/heft-plugins/heft-serverless-stack-plugin/package.json b/heft-plugins/heft-serverless-stack-plugin/package.json index 62e9102e81..b2f73dcfcf 100644 --- a/heft-plugins/heft-serverless-stack-plugin/package.json +++ b/heft-plugins/heft-serverless-stack-plugin/package.json @@ -15,6 +15,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/heft-plugins/heft-static-asset-typings-plugin/package.json b/heft-plugins/heft-static-asset-typings-plugin/package.json index 65f43ba95f..922322da16 100644 --- a/heft-plugins/heft-static-asset-typings-plugin/package.json +++ b/heft-plugins/heft-static-asset-typings-plugin/package.json @@ -6,6 +6,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "repository": { diff --git a/heft-plugins/heft-storybook-plugin/package.json b/heft-plugins/heft-storybook-plugin/package.json index e0611c46d3..3393192376 100644 --- a/heft-plugins/heft-storybook-plugin/package.json +++ b/heft-plugins/heft-storybook-plugin/package.json @@ -16,6 +16,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/heft-plugins/heft-typescript-plugin/package.json b/heft-plugins/heft-typescript-plugin/package.json index cafc1aa6c4..c84fc8fa42 100644 --- a/heft-plugins/heft-typescript-plugin/package.json +++ b/heft-plugins/heft-typescript-plugin/package.json @@ -42,7 +42,8 @@ "scripts": { "build": "heft test --clean", "start": "heft build-watch", - "_phase:build": "heft run --only build -- --clean" + "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack" }, "peerDependencies": { "@rushstack/heft": "1.2.26" diff --git a/heft-plugins/heft-vscode-extension-plugin/package.json b/heft-plugins/heft-vscode-extension-plugin/package.json index f823d41de9..c4328cb9be 100644 --- a/heft-plugins/heft-vscode-extension-plugin/package.json +++ b/heft-plugins/heft-vscode-extension-plugin/package.json @@ -16,6 +16,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "exports": { diff --git a/heft-plugins/heft-webpack4-plugin/package.json b/heft-plugins/heft-webpack4-plugin/package.json index 870cbe06ff..3e42d53b45 100644 --- a/heft-plugins/heft-webpack4-plugin/package.json +++ b/heft-plugins/heft-webpack4-plugin/package.json @@ -43,6 +43,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependenciesMeta": { diff --git a/heft-plugins/heft-webpack5-plugin/package.json b/heft-plugins/heft-webpack5-plugin/package.json index 7c727d2a23..52fa2d833a 100644 --- a/heft-plugins/heft-webpack5-plugin/package.json +++ b/heft-plugins/heft-webpack5-plugin/package.json @@ -43,6 +43,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/libraries/api-extractor-model/package.json b/libraries/api-extractor-model/package.json index f8aa2f63bd..8243288adc 100644 --- a/libraries/api-extractor-model/package.json +++ b/libraries/api-extractor-model/package.json @@ -40,6 +40,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/credential-cache/package.json b/libraries/credential-cache/package.json index 22fa755f92..ee46ee6f88 100644 --- a/libraries/credential-cache/package.json +++ b/libraries/credential-cache/package.json @@ -40,6 +40,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/debug-certificate-manager/package.json b/libraries/debug-certificate-manager/package.json index 02241b7b43..631f314645 100644 --- a/libraries/debug-certificate-manager/package.json +++ b/libraries/debug-certificate-manager/package.json @@ -38,7 +38,8 @@ }, "scripts": { "build": "heft build --clean", - "_phase:build": "heft run --only build -- --clean" + "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack" }, "dependencies": { "@rushstack/node-core-library": "workspace:*", diff --git a/libraries/heft-config-file/package.json b/libraries/heft-config-file/package.json index b7ccaeb652..6833056a88 100644 --- a/libraries/heft-config-file/package.json +++ b/libraries/heft-config-file/package.json @@ -41,6 +41,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/load-themed-styles/package.json b/libraries/load-themed-styles/package.json index 885086fa36..cfd6a9d13e 100644 --- a/libraries/load-themed-styles/package.json +++ b/libraries/load-themed-styles/package.json @@ -12,6 +12,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "main": "./lib-commonjs/index.js", diff --git a/libraries/localization-utilities/package.json b/libraries/localization-utilities/package.json index 0049c98f14..33b3a82976 100644 --- a/libraries/localization-utilities/package.json +++ b/libraries/localization-utilities/package.json @@ -40,6 +40,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/lookup-by-path/package.json b/libraries/lookup-by-path/package.json index 15f3ffef48..cf9d7a14fd 100644 --- a/libraries/lookup-by-path/package.json +++ b/libraries/lookup-by-path/package.json @@ -46,6 +46,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "devDependencies": { diff --git a/libraries/module-minifier/package.json b/libraries/module-minifier/package.json index da7ca08eb3..b9adc85b95 100644 --- a/libraries/module-minifier/package.json +++ b/libraries/module-minifier/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/node-core-library/package.json b/libraries/node-core-library/package.json index 1e7dff534d..e605cebe7b 100644 --- a/libraries/node-core-library/package.json +++ b/libraries/node-core-library/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/npm-check-fork/package.json b/libraries/npm-check-fork/package.json index 451d6412ca..87b5f43df3 100644 --- a/libraries/npm-check-fork/package.json +++ b/libraries/npm-check-fork/package.json @@ -41,6 +41,7 @@ "build": "heft build --clean", "test": "heft test --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/operation-graph/package.json b/libraries/operation-graph/package.json index ad9d4057f4..bf843b2293 100644 --- a/libraries/operation-graph/package.json +++ b/libraries/operation-graph/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/package-deps-hash/package.json b/libraries/package-deps-hash/package.json index ab9eaf7a3a..bb98651c87 100644 --- a/libraries/package-deps-hash/package.json +++ b/libraries/package-deps-hash/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "devDependencies": { diff --git a/libraries/package-extractor/package.json b/libraries/package-extractor/package.json index c713297436..bf70d7ae5d 100644 --- a/libraries/package-extractor/package.json +++ b/libraries/package-extractor/package.json @@ -39,6 +39,7 @@ "build": "heft build --clean", "test": "heft test --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "license": "MIT", diff --git a/libraries/problem-matcher/package.json b/libraries/problem-matcher/package.json index 2918a47fac..c8032c8c93 100644 --- a/libraries/problem-matcher/package.json +++ b/libraries/problem-matcher/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "devDependencies": { diff --git a/libraries/reporter/package.json b/libraries/reporter/package.json index 199d31635f..dd56a52f9f 100644 --- a/libraries/reporter/package.json +++ b/libraries/reporter/package.json @@ -46,6 +46,7 @@ "generate-bootstrap-protocol": "node scripts/generateBootstrapProtocol.js --write", "check-bootstrap-protocol": "node scripts/generateBootstrapProtocol.js --check", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "devDependencies": { diff --git a/libraries/rig-package/package.json b/libraries/rig-package/package.json index c985c4be28..9bdd161669 100644 --- a/libraries/rig-package/package.json +++ b/libraries/rig-package/package.json @@ -40,6 +40,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/rush-daemon-protocol/package.json b/libraries/rush-daemon-protocol/package.json index 606c7779ae..c099da342c 100644 --- a/libraries/rush-daemon-protocol/package.json +++ b/libraries/rush-daemon-protocol/package.json @@ -47,6 +47,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "devDependencies": { diff --git a/libraries/rush-daemon-transport/package.json b/libraries/rush-daemon-transport/package.json index 25febae1fa..77acc59ecc 100644 --- a/libraries/rush-daemon-transport/package.json +++ b/libraries/rush-daemon-transport/package.json @@ -47,6 +47,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/rush-daemon/package.json b/libraries/rush-daemon/package.json index a5f7aa41fc..6db36d57a9 100644 --- a/libraries/rush-daemon/package.json +++ b/libraries/rush-daemon/package.json @@ -42,6 +42,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/rush-lib/package.json b/libraries/rush-lib/package.json index c37bdf473a..9eebb7059c 100644 --- a/libraries/rush-lib/package.json +++ b/libraries/rush-lib/package.json @@ -37,6 +37,7 @@ "build": "heft build --clean", "test": "heft test --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "license": "MIT", diff --git a/libraries/rush-pnpm-kit-v10/package.json b/libraries/rush-pnpm-kit-v10/package.json index caca0e95df..ddfb54b000 100644 --- a/libraries/rush-pnpm-kit-v10/package.json +++ b/libraries/rush-pnpm-kit-v10/package.json @@ -33,6 +33,7 @@ }, "scripts": { "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean", "build": "heft build --clean", "test": "heft test --clean" diff --git a/libraries/rush-pnpm-kit-v8/package.json b/libraries/rush-pnpm-kit-v8/package.json index 424e429c98..e57613737e 100644 --- a/libraries/rush-pnpm-kit-v8/package.json +++ b/libraries/rush-pnpm-kit-v8/package.json @@ -33,6 +33,7 @@ }, "scripts": { "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean", "build": "heft build --clean", "test": "heft test --clean" diff --git a/libraries/rush-pnpm-kit-v9/package.json b/libraries/rush-pnpm-kit-v9/package.json index c59cff977d..0f82bc2539 100644 --- a/libraries/rush-pnpm-kit-v9/package.json +++ b/libraries/rush-pnpm-kit-v9/package.json @@ -33,6 +33,7 @@ }, "scripts": { "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean", "build": "heft build --clean", "test": "heft test --clean" diff --git a/libraries/rush-sdk/package.json b/libraries/rush-sdk/package.json index f365b9870b..deff0c2961 100644 --- a/libraries/rush-sdk/package.json +++ b/libraries/rush-sdk/package.json @@ -41,6 +41,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "license": "MIT", diff --git a/libraries/rush-terminal-renderer/package.json b/libraries/rush-terminal-renderer/package.json index 138368b605..1343621cf2 100644 --- a/libraries/rush-terminal-renderer/package.json +++ b/libraries/rush-terminal-renderer/package.json @@ -47,6 +47,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/stream-collator/package.json b/libraries/stream-collator/package.json index aa971bdcb9..bec2a83b2f 100644 --- a/libraries/stream-collator/package.json +++ b/libraries/stream-collator/package.json @@ -38,6 +38,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "license": "MIT", diff --git a/libraries/terminal/package.json b/libraries/terminal/package.json index e8262b2022..8f0f10b93e 100644 --- a/libraries/terminal/package.json +++ b/libraries/terminal/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/tree-pattern/package.json b/libraries/tree-pattern/package.json index 579bf75749..a1e73c091b 100644 --- a/libraries/tree-pattern/package.json +++ b/libraries/tree-pattern/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "devDependencies": { diff --git a/libraries/ts-command-line/package.json b/libraries/ts-command-line/package.json index 539d564bed..1c839580fa 100644 --- a/libraries/ts-command-line/package.json +++ b/libraries/ts-command-line/package.json @@ -38,6 +38,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "license": "MIT", diff --git a/libraries/typings-generator/package.json b/libraries/typings-generator/package.json index c00de10ec0..02cfec76d5 100644 --- a/libraries/typings-generator/package.json +++ b/libraries/typings-generator/package.json @@ -44,6 +44,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/libraries/worker-pool/package.json b/libraries/worker-pool/package.json index 37e5a4802e..1a52cd8096 100644 --- a/libraries/worker-pool/package.json +++ b/libraries/worker-pool/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "devDependencies": { diff --git a/rigs/heft-node-rig/package.json b/rigs/heft-node-rig/package.json index 326452f81a..1e4feb4903 100644 --- a/rigs/heft-node-rig/package.json +++ b/rigs/heft-node-rig/package.json @@ -5,7 +5,8 @@ "license": "MIT", "scripts": { "build": "", - "_phase:build": "" + "_phase:build": "", + "_phase:pack": "rush-pnpm pack" }, "repository": { "type": "git", diff --git a/rigs/heft-vscode-extension-rig/package.json b/rigs/heft-vscode-extension-rig/package.json index 8670dc850b..e295051c3d 100644 --- a/rigs/heft-vscode-extension-rig/package.json +++ b/rigs/heft-vscode-extension-rig/package.json @@ -5,7 +5,8 @@ "license": "MIT", "scripts": { "build": "", - "_phase:build": "" + "_phase:build": "", + "_phase:pack": "rush-pnpm pack" }, "repository": { "type": "git", diff --git a/rigs/heft-web-rig/package.json b/rigs/heft-web-rig/package.json index 5d997e42c1..1c98848d55 100644 --- a/rigs/heft-web-rig/package.json +++ b/rigs/heft-web-rig/package.json @@ -5,7 +5,8 @@ "license": "MIT", "scripts": { "build": "", - "_phase:build": "" + "_phase:build": "", + "_phase:pack": "rush-pnpm pack" }, "repository": { "type": "git", diff --git a/rush-plugins/rush-amazon-s3-build-cache-plugin/package.json b/rush-plugins/rush-amazon-s3-build-cache-plugin/package.json index 7e4d12de7b..ebdea5aa2f 100644 --- a/rush-plugins/rush-amazon-s3-build-cache-plugin/package.json +++ b/rush-plugins/rush-amazon-s3-build-cache-plugin/package.json @@ -44,6 +44,7 @@ "start": "heft test --clean --watch", "test": "heft test", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/rush-plugins/rush-azure-storage-build-cache-plugin/package.json b/rush-plugins/rush-azure-storage-build-cache-plugin/package.json index 2d7e987f7b..57367c3a02 100644 --- a/rush-plugins/rush-azure-storage-build-cache-plugin/package.json +++ b/rush-plugins/rush-azure-storage-build-cache-plugin/package.json @@ -43,6 +43,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/rush-plugins/rush-bridge-cache-plugin/package.json b/rush-plugins/rush-bridge-cache-plugin/package.json index e8e3b83b0e..0fcc45151c 100644 --- a/rush-plugins/rush-bridge-cache-plugin/package.json +++ b/rush-plugins/rush-bridge-cache-plugin/package.json @@ -42,7 +42,8 @@ "scripts": { "build": "heft test --clean", "start": "heft test --clean --watch", - "_phase:build": "heft run --only build -- --clean" + "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack" }, "dependencies": { "@rushstack/ts-command-line": "workspace:*", diff --git a/rush-plugins/rush-buildxl-graph-plugin/package.json b/rush-plugins/rush-buildxl-graph-plugin/package.json index 11959c6196..8ca707fdc1 100644 --- a/rush-plugins/rush-buildxl-graph-plugin/package.json +++ b/rush-plugins/rush-buildxl-graph-plugin/package.json @@ -43,6 +43,7 @@ "build": "heft build --clean", "start": "heft test --clean --watch", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/rush-plugins/rush-http-build-cache-plugin/package.json b/rush-plugins/rush-http-build-cache-plugin/package.json index 62790c452b..162d6a45c5 100644 --- a/rush-plugins/rush-http-build-cache-plugin/package.json +++ b/rush-plugins/rush-http-build-cache-plugin/package.json @@ -44,6 +44,7 @@ "start": "heft test-watch", "test": "heft test", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/rush-plugins/rush-mcp-docs-plugin/package.json b/rush-plugins/rush-mcp-docs-plugin/package.json index 85db480b73..de0afc3ae3 100644 --- a/rush-plugins/rush-mcp-docs-plugin/package.json +++ b/rush-plugins/rush-mcp-docs-plugin/package.json @@ -40,6 +40,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/rush-plugins/rush-published-versions-json-plugin/package.json b/rush-plugins/rush-published-versions-json-plugin/package.json index 28bf9d1312..77be2e440a 100644 --- a/rush-plugins/rush-published-versions-json-plugin/package.json +++ b/rush-plugins/rush-published-versions-json-plugin/package.json @@ -13,7 +13,8 @@ }, "scripts": { "build": "heft test --clean", - "_phase:build": "heft run --only build -- --clean" + "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack" }, "dependencies": { "@rushstack/node-core-library": "workspace:*", diff --git a/rush-plugins/rush-redis-cobuild-plugin/package.json b/rush-plugins/rush-redis-cobuild-plugin/package.json index a739119ae9..9fc4e467bb 100644 --- a/rush-plugins/rush-redis-cobuild-plugin/package.json +++ b/rush-plugins/rush-redis-cobuild-plugin/package.json @@ -44,6 +44,7 @@ "start": "heft test-watch", "test": "heft test --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/rush-plugins/rush-resolver-cache-plugin/package.json b/rush-plugins/rush-resolver-cache-plugin/package.json index 2909fe155c..1e9851bff1 100644 --- a/rush-plugins/rush-resolver-cache-plugin/package.json +++ b/rush-plugins/rush-resolver-cache-plugin/package.json @@ -17,6 +17,7 @@ "scripts": { "build": "heft test --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/rush-plugins/rush-serve-plugin/package.json b/rush-plugins/rush-serve-plugin/package.json index b8dd8c0a11..fd861cce31 100644 --- a/rush-plugins/rush-serve-plugin/package.json +++ b/rush-plugins/rush-serve-plugin/package.json @@ -17,6 +17,7 @@ "scripts": { "build": "heft test --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/webpack/hashed-folder-copy-plugin/package.json b/webpack/hashed-folder-copy-plugin/package.json index 7612f7f527..8de856269d 100644 --- a/webpack/hashed-folder-copy-plugin/package.json +++ b/webpack/hashed-folder-copy-plugin/package.json @@ -48,6 +48,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/webpack/loader-load-themed-styles/package.json b/webpack/loader-load-themed-styles/package.json index a76d0729ff..74fdc65594 100644 --- a/webpack/loader-load-themed-styles/package.json +++ b/webpack/loader-load-themed-styles/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependenciesMeta": { diff --git a/webpack/loader-raw-script/package.json b/webpack/loader-raw-script/package.json index 6d88cdf9d7..8f1b303645 100644 --- a/webpack/loader-raw-script/package.json +++ b/webpack/loader-raw-script/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/webpack/preserve-dynamic-require-plugin/package.json b/webpack/preserve-dynamic-require-plugin/package.json index 1fbb426236..ea324f429e 100644 --- a/webpack/preserve-dynamic-require-plugin/package.json +++ b/webpack/preserve-dynamic-require-plugin/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "devDependencies": { diff --git a/webpack/set-webpack-public-path-plugin/package.json b/webpack/set-webpack-public-path-plugin/package.json index 182de7f5b2..4eb3f7e627 100644 --- a/webpack/set-webpack-public-path-plugin/package.json +++ b/webpack/set-webpack-public-path-plugin/package.json @@ -38,7 +38,8 @@ }, "scripts": { "build": "heft build --clean", - "_phase:build": "heft run --only build -- --clean" + "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack" }, "peerDependencies": { "webpack": "^5.68.0", diff --git a/webpack/webpack-embedded-dependencies-plugin/package.json b/webpack/webpack-embedded-dependencies-plugin/package.json index 253d40c372..ac19725cc5 100644 --- a/webpack/webpack-embedded-dependencies-plugin/package.json +++ b/webpack/webpack-embedded-dependencies-plugin/package.json @@ -40,6 +40,7 @@ "build": "heft build --clean", "test": "heft run --only test", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/webpack/webpack-plugin-utilities/package.json b/webpack/webpack-plugin-utilities/package.json index 6af92d8530..fdfc1c2e16 100644 --- a/webpack/webpack-plugin-utilities/package.json +++ b/webpack/webpack-plugin-utilities/package.json @@ -40,6 +40,7 @@ "build": "heft build --clean", "test": "heft run --only test", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "dependencies": { diff --git a/webpack/webpack-workspace-resolve-plugin/package.json b/webpack/webpack-workspace-resolve-plugin/package.json index 0501e95018..6b2b19ae6e 100644 --- a/webpack/webpack-workspace-resolve-plugin/package.json +++ b/webpack/webpack-workspace-resolve-plugin/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/webpack/webpack4-localization-plugin/package.json b/webpack/webpack4-localization-plugin/package.json index c1a95e9e3d..4e6dfcdef7 100644 --- a/webpack/webpack4-localization-plugin/package.json +++ b/webpack/webpack4-localization-plugin/package.json @@ -38,7 +38,8 @@ }, "scripts": { "build": "heft build --clean", - "_phase:build": "heft run --only build -- --clean" + "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack" }, "peerDependencies": { "@rushstack/set-webpack-public-path-plugin": "^4.1.16", diff --git a/webpack/webpack4-module-minifier-plugin/package.json b/webpack/webpack4-module-minifier-plugin/package.json index a4f574cb01..43f9988b32 100644 --- a/webpack/webpack4-module-minifier-plugin/package.json +++ b/webpack/webpack4-module-minifier-plugin/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/webpack/webpack5-load-themed-styles-loader/package.json b/webpack/webpack5-load-themed-styles-loader/package.json index 334f41159c..249e49a13b 100644 --- a/webpack/webpack5-load-themed-styles-loader/package.json +++ b/webpack/webpack5-load-themed-styles-loader/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/webpack/webpack5-localization-plugin/package.json b/webpack/webpack5-localization-plugin/package.json index 00883a5e38..5f2e7e4c10 100644 --- a/webpack/webpack5-localization-plugin/package.json +++ b/webpack/webpack5-localization-plugin/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": { diff --git a/webpack/webpack5-module-minifier-plugin/package.json b/webpack/webpack5-module-minifier-plugin/package.json index 289f8aae62..043297ee4d 100644 --- a/webpack/webpack5-module-minifier-plugin/package.json +++ b/webpack/webpack5-module-minifier-plugin/package.json @@ -39,6 +39,7 @@ "scripts": { "build": "heft build --clean", "_phase:build": "heft run --only build -- --clean", + "_phase:pack": "rush-pnpm pack", "_phase:test": "heft run --only test -- --clean" }, "peerDependencies": {