← Back to issue list

nodejs plugin: Add mechanism to run “npm run” commands.

View original Github issue

Metadata

Project
snapcraft
Number
#810
Type
pull request
State
merged
Author
RAOF
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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 issues

Issue Project State Summary Similarity
#936 nodejs plugin: install during pull to support npm run snapcraft merged Merged a nodejs plugin update that installs dependencies during pull operations. This resolves npm run command failures by ensuring required packages are available. Approved by one reviewer and modified five files.
74%