Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I don't know the reason that package publish contains the package.lock file.
- my node version is v16.
- my package.json files property setting include
package-lock.json
- Of course, I know that it is right not to contain lock-file, but the current problem is that I find that sometimes it is carried and sometimes it is not. I want to know if it can be set to carry it, or it will not take effect regardless of whether the setting is set or not. is it a bug?
Expected Behavior
Doesn't carry a lock file anyway, or can control it yourself, not weirdly random.
Steps To Reproduce
I can't reproduce it effectively, it's more like random
Environment
- npm: v8
- Node.js: v16
- OS Name: Linux/Mac
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I don't know the reason that package publish contains the package.lock file.
package-lock.jsonExpected Behavior
Doesn't carry a lock file anyway, or can control it yourself, not weirdly random.
Steps To Reproduce
I can't reproduce it effectively, it's more like random
Environment