From 362263f52e0a9680bfd597302b47de709b2b0d48 Mon Sep 17 00:00:00 2001 From: ating Date: Wed, 6 Aug 2025 15:05:48 -0700 Subject: [PATCH 01/21] updated npm publish pipeline to publish packages as pipeline artifact tarballs instead of to npm registry --- common/config/azure-pipelines/npm-publish.yaml | 4 ++++ common/config/azure-pipelines/templates/publish.yaml | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/common/config/azure-pipelines/npm-publish.yaml b/common/config/azure-pipelines/npm-publish.yaml index e71295fae66..f1c6261e34d 100644 --- a/common/config/azure-pipelines/npm-publish.yaml +++ b/common/config/azure-pipelines/npm-publish.yaml @@ -29,6 +29,10 @@ extends: - output: pipelineArtifact targetPath: $(Build.ArtifactStagingDirectory)/published-versions artifactName: published-versions + - output: pipelineArtifact + targetPath: $(Build.ArtifactStagingDirectory)/packages + displayName: 'Publish Rushstack Artifacts: rushstack-packages' + artifactName: rushstack-packages steps: - checkout: self persistCredentials: true diff --git a/common/config/azure-pipelines/templates/publish.yaml b/common/config/azure-pipelines/templates/publish.yaml index 281d7edae9b..7253f0ba1ac 100644 --- a/common/config/azure-pipelines/templates/publish.yaml +++ b/common/config/azure-pipelines/templates/publish.yaml @@ -6,7 +6,5 @@ parameters: default: $(Build.SourceBranchName) steps: - - script: 'node common/scripts/install-run-rush.js publish --apply --publish --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details --set-access-level public' + - script: 'node common/scripts/install-run-rush.js publish --apply --pack --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details --set-access-level public' displayName: 'Rush Publish (Policy: ${{ parameters.VersionPolicyName }})' - env: - NPM_AUTH_TOKEN: $(npmToken) From 67914567ee712b4fd9adb1144ee8eccd566d4948 Mon Sep 17 00:00:00 2001 From: ating Date: Wed, 6 Aug 2025 15:26:23 -0700 Subject: [PATCH 02/21] specified publish folder location for packages --- common/config/azure-pipelines/templates/publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/config/azure-pipelines/templates/publish.yaml b/common/config/azure-pipelines/templates/publish.yaml index 7253f0ba1ac..65ca8bee0c9 100644 --- a/common/config/azure-pipelines/templates/publish.yaml +++ b/common/config/azure-pipelines/templates/publish.yaml @@ -6,5 +6,5 @@ parameters: default: $(Build.SourceBranchName) steps: - - script: 'node common/scripts/install-run-rush.js publish --apply --pack --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details --set-access-level public' + - script: 'node common/scripts/install-run-rush.js publish --apply --pack --release-folder $(Build.ArtifactStagingDirectory)/packages --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details --set-access-level public' displayName: 'Rush Publish (Policy: ${{ parameters.VersionPolicyName }})' From 83aa07d19999e51760328400e5d2dec90195b72c Mon Sep 17 00:00:00 2001 From: ating Date: Wed, 6 Aug 2025 15:56:21 -0700 Subject: [PATCH 03/21] added option to specify publish version tag --- .../azure-pipelines/npm-publish-rush.yaml | 17 +++++++---------- common/config/azure-pipelines/npm-publish.yaml | 7 +++++++ .../azure-pipelines/templates/publish.yaml | 5 ++++- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/common/config/azure-pipelines/npm-publish-rush.yaml b/common/config/azure-pipelines/npm-publish-rush.yaml index 4ac6559321a..c5d1040b466 100644 --- a/common/config/azure-pipelines/npm-publish-rush.yaml +++ b/common/config/azure-pipelines/npm-publish-rush.yaml @@ -4,6 +4,12 @@ variables: - name: SourceBranch value: $[ replace(replace(resources.repositories.self.ref, 'refs/heads/', ''), 'refs/pull/', 'refs/remotes/pull/') ] +parameteres: + - name: PublishVersionTag + displayName: 'Publish Version (Default is latest)' + type: string + default: 'latest' + resources: repositories: - repository: 1esPipelines @@ -37,11 +43,6 @@ extends: - template: /common/config/azure-pipelines/templates/build.yaml@self - - template: /common/config/azure-pipelines/templates/bump-versions.yaml@self - parameters: - VersionPolicyName: noRush - BranchName: $(SourceBranch) - - template: /common/config/azure-pipelines/templates/bump-versions.yaml@self parameters: VersionPolicyName: rush @@ -50,14 +51,10 @@ extends: - script: 'node libraries/rush-lib/scripts/plugins-prepublish.js' displayName: 'Prepublish workaround for rush-lib' - - template: /common/config/azure-pipelines/templates/publish.yaml@self - parameters: - VersionPolicyName: noRush - BranchName: $(SourceBranch) - - template: /common/config/azure-pipelines/templates/publish.yaml@self parameters: VersionPolicyName: rush BranchName: $(SourceBranch) + PublishVersionTag: ${{ parameters.PublishVersionTag }} - template: /common/config/azure-pipelines/templates/record-published-versions.yaml@self diff --git a/common/config/azure-pipelines/npm-publish.yaml b/common/config/azure-pipelines/npm-publish.yaml index f1c6261e34d..20aa4efd668 100644 --- a/common/config/azure-pipelines/npm-publish.yaml +++ b/common/config/azure-pipelines/npm-publish.yaml @@ -4,6 +4,12 @@ variables: - name: SourceBranch value: $[ replace(replace(resources.repositories.self.ref, 'refs/heads/', ''), 'refs/pull/', 'refs/remotes/pull/') ] +parameteres: + - name: PublishVersionTag + displayName: 'Publish Version (Default is latest)' + type: string + default: 'latest' + resources: repositories: - repository: 1esPipelines @@ -53,5 +59,6 @@ extends: parameters: VersionPolicyName: noRush BranchName: $(SourceBranch) + PublishVersionTag: ${{ parameters.PublishVersionTag }} - template: /common/config/azure-pipelines/templates/record-published-versions.yaml@self diff --git a/common/config/azure-pipelines/templates/publish.yaml b/common/config/azure-pipelines/templates/publish.yaml index 65ca8bee0c9..148f17c8bd8 100644 --- a/common/config/azure-pipelines/templates/publish.yaml +++ b/common/config/azure-pipelines/templates/publish.yaml @@ -4,7 +4,10 @@ parameters: - name: BranchName type: string default: $(Build.SourceBranchName) + - name: PublishVersionTag + type: string + default: latest steps: - - script: 'node common/scripts/install-run-rush.js publish --apply --pack --release-folder $(Build.ArtifactStagingDirectory)/packages --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details --set-access-level public' + - script: 'node common/scripts/install-run-rush.js publish --apply --pack --release-folder $(Build.ArtifactStagingDirectory)/packages --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details --tag ${{ parameters.PublishVersionTag }}' displayName: 'Rush Publish (Policy: ${{ parameters.VersionPolicyName }})' From 4287f47ee231d302ac498f7f934a978e30696ea2 Mon Sep 17 00:00:00 2001 From: ating Date: Wed, 6 Aug 2025 15:59:54 -0700 Subject: [PATCH 04/21] modified npm-publish-rush to publish artifacts as packages --- common/config/azure-pipelines/npm-publish-rush.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/config/azure-pipelines/npm-publish-rush.yaml b/common/config/azure-pipelines/npm-publish-rush.yaml index c5d1040b466..a23b6950750 100644 --- a/common/config/azure-pipelines/npm-publish-rush.yaml +++ b/common/config/azure-pipelines/npm-publish-rush.yaml @@ -35,6 +35,10 @@ extends: - output: pipelineArtifact targetPath: $(Build.ArtifactStagingDirectory)/published-versions artifactName: published-versions + - output: pipelineArtifact + targetPath: $(Build.ArtifactStagingDirectory)/packages + displayName: 'Publish Rushstack Artifacts: rushstack-packages' + artifactName: rushstack-packages steps: - checkout: self persistCredentials: true From 9a6f95b20560c9d1aa4f61888e701defaa097121 Mon Sep 17 00:00:00 2001 From: ating Date: Mon, 11 Aug 2025 12:04:40 -0700 Subject: [PATCH 05/21] create version text file --- common/config/azure-pipelines/templates/publish.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/config/azure-pipelines/templates/publish.yaml b/common/config/azure-pipelines/templates/publish.yaml index 148f17c8bd8..dbeaff4eff9 100644 --- a/common/config/azure-pipelines/templates/publish.yaml +++ b/common/config/azure-pipelines/templates/publish.yaml @@ -9,5 +9,10 @@ parameters: default: latest steps: - - script: 'node common/scripts/install-run-rush.js publish --apply --pack --release-folder $(Build.ArtifactStagingDirectory)/packages --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details --tag ${{ parameters.PublishVersionTag }}' + - script: 'node common/scripts/install-run-rush.js publish --apply --pack --release-folder $(Build.ArtifactStagingDirectory)/packages --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details' displayName: 'Rush Publish (Policy: ${{ parameters.VersionPolicyName }})' + + - script: | + mkdir -p "$(Build.ArtifactStagingDirectory)/published-versions" + echo "${{ parameters.PublishVersionTag }}" > "$(Build.ArtifactStagingDirectory)/published-versions/version.txt" + displayName: 'Create version.txt with publish tag' From c450ebcbcfcd47d52121037071e7c12f70d7317d Mon Sep 17 00:00:00 2001 From: atingmicrosoft <115047461+atingmicrosoft@users.noreply.github.com> Date: Mon, 11 Aug 2025 17:13:41 -0700 Subject: [PATCH 06/21] Update text file specifications of saving the version Co-authored-by: Ian Clanton-Thuon --- common/config/azure-pipelines/templates/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/config/azure-pipelines/templates/publish.yaml b/common/config/azure-pipelines/templates/publish.yaml index dbeaff4eff9..a826b024c85 100644 --- a/common/config/azure-pipelines/templates/publish.yaml +++ b/common/config/azure-pipelines/templates/publish.yaml @@ -13,6 +13,6 @@ steps: displayName: 'Rush Publish (Policy: ${{ parameters.VersionPolicyName }})' - script: | - mkdir -p "$(Build.ArtifactStagingDirectory)/published-versions" - echo "${{ parameters.PublishVersionTag }}" > "$(Build.ArtifactStagingDirectory)/published-versions/version.txt" + echo "${{ parameters.PublishVersionTag }}" > "$(Build.ArtifactStagingDirectory)/npm-tag" + displayName: 'Create version.txt with publish tag' From aa49746fe95adff45c9e4dc17a44864a4686d5c8 Mon Sep 17 00:00:00 2001 From: ating Date: Mon, 11 Aug 2025 17:20:12 -0700 Subject: [PATCH 07/21] fixed typo --- common/config/azure-pipelines/npm-publish-rush.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/config/azure-pipelines/npm-publish-rush.yaml b/common/config/azure-pipelines/npm-publish-rush.yaml index a23b6950750..7a6200193e9 100644 --- a/common/config/azure-pipelines/npm-publish-rush.yaml +++ b/common/config/azure-pipelines/npm-publish-rush.yaml @@ -4,7 +4,7 @@ variables: - name: SourceBranch value: $[ replace(replace(resources.repositories.self.ref, 'refs/heads/', ''), 'refs/pull/', 'refs/remotes/pull/') ] -parameteres: +parameters: - name: PublishVersionTag displayName: 'Publish Version (Default is latest)' type: string From c8235fcac03fa4ec827df7b200e47d4b603612b7 Mon Sep 17 00:00:00 2001 From: Ian Clanton-Thuon Date: Tue, 12 Aug 2025 13:53:32 -0700 Subject: [PATCH 08/21] !fixup fixed typo --- common/config/azure-pipelines/npm-publish.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/config/azure-pipelines/npm-publish.yaml b/common/config/azure-pipelines/npm-publish.yaml index 20aa4efd668..629ea8dfedb 100644 --- a/common/config/azure-pipelines/npm-publish.yaml +++ b/common/config/azure-pipelines/npm-publish.yaml @@ -4,7 +4,8 @@ variables: - name: SourceBranch value: $[ replace(replace(resources.repositories.self.ref, 'refs/heads/', ''), 'refs/pull/', 'refs/remotes/pull/') ] -parameteres: +parameters: + - name: PublishVersionTag displayName: 'Publish Version (Default is latest)' type: string From 49122f449afa686b1f94fe333dbdbd86611b58cd Mon Sep 17 00:00:00 2001 From: Rushbot Date: Tue, 12 Aug 2025 21:05:42 +0000 Subject: [PATCH 09/21] Update changelogs [skip ci] --- .../main_2025-08-04-19-18.json | 10 ---------- .../CHANGELOG.json | 12 ++++++++++++ .../CHANGELOG.md | 9 ++++++++- 3 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json diff --git a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json deleted file mode 100644 index 03cf6c84643..00000000000 --- a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin", - "comment": "Manually process wildcard directories for watching instead of watching all read directories.", - "type": "patch" - } - ], - "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin" -} \ No newline at end of file diff --git a/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.json b/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.json index 2a09c171711..72b8b0d7eac 100644 --- a/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.json +++ b/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@rushstack/heft-isolated-typescript-transpile-plugin", "entries": [ + { + "version": "0.2.2", + "tag": "@rushstack/heft-isolated-typescript-transpile-plugin_v0.2.2", + "date": "Tue, 12 Aug 2025 21:05:42 GMT", + "comments": { + "patch": [ + { + "comment": "Manually process wildcard directories for watching instead of watching all read directories." + } + ] + } + }, { "version": "0.2.1", "tag": "@rushstack/heft-isolated-typescript-transpile-plugin_v0.2.1", diff --git a/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.md b/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.md index dc260fa8617..4c021fa46f7 100644 --- a/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.md +++ b/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @rushstack/heft-isolated-typescript-transpile-plugin -This log was last generated on Fri, 01 Aug 2025 00:12:49 GMT and should not be manually modified. +This log was last generated on Tue, 12 Aug 2025 21:05:42 GMT and should not be manually modified. + +## 0.2.2 +Tue, 12 Aug 2025 21:05:42 GMT + +### Patches + +- Manually process wildcard directories for watching instead of watching all read directories. ## 0.2.1 Fri, 01 Aug 2025 00:12:49 GMT From 32c99addb55f8fa6dead76131c5d8dfcfb18dcb7 Mon Sep 17 00:00:00 2001 From: Rushbot Date: Tue, 12 Aug 2025 21:05:44 +0000 Subject: [PATCH 10/21] Bump versions [skip ci] --- .../heft-isolated-typescript-transpile-plugin/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json b/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json index e2efc380908..b9c91269687 100644 --- a/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json +++ b/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@rushstack/heft-isolated-typescript-transpile-plugin", - "version": "0.2.1", + "version": "0.2.2", "description": "Heft plugin for transpiling TypeScript with SWC", "repository": { "type": "git", From 53ced896e646b97e0da3776c850e77189b88e2bd Mon Sep 17 00:00:00 2001 From: ating Date: Tue, 12 Aug 2025 15:57:15 -0700 Subject: [PATCH 11/21] added publish flag back to publish packages as tarballs. Modified rush publish descriptions for clarity. --- common/config/azure-pipelines/templates/publish.yaml | 2 +- libraries/rush-lib/src/cli/actions/PublishAction.ts | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common/config/azure-pipelines/templates/publish.yaml b/common/config/azure-pipelines/templates/publish.yaml index a826b024c85..45248a823fe 100644 --- a/common/config/azure-pipelines/templates/publish.yaml +++ b/common/config/azure-pipelines/templates/publish.yaml @@ -9,7 +9,7 @@ parameters: default: latest steps: - - script: 'node common/scripts/install-run-rush.js publish --apply --pack --release-folder $(Build.ArtifactStagingDirectory)/packages --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details' + - script: 'node common/scripts/install-run-rush.js publish --publish --apply --pack --release-folder $(Build.ArtifactStagingDirectory)/packages --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details' displayName: 'Rush Publish (Policy: ${{ parameters.VersionPolicyName }})' - script: | diff --git a/libraries/rush-lib/src/cli/actions/PublishAction.ts b/libraries/rush-lib/src/cli/actions/PublishAction.ts index e80874c8858..969fc88907e 100644 --- a/libraries/rush-lib/src/cli/actions/PublishAction.ts +++ b/libraries/rush-lib/src/cli/actions/PublishAction.ts @@ -82,7 +82,9 @@ export class PublishAction extends BaseRushAction { this._publish = this.defineFlagParameter({ parameterLongName: '--publish', parameterShortName: '-p', - description: 'If this flag is specified, applied changes will be published to the NPM registry.' + description: + 'If this flag is specified, applied changes will be published to the NPM registry. ' + + 'This flag must be specified with --pack to publish packages as tarballs, or else the run will only be a dry run.' }); this._addCommitDetails = this.defineFlagParameter({ parameterLongName: '--add-commit-details', @@ -140,7 +142,8 @@ export class PublishAction extends BaseRushAction { parameterLongName: '--pack', description: `Packs projects into tarballs instead of publishing to npm repository. It can only be used when ` + - `--include-all is specified. If this flag is specified, NPM registry related parameters will be ignored.` + `--include-all is specified. If this flag is specified, NPM registry related parameters will be ignored.` + + `--publish must be specified to publish as tarballs, or else the run will only be a dry run. ` }); this._releaseFolder = this.defineStringParameter({ parameterLongName: '--release-folder', From d517cffb73f82225853c89c635e43719e09a7f2b Mon Sep 17 00:00:00 2001 From: ating Date: Tue, 12 Aug 2025 16:04:16 -0700 Subject: [PATCH 12/21] rush change --- ...publish-packages-as-artifacts_2025-08-12-23-03.json | 10 ++++++++++ ...publish-packages-as-artifacts_2025-08-12-23-03.json | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 common/changes/@microsoft/rush/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json create mode 100644 common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json diff --git a/common/changes/@microsoft/rush/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json b/common/changes/@microsoft/rush/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json new file mode 100644 index 00000000000..ef9ca66ecb1 --- /dev/null +++ b/common/changes/@microsoft/rush/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/rush", + "comment": "Updated descriptions for rush publish for packages published as tarballs. ", + "type": "none" + } + ], + "packageName": "@microsoft/rush" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json new file mode 100644 index 00000000000..fbd4c12b6b9 --- /dev/null +++ b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin" +} \ No newline at end of file From ccb435c7e23f049a1763e2ffaeb6ef8a81a3a722 Mon Sep 17 00:00:00 2001 From: atingmicrosoft <115047461+atingmicrosoft@users.noreply.github.com> Date: Tue, 12 Aug 2025 16:47:16 -0700 Subject: [PATCH 13/21] Updated description for --publish flag Co-authored-by: Ian Clanton-Thuon --- libraries/rush-lib/src/cli/actions/PublishAction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/rush-lib/src/cli/actions/PublishAction.ts b/libraries/rush-lib/src/cli/actions/PublishAction.ts index 969fc88907e..5c17b507fc1 100644 --- a/libraries/rush-lib/src/cli/actions/PublishAction.ts +++ b/libraries/rush-lib/src/cli/actions/PublishAction.ts @@ -84,7 +84,7 @@ export class PublishAction extends BaseRushAction { parameterShortName: '-p', description: 'If this flag is specified, applied changes will be published to the NPM registry. ' + - 'This flag must be specified with --pack to publish packages as tarballs, or else the run will only be a dry run.' + 'If the --pack flag is passed, this flag must also be included, otherwise tarballs will not be produced.' }); this._addCommitDetails = this.defineFlagParameter({ parameterLongName: '--add-commit-details', From e9a897cd6dca80243faa8933ebd7c81ea0a23797 Mon Sep 17 00:00:00 2001 From: atingmicrosoft <115047461+atingmicrosoft@users.noreply.github.com> Date: Tue, 12 Aug 2025 16:47:37 -0700 Subject: [PATCH 14/21] Updated description for --pack flag Co-authored-by: Ian Clanton-Thuon --- libraries/rush-lib/src/cli/actions/PublishAction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/rush-lib/src/cli/actions/PublishAction.ts b/libraries/rush-lib/src/cli/actions/PublishAction.ts index 5c17b507fc1..60d45621ff0 100644 --- a/libraries/rush-lib/src/cli/actions/PublishAction.ts +++ b/libraries/rush-lib/src/cli/actions/PublishAction.ts @@ -143,7 +143,7 @@ export class PublishAction extends BaseRushAction { description: `Packs projects into tarballs instead of publishing to npm repository. It can only be used when ` + `--include-all is specified. If this flag is specified, NPM registry related parameters will be ignored.` + - `--publish must be specified to publish as tarballs, or else the run will only be a dry run. ` + `--publish must be specified to produce as tarballs, otherwise a dry run will be performed.` }); this._releaseFolder = this.defineStringParameter({ parameterLongName: '--release-folder', From 51cd11e5676bb2db89d7f289052250fbb4605b9d Mon Sep 17 00:00:00 2001 From: ating Date: Tue, 12 Aug 2025 16:48:01 -0700 Subject: [PATCH 15/21] Revert "Update changelogs [skip ci]" This reverts commit 49122f449afa686b1f94fe333dbdbd86611b58cd. --- .../main_2025-08-04-19-18.json | 10 ++++++++++ .../CHANGELOG.json | 12 ------------ .../CHANGELOG.md | 9 +-------- 3 files changed, 11 insertions(+), 20 deletions(-) create mode 100644 common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json diff --git a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json new file mode 100644 index 00000000000..03cf6c84643 --- /dev/null +++ b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin", + "comment": "Manually process wildcard directories for watching instead of watching all read directories.", + "type": "patch" + } + ], + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin" +} \ No newline at end of file diff --git a/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.json b/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.json index 72b8b0d7eac..2a09c171711 100644 --- a/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.json +++ b/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.json @@ -1,18 +1,6 @@ { "name": "@rushstack/heft-isolated-typescript-transpile-plugin", "entries": [ - { - "version": "0.2.2", - "tag": "@rushstack/heft-isolated-typescript-transpile-plugin_v0.2.2", - "date": "Tue, 12 Aug 2025 21:05:42 GMT", - "comments": { - "patch": [ - { - "comment": "Manually process wildcard directories for watching instead of watching all read directories." - } - ] - } - }, { "version": "0.2.1", "tag": "@rushstack/heft-isolated-typescript-transpile-plugin_v0.2.1", diff --git a/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.md b/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.md index 4c021fa46f7..dc260fa8617 100644 --- a/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.md +++ b/heft-plugins/heft-isolated-typescript-transpile-plugin/CHANGELOG.md @@ -1,13 +1,6 @@ # Change Log - @rushstack/heft-isolated-typescript-transpile-plugin -This log was last generated on Tue, 12 Aug 2025 21:05:42 GMT and should not be manually modified. - -## 0.2.2 -Tue, 12 Aug 2025 21:05:42 GMT - -### Patches - -- Manually process wildcard directories for watching instead of watching all read directories. +This log was last generated on Fri, 01 Aug 2025 00:12:49 GMT and should not be manually modified. ## 0.2.1 Fri, 01 Aug 2025 00:12:49 GMT From 2de39ef90003cc3ce630420987149b68e35e90e0 Mon Sep 17 00:00:00 2001 From: ating Date: Tue, 12 Aug 2025 16:48:01 -0700 Subject: [PATCH 16/21] Revert "Bump versions [skip ci]" This reverts commit 32c99addb55f8fa6dead76131c5d8dfcfb18dcb7. --- .../heft-isolated-typescript-transpile-plugin/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json b/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json index b9c91269687..e2efc380908 100644 --- a/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json +++ b/heft-plugins/heft-isolated-typescript-transpile-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@rushstack/heft-isolated-typescript-transpile-plugin", - "version": "0.2.2", + "version": "0.2.1", "description": "Heft plugin for transpiling TypeScript with SWC", "repository": { "type": "git", From 0d4eb88549f962dfdd64bc79dd17cb304665f925 Mon Sep 17 00:00:00 2001 From: ating Date: Tue, 12 Aug 2025 16:56:12 -0700 Subject: [PATCH 17/21] revert rush change --- ...publish-packages-as-artifacts_2025-08-12-23-03.json | 10 ---------- .../main_2025-08-04-19-18.json | 10 ---------- 2 files changed, 20 deletions(-) delete mode 100644 common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json delete mode 100644 common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json diff --git a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json deleted file mode 100644 index fbd4c12b6b9..00000000000 --- a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin", - "comment": "", - "type": "none" - } - ], - "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin" -} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json deleted file mode 100644 index 03cf6c84643..00000000000 --- a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin", - "comment": "Manually process wildcard directories for watching instead of watching all read directories.", - "type": "patch" - } - ], - "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin" -} \ No newline at end of file From c8eaff6b1ae7d4ba0645055505b9064d8361a5e9 Mon Sep 17 00:00:00 2001 From: ating Date: Tue, 12 Aug 2025 16:58:43 -0700 Subject: [PATCH 18/21] Revert "revert rush change" This reverts commit 0d4eb88549f962dfdd64bc79dd17cb304665f925. --- ...publish-packages-as-artifacts_2025-08-12-23-03.json | 10 ++++++++++ .../main_2025-08-04-19-18.json | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json create mode 100644 common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json diff --git a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json new file mode 100644 index 00000000000..fbd4c12b6b9 --- /dev/null +++ b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json new file mode 100644 index 00000000000..03cf6c84643 --- /dev/null +++ b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/main_2025-08-04-19-18.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin", + "comment": "Manually process wildcard directories for watching instead of watching all read directories.", + "type": "patch" + } + ], + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin" +} \ No newline at end of file From e00a99fca04320d60679cca145db938c3f532209 Mon Sep 17 00:00:00 2001 From: ating Date: Tue, 12 Aug 2025 17:01:20 -0700 Subject: [PATCH 19/21] reverted rush change for heft-isolated-typescript-transpile-plugin --- ...publish-packages-as-artifacts_2025-08-12-23-03.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json diff --git a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json deleted file mode 100644 index fbd4c12b6b9..00000000000 --- a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin", - "comment": "", - "type": "none" - } - ], - "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin" -} \ No newline at end of file From e3a24a9825da53a245b4700d9565139eaa06078a Mon Sep 17 00:00:00 2001 From: ating Date: Tue, 12 Aug 2025 17:07:12 -0700 Subject: [PATCH 20/21] minor grammatical and spacing fixes --- ...eline-to-publish-packages-as-artifacts_2025-08-12-23-03.json | 2 +- common/config/azure-pipelines/npm-publish.yaml | 1 - common/config/azure-pipelines/templates/publish.yaml | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/common/changes/@microsoft/rush/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json b/common/changes/@microsoft/rush/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json index ef9ca66ecb1..82112012e45 100644 --- a/common/changes/@microsoft/rush/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json +++ b/common/changes/@microsoft/rush/ating-update-publish-pipeline-to-publish-packages-as-artifacts_2025-08-12-23-03.json @@ -2,7 +2,7 @@ "changes": [ { "packageName": "@microsoft/rush", - "comment": "Updated descriptions for rush publish for packages published as tarballs. ", + "comment": "Update descriptions for rush publish for packages published as tarballs. ", "type": "none" } ], diff --git a/common/config/azure-pipelines/npm-publish.yaml b/common/config/azure-pipelines/npm-publish.yaml index 629ea8dfedb..23c46467224 100644 --- a/common/config/azure-pipelines/npm-publish.yaml +++ b/common/config/azure-pipelines/npm-publish.yaml @@ -5,7 +5,6 @@ variables: value: $[ replace(replace(resources.repositories.self.ref, 'refs/heads/', ''), 'refs/pull/', 'refs/remotes/pull/') ] parameters: - - name: PublishVersionTag displayName: 'Publish Version (Default is latest)' type: string diff --git a/common/config/azure-pipelines/templates/publish.yaml b/common/config/azure-pipelines/templates/publish.yaml index 45248a823fe..61c46c6e7a5 100644 --- a/common/config/azure-pipelines/templates/publish.yaml +++ b/common/config/azure-pipelines/templates/publish.yaml @@ -14,5 +14,4 @@ steps: - script: | echo "${{ parameters.PublishVersionTag }}" > "$(Build.ArtifactStagingDirectory)/npm-tag" - displayName: 'Create version.txt with publish tag' From cb75f44da49e82829ad145651f5f5cabee050efa Mon Sep 17 00:00:00 2001 From: ating Date: Mon, 25 Aug 2025 14:14:35 -0700 Subject: [PATCH 21/21] rush snapshot update --- .../src/api/test/__snapshots__/RushCommandLine.test.ts.snap | 4 ++-- .../src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libraries/rush-lib/src/api/test/__snapshots__/RushCommandLine.test.ts.snap b/libraries/rush-lib/src/api/test/__snapshots__/RushCommandLine.test.ts.snap index 3235af39fcf..5a6bc6c6d70 100644 --- a/libraries/rush-lib/src/api/test/__snapshots__/RushCommandLine.test.ts.snap +++ b/libraries/rush-lib/src/api/test/__snapshots__/RushCommandLine.test.ts.snap @@ -638,7 +638,7 @@ Object { "shortName": "-b", }, Object { - "description": "If this flag is specified, applied changes will be published to the NPM registry.", + "description": "If this flag is specified, applied changes will be published to the NPM registry. If the --pack flag is passed, this flag must also be included, otherwise tarballs will not be produced.", "environmentVariable": undefined, "kind": "Flag", "longName": "--publish", @@ -694,7 +694,7 @@ Object { "shortName": undefined, }, Object { - "description": "Packs projects into tarballs instead of publishing to npm repository. It can only be used when --include-all is specified. If this flag is specified, NPM registry related parameters will be ignored.", + "description": "Packs projects into tarballs instead of publishing to npm repository. It can only be used when --include-all is specified. If this flag is specified, NPM registry related parameters will be ignored.--publish must be specified to produce as tarballs, otherwise a dry run will be performed.", "environmentVariable": undefined, "kind": "Flag", "longName": "--pack", diff --git a/libraries/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap b/libraries/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap index c82ab63b20a..6e361421075 100644 --- a/libraries/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap +++ b/libraries/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap @@ -1033,7 +1033,9 @@ Optional arguments: deleted change requests will be committed and merged into the target branch. -p, --publish If this flag is specified, applied changes will be - published to the NPM registry. + published to the NPM registry. If the --pack flag is + passed, this flag must also be included, otherwise + tarballs will not be produced. --add-commit-details Adds commit author and hash to the changelog.json files for each change. --regenerate-changelogs @@ -1071,6 +1073,8 @@ Optional arguments: npm repository. It can only be used when --include-all is specified. If this flag is specified, NPM registry related parameters will be ignored. + --publish must be specified to produce as tarballs, + otherwise a dry run will be performed. --release-folder FOLDER This parameter is used with --pack parameter to provide customized location for the tarballs instead