Is this a feature or a bug?
Please describe the actual behavior.
I had package-lock=false in my .npmrc file in my user home directory. I had it in a bunch of other places too, but that did not affect anything (like the rush config directory and the root of the project).
Having this property actually causes pnpm to pick it up and neither generate or modify any lock files whatsoever, both 2.x and 3.x.
This essentially fails a rush install command, and if you delete the lock file and try rush update, rush will tell you that it failed to load the lock file.
If the issue is a bug, how can we reproduce it? Please provide detailed steps and include a GitHub branch if applicable. Your issue will get resolved faster if you can make it easy to investigate.
Just put package-lock=false in a npmrc file in your home directory.
What is the expected behavior?
I'd like some kind of warning about this from rush, or that rush forces pnpm to use lock file since the rush logic depends on it today.
If this is a bug, please provide the tool version, Node.js version, and OS.
- Tool: rush+pnpm
- Tool Version: all
- Node Version: all
- Is this a LTS version? yes
- Have you tested on a LTS version? yes
- OS: Ubuntu
Is this a feature or a bug?
Please describe the actual behavior.
I had package-lock=false in my .npmrc file in my user home directory. I had it in a bunch of other places too, but that did not affect anything (like the rush config directory and the root of the project).
Having this property actually causes pnpm to pick it up and neither generate or modify any lock files whatsoever, both 2.x and 3.x.
This essentially fails a rush install command, and if you delete the lock file and try rush update, rush will tell you that it failed to load the lock file.
If the issue is a bug, how can we reproduce it? Please provide detailed steps and include a GitHub branch if applicable. Your issue will get resolved faster if you can make it easy to investigate.
Just put package-lock=false in a npmrc file in your home directory.
What is the expected behavior?
I'd like some kind of warning about this from rush, or that rush forces pnpm to use lock file since the rush logic depends on it today.
If this is a bug, please provide the tool version, Node.js version, and OS.