-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Closed
Copy link
Labels
Bugthing that needs fixingthing that needs fixingRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Milestone
Description
Current Behavior:
When using workspaces, it seems npm install
only detects the dependencies of a workspace package the very first time. Any subsequent changes to the dependencies
or devDependencies
of workspace package are ignored.
Expected Behavior:
If a dependency
or devDependency
is added/changed/removed from the package.json
of workspace package then running npm install
should update the package-lock.json
file.
Steps To Reproduce:
I made a repository here with instructions - https://github.com/sheepsteak/npm-workspaces-bug.
Environment:
- OS: macOS Catalina 10.15.7 (19H2)
- Node: 12.18.2
- npm: 7.0.2
justinfagnani, Ymirke, lukasgeiter and screendriver
Metadata
Metadata
Labels
Bugthing that needs fixingthing that needs fixingRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release