Replies: 3 comments 8 replies
-
Does |
Beta Was this translation helpful? Give feedback.
-
Another use-case for this is to run certain tools which depend on npm's lockfile: Examples are OWASP's dependency check for vulnerabilities, and trivy docker scan. npm i --package-lock-only works as long as i don't have local package dependencies (in a monorepo). Once local packages come in, I have to do npm link and stuff. its super messy. |
Beta Was this translation helpful? Give feedback.
-
I support this and I think
If |
Beta Was this translation helpful? Give feedback.
-
Although there is a feature
pnpm import
, which imports frompackage-lock.json
topnpm-lock.yaml
, I like to have the feature to do reverse of it too.Why
Assume I'm working on a project that is not owned by me and which is using
package-lock.json
for a long time. But, I need to usepnpm
in my machine and still keeping the remote projects dependencies updated. Obviously, I cannot force the others to usepnpm
. Therefore, if I have a way to generate apackage-lock.json
from my localpnpm-lock.yaml
before pushing it will be much useful.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions