feat(npm): add linux arm64 support#12
Merged
Merged
Conversation
Add a dedicated linux arm64 npm package and wire it through launcher resolution and release workflows so arm64 Linux users can install vc-cli via the scoped package. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds Linux ARM64 support to the vc-cli npm launcher by introducing a new platform-specific binary package and wiring it into runtime selection and CI release/build pipelines.
Changes:
- Add
@stefanosala/vc-cli-linux-arm64to platform package selection and optional dependencies. - Introduce new npm package
npm/cli-linux-arm64for the Linux ARM64 binary. - Extend GitHub Actions workflows to build and publish the new ARM64 artifact.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| npm/vc-cli/run.js | Adds linux-arm64 platform mapping to resolve the correct binary package at runtime. |
| npm/vc-cli/package.json | Adds linux-arm64 optional dependency so installs can pull the right binary. |
| npm/vc-cli/README.md | Documents the new linux-arm64 platform package dependency. |
| npm/cli-linux-arm64/package.json | Defines the new Linux ARM64 binary npm package metadata and bin entry. |
| .github/workflows/release-npm.yml | Adds the linux-arm64 binary path to the release mapping. |
| .github/workflows/build-binaries.yml | Adds a build matrix entry for the Linux ARM64 target. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| npm_pkg: cli-linux-x64 | ||
| binary: vc-cli | ||
| - target: aarch64-unknown-linux-gnu | ||
| os: ubuntu-24.04-arm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@stefanosala/vc-cli-linux-arm64with linux/arm64 metadataTest plan
Build Binariesand verifycli-linux-arm64artifact is producedRelease npmin dry-run mode and confirm@stefanosala/vc-cli-linux-arm64appears in the summary@stefanosala/vc-clion a linux arm64 environment and runvc-cli --helpMade with Cursor