Skip to content
Discussion options

You must be logged in to vote

Yes, the existing comment is right that nub.lock uses the pnpm v9 lockfile schema byte-for-byte. The filename still carries some useful meaning, though: it tells Nub that the project is Nub-owned.

In practice:

  • In an existing npm, pnpm, or Bun project, Nub detects the incumbent package manager and continues reading and writing its native lockfile. It should not introduce nub.lock.
  • A fresh Nub project, or one switched with nub pm use nub, uses nub.lock.
  • Under Nub identity, Nub reads neutral configuration rather than pnpm-specific configuration such as .pnpmfile.cjs or pnpm-workspace.yaml.

So the benefit is not a different dependency graph format. It is an unambiguous package-manager ident…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@cemremengu
Comment options

Answer selected by cemremengu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants