Skip to content

ci: exclude napi platform binary packages from Dependabot - #971

Merged
mosuka merged 2 commits into
mainfrom
ci/dependabot-ignore-napi-platform-packages
Aug 9, 2026
Merged

ci: exclude napi platform binary packages from Dependabot#971
mosuka merged 2 commits into
mainfrom
ci/dependabot-ignore-napi-platform-packages

Conversation

@mosuka

@mosuka mosuka commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

The per-platform binary packages in laurus-nodejs's
optionalDependencies (laurus-nodejs-darwin-x64,
laurus-nodejs-linux-x64-gnu, etc.) are placeholders pinned at "0.0.0"
release.yml's publish-npm job overwrites them with the real version
at publish time. Dependabot must not "update" them to whatever is
currently published on npm, so this adds an ignore rule with a
dependency-name: "laurus-nodejs-*" wildcard to the npm entry for
/laurus-nodejs.

Test plan

  • dependabot.yml parses as valid YAML; the ignore rule lands on the
    /laurus-nodejs npm entry and the wildcard covers all six platform
    packages

mosuka added 2 commits August 9, 2026 23:35
The per-platform binary packages in laurus-nodejs's optionalDependencies
(laurus-nodejs-darwin-x64 etc.) are placeholders pinned at "0.0.0" that
release.yml's publish-npm job overwrites with the real version at publish
time. Dependabot must not "update" them to whatever is currently
published on npm, so ignore them via a dependency-name wildcard.
@mosuka
mosuka merged commit 83bc730 into main Aug 9, 2026
24 checks passed
@mosuka
mosuka deleted the ci/dependabot-ignore-napi-platform-packages branch August 9, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant