Skip to content

chore: set npm package version to 0.0.4#37

Merged
tkkhq merged 1 commit into
mainfrom
npm-package-scope-version
Jul 7, 2026
Merged

chore: set npm package version to 0.0.4#37
tkkhq merged 1 commit into
mainfrom
npm-package-scope-version

Conversation

@tkkhq

@tkkhq tkkhq commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Sets the npm package version to 0.0.4 (was the 0.0.0 placeholder) so @volcano.dev/cli can be bootstrap-published cleanly.

Why

0.0.4 is the latest stable GitHub Release with downloadable binaries, so:

  • the admin's first manual publish is a plain npm publish — no npm version step needed (which would otherwise trip the prepublishOnly 0.0.0 guard, and npm version v0.0.4 would fail anyway since the v0.0.4 git tag already exists);
  • the published package's postinstall resolves the v0.0.4 release assets (verified present).

CI still runs npm version <tag> from the release tag on every future release, so this value stays current automatically — committing 0.0.4 just makes the one-time bootstrap frictionless.

Bootstrap flow (after this merges)

npm publish            # token auth, scoped-public via publishConfig.access

Then configure the OIDC trusted publisher (org Kong, repo volcano-cli, workflow publish-cli.yml, allow npm publish) and drop continue-on-error from the publish step. Subsequent stable vX.Y.Z tags publish automatically.

Verification

  • package.json valid; npm pack --dry-runvolcano.dev-cli-0.0.4.tgz (6 files)
  • v0.0.4 release SHA256SUMS + binaries return 206 (downloadable)
  • prepublishOnly 0.0.0 guard retained

Match the latest GitHub Release (v0.0.4) that has downloadable binaries so the
bootstrap publish is a plain `npm publish` (no `npm version` step) and the
package's postinstall resolves `v0.0.4` assets. CI still stamps the version
from the release tag on future releases, so this stays current automatically.
Copilot AI review requested due to automatic review settings July 7, 2026 20:09
@tkkhq tkkhq requested a review from a team as a code owner July 7, 2026 20:09
@tkkhq tkkhq merged commit 363ccef into main Jul 7, 2026
7 checks passed
@tkkhq tkkhq deleted the npm-package-scope-version branch July 7, 2026 20:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps the @volcano.dev/cli npm package version from the 0.0.0 placeholder to 0.0.4, the latest stable GitHub Release with downloadable binaries. This enables a frictionless one-time manual bootstrap publish (npm publish) without tripping the prepublishOnly 0.0.0 guard, after which CI (npm version <tag>) keeps the value current on every future release.

Changes:

  • Set package.json version to 0.0.4 (was 0.0.0).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants