← Back to issue list

Support run commands in the nodejs plugin

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1627871
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed resolved

Reason: PR #810 was merged as commit a83d75e13 and added the requested mechanism for running npm run commands in the Node.js plugin.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Support run commands in the nodejs plugin. 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 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.
stealth/space-bunny-alpha — closed resolved Added nodejs plugin support for npm run build, assembly, and packaging scripts via merged snapcraft PR #810 (commit a83d75e13).
stealth/space-bunny-alpha — closed resolved Added Node.js plugin support for npm run commands in PR #810 (commit a83d75e13); follow-up PR #936 fixed install timing for npm run builds.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The feature request to enable npm run command support in the nodejs plugin was not addressed or merged, remaining unimplemented due to lack of discussion.
qwen/qwen3.6-35b-a3b — — Requesting npm run command support in the nodejs plugin was closed without implementation. No patches were submitted, indicating the feature was abandoned or superseded by later updates.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to add npm run command support to the nodejs plugin was abandoned or superseded, as no pull requests were merged and the issue saw no discussion over nine years.
qwen3.6-35b-a3b-mtp-q6 — — Feature request for npm run command support in the nodejs plugin was closed without resolution, indicating it was abandoned or superseded by later updates.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#810 (confidence 100%)

    Merged PR implementing npm run command support in commit a83d75e13.

  • Related To: snapcraft#936 (confidence 95%)

    Follow-up PR moved dependency installation into the pull phase to support npm run builds.

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.
80%
#810 nodejs plugin: Add mechanism to run “npm run” commands. snapcraft merged Merged PR #810 in commit a83d75e13, adding Node.js plugin support for npm-run build commands; follow-up #936 enabled dependency installation during pull.
75%