Skip to content

Fix CLI prerelease publication tags - #20

Merged
Mathieu2301 merged 1 commit into
mainfrom
mathieu/cli-prerelease-tag
Sep 15, 2026
Merged

Mathieu2301 merged 1 commit into
mainfrom
mathieu/cli-prerelease-tag

Conversation

@Mathieu2301

Copy link
Copy Markdown
Member

Summary

  • pass an explicit npm dist-tag for both release namespaces
  • keep @miakapp/cli installable through the documented command without --tag
  • normalize the CLI bin path so npm pack no longer mutates the source tree
  • bump the unpublished CLI release to 4.0.0-alpha.3

Root cause

The cli-v4.0.0-alpha.2 workflow reached npm but npm 11 rejected the prerelease because no explicit --tag was provided. The same pack step also rewrote the bin path in the working tree.

Proof

  • bun run check: 310 passing tests
  • npm pack ./packages/cli --dry-run --json: package @miakapp/cli@4.0.0-alpha.3
  • pre/post pack diff hash unchanged

@Mathieu2301
Mathieu2301 merged commit 9dff251 into main Sep 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant