-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Bugthing that needs fixingthing that needs fixingPriority 2secondary priority issuesecondary priority issueRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 releaseconfig:workspacesrelated to `--workspaces`related to `--workspaces`ws:libnpmpackRelated to the libnpmpack workspaceRelated to the libnpmpack workspace
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
In a project with workspaces, run "npm install" and then "npm pack -w a" from the root. Packages specified under bundledDependencies of package/a are NOT included inside the node_modules of the resulting tarball (a-1.0.0.tgz)
Expected Behavior
Packages specified under bundledDependencies of package/a are included inside the node_modules of the resulting tarball (a-1.0.0.tgz)
Steps To Reproduce
- Clone this sample repository
- Ensure you are running npm >= 7
- Run
npm install
in the root of the repository - Run
npm pack -w a
in the root of the repository - Inspect the resulting tarball (a-1.0.0.tgz)
-> Missing bundledDependencies package in node_modules, although package/a declares bundledDependencies
Environment
- OS: macOS 10.15.17
- Node: 15.8.0
- npm: 7.18.1
t1m0thyj, awharn, zFernand0, MikeBauerCA, dkelosky and 52 moreeverett1992, kristiannotari, mcdurdin, jmrtinb, andreidmt and 2 more
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingPriority 2secondary priority issuesecondary priority issueRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 releaseconfig:workspacesrelated to `--workspaces`related to `--workspaces`ws:libnpmpackRelated to the libnpmpack workspaceRelated to the libnpmpack workspace