You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use workspaces, and on the root level I need a previous version of a package (package was defined in workspaces), I get current (local) version of the package.
When I use workspaces, and on the root level I need a previous version of a package (package was defined in workspaces), I get current (local) version of the package.
Steps To Reproduce:
There is a file structure:
Where:
root/package.json
:root/packages/foo/package.json
:root/packages/bar/package.json
:And version
1.0.0-dev.0
of package@scope/foo
is already published in a private registry.Current Behavior:
Command
npm install
makes nextnode_modules
structure:So when I require
@scope/foo
package on the root level, I get version1.0.0-dev.1
although dependency for@scope/root
was defined as1.0.0-dev.0
.Expected Behavior:
Command
npm install
makes nextnode_modules
structure:So when I require
@scope/foo
package on the root level, I get version1.0.0-dev.0
as expected.Environment:
The text was updated successfully, but these errors were encountered: