nodejs plugin: Add mechanism to run “npm run” commands.
Metadata
Current evaluation
Merged PR #810 in commit a83d75e13, adding Node.js plugin support for npm-run build commands; follow-up #936 enabled dependency installation during pull.
Resolution: closed resolved
Reason: PR #810 was merged as commit a83d75e13, adding the npm-run mechanism. Follow-up PR #936, commit 0497daaac, installed dependencies during pull so those commands could access them.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Some complex projects don't install with “npm install”; rather they use “npm run” commands to drive their build, assembly, and packaging.
This support is required to build a snap from (at least) https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #810 in commit a83d75e13, adding Node.js plugin support for npm-run build commands; follow-up #936 enabled dependency installation during pull. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #810, adding nodejs plugin support for custom npm run build, assembly, and packaging scripts (commit a83d75e13). | |
| qwen/qwen3.6-35b-a3b | — | — | Merged support for npm run commands in the nodejs plugin. Enables snap builds for projects relying on custom npm scripts instead of standard npm install. Approved by reviewers and integrated into the codebase. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Added npm run command support to the nodejs plugin, enabling snap builds for projects relying on npm scripts. Approved by maintainers and merged after testing confirmation. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#936
(confidence 99%)
Merged follow-up that installed Node.js dependencies during pull to support npm-run commands.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #936 nodejs plugin: install during pull to support npm run | snapcraft | merged | Merged in snapcraft#936 (commit 0497daaac), installing Node.js dependencies during pull so npm run commands can access them. | |
| #1627871 Support run commands in the nodejs plugin | snapcraft (launchpad) | closed | Merged snapcraft#810 in commit a83d75e13, adding Node.js plugin support for npm run build, assembly, and packaging commands. Follow-up snapcraft#936 enabled dependency installation during pull. | |
| #762 node plugin: run build in pull phase to download dependencies. | snapcraft | merged | Merged PR #762 as commit 0b3283081, moving npm dependency downloads to pull and enabling offline builds with --cache-min=Infinity. |