feat: Unify CLI bundling and publishing process

This commit unifies the bundling and publishing process for the CLI package across both npmjs.org and GitHub Packages.

- The  script has been updated to only rename packages for the GitHub registry, removing the bundle copying and package.json modification logic.
- The  has been modified to remove the  flag from the CLI publish step, ensuring the root package (which includes the bundled executable) is published.

This ensures a consistent, bundled artifact is published to both registries.
This commit is contained in:
mkorwel
2025-10-21 17:26:39 -07:00
parent 9fadff531a
commit 5e58f5ea3c
2 changed files with 8 additions and 36 deletions
@@ -196,7 +196,6 @@ runs:
run: |
npm publish \
--dry-run="${{ inputs.dry-run }}" \
--workspace="${{ inputs.cli-package-name }}" \
--no-tag
npm dist-tag rm ${{ inputs.cli-package-name }} false --silent