Skip to content

chore: rename npm package to @volcano.dev/cli#36

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

chore: rename npm package to @volcano.dev/cli#36
tkkhq merged 1 commit into
mainfrom
rename-npm-scope

Conversation

@tkkhq

@tkkhq tkkhq commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Renames the npm package from @kong/volcano-cli to @volcano.dev/cli so it matches the target npm scope we publish under.

Changes

  • package.jsonname: @volcano.dev/cli
  • README.md — install command → npm install -g @volcano.dev/cli

Unchanged (intentionally)

  • repository.url stays git+https://github.com/Kong/volcano-cli.git — it must match the GitHub repo for npm trusted publishing, and is independent of the package name.
  • bin stays volcano — the installed command name is unaffected.
  • publishConfig.access: public, homepage, and bugs (GitHub repo) unchanged.
  • Trusted-publisher config is also unaffected (org Kong, repo volcano-cli, workflow publish-cli.yml).

Verification

  • package.json valid; name reflected in npm pack --dry-run (volcano.dev-cli-0.0.0.tgz, 6 files, ~10 kB)
  • No stale @kong/volcano-cli references remain
  • New name passes npm's package-name rules (URL-safe scope + name, lowercase, ≤ 214 chars)

Note

Publishing requires the @volcano.dev scope (npm org/user) to exist and the publisher to have write access. Worth confirming the org is registerable on npmjs.com — npm organization names have historically been restricted to lowercase letters, numbers, and hyphens, so please verify a dotted scope (volcano.dev) is accepted before the bootstrap publish.

Publish under the @volcano.dev/cli scope to match the target npm package name.
Only the npm package name changes; the volcano bin command, repository.url
(github.com/Kong/volcano-cli, required for trusted publishing), and public
access are unchanged.
Copilot AI review requested due to automatic review settings July 7, 2026 19:40
@tkkhq tkkhq requested a review from a team as a code owner July 7, 2026 19:40
@tkkhq tkkhq merged commit 448d0f2 into main Jul 7, 2026
9 checks passed
@tkkhq tkkhq deleted the rename-npm-scope branch July 7, 2026 19:41

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 renames the published npm package from @kong/volcano-cli to @volcano.dev/cli to align with the intended npm publishing scope. The npm package itself is a thin wrapper whose postinstall step fetches the platform-specific Go binary from GitHub Releases, so this rename affects only the install/identity of the wrapper, not the CLI functionality.

I verified that no stale @kong/volcano-cli references remain, that the publish workflow (.github/workflows/publish-cli.yml) reads the name dynamically from package.json via npm publish (no hardcoded name to update), and that the intentionally-unchanged repository.url, bin, and trusted-publisher config remain consistent. The PR description's open question about dotted scopes checks out: npm currently permits dotted scopes (e.g., @volcano.dev/cli), so the new name is valid and registerable.

Changes:

  • Update package.json name field to @volcano.dev/cli.
  • Update the README npm install command to npm install -g @volcano.dev/cli.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Renames the name field to the new @volcano.dev/cli scope.
README.md Updates the documented npm install command to the new package name.

💡 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