plugins: npm
Metadata
Current evaluation
Merged the npm plugin port from snapcraft to craft-parts. Added an npm-include-node flag defaulting to false to optionally download Node.js. Approved by reviewer and passed CI.
Suggested action: —
No scores available.
Issue body
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Port the `npm` plugin from [`snapcraft`](https://github.com/snapcore/snapcraft/blob/main/snapcraft/plugins/v2/npm.py) to `craft-parts`.
CRAFT-957
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged the npm plugin port from snapcraft to craft-parts. Added an npm-include-node flag defaulting to false to optionally download Node.js. Approved by reviewer and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the npm plugin port from snapcraft to craft-parts. Adds the npm-include-node flag, defaulting to false, to optionally download and bundle Node.js. Addresses CRAFT-957. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3161 npm v2 plugin: always include $SNAPCRAFT_PART_INSTALL/bin in $PATH | snapcraft | merged | Merged. Resolves npm v2 plugin build failures by always including $SNAPCRAFT_PART_INSTALL/bin in $PATH. Approved by reviewer, passed CI, and merged with a minimal 5-line change across two files. | |
| #198 plugins: rust | craft-parts | merged | Merged the rust plugin port from snapcraft to craft-parts. Approved by a reviewer, passed CI, and landed after related PR #199. Addresses CRAFT-955. | |
| #5031 build(deps): bump craft-parts | snapcraft | merged | Merged dependency update bumping craft-parts to fix an npm plugin bug where implicit state failed to pass between separate pull and build steps. Approved by two reviewers, passed CI, and integrated into the codebase. | |
| #184 plugins: cmake | craft-parts | merged | Merged the cmake plugin port to craft-parts following approval from two reviewers and passing CI checks. The maintainer addressed review feedback regarding leftover code prior to integration. | |
| #6080 Add pnpm plugin | snapcraft | open | Feature request to add a pnpm plugin to snapcraft, modeled on the existing npm plugin in craft-parts. Labeled triaged with internal Jira ticket SNAPCRAFT-1306 created, but no implementation progress for about 6 months. |