cli
cli copied to clipboard
fix: issue #7892 prevent package-lock.json creation without package.json
fix for npm install creating package-lock.json file when accidentally run in the wrong directory in a project.
References
Fixes #7892
@wraithgar let me know how this stab looks. Appreciate the patience.
Ready for review again, thank you for your patience again!
Would be really nice to have this extremely annoying bug fixed.
just to give my 2 cents, on Windows it seems like this PR doesn't fix the issue