Detect package manager from package.json before lockfiles by clockwork-labs-bot · Pull Request #4814 · clockworklabs/SpacetimeDB
Navigation Menu
{{ message }}
clockworklabs / SpacetimeDB Public
- Notifications You must be signed in to change notification settings
- Fork 993
Open
clockwork-labs-bot wants to merge 1 commit intomasterfrom
Open
Detect package manager from package.json before lockfiles#4814
clockwork-labs-bot wants to merge 1 commit intomasterfrom
Detect package manager from package.json before lockfiles#4814
clockwork-labs-bot wants to merge 1 commit intomasterfrom
Conversation
Copy link Copy Markdown
Collaborator
clockwork-labs-bot
commented
Apr 15, 2026
clockwork-labs-bot
commented
Fixes #4713.
Summary
- detect the package manager from
package.json'spackageManagerfield before falling back to lockfiles - keep the existing lockfile fallback order (
pnpm-lock.yaml,yarn.lock,bun.lock*,package-lock.json) - preserve the existing npm fallback when a project has
package.jsonbut no package-manager signal
Testing
cargo test -p spacetimedb-cli package_manager -- --nocapture
clockwork-labs-bot
requested review from
bfops,
cloutiertyler and
jdetter
as code owners
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment