-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
npm/arborist
#192Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Description
Steps To Reproduce:
/package.json
{ "workspaces": [ "sub" ] }
/sub/package.json
{ "name": "sub" }
Run npm i sub
in /
. Sub package will be linked (that is correct). But wrong item is added to /package.json
"sub": "^"
, which should be "sub": "*"
because sub doesn't have a version field.
Environment:
- Node: 14
- npm: 7.1.1
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release