[BUG] bundled dependencies files are not shown in output of `npm pack`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.1k
- Forks
- 4.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 19
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
When using npm pack with a package that has some bundle dependencies, they are shown at the output in a === Bundled Dependencies === section, but just only their names, not the actual files being included.
Expected Behavior
Before that there's the usual === Tarball Contents === section, that the bundle dependencies files should be shown there since, in fact, they are part of the tarball contents.
Steps To Reproduce
- create a package with
bundleDependencies - run
npm pack - a
=== Bundled Dependencies ===section is added in the output, but the bundle dependencies files are not being shown in the=== Tarball Contents ===section
Environment
- npm: 9.5.0
- Node.js: 19.7.0
- OS Name: Ubuntu 22.10
- System Model Name: Slimbook Executive
- npm config:
//npm.pkg.github.com/:_authToken = (protected)
//registry.npmjs.org/:_authToken = (protected)
frame:apiServer = "127.0.0.1"
frame:traverseNat = true
; node bin location = /usr/bin/node
; node version = v19.7.0
; npm local prefix = /home/piranna/github/Mafalda/ROPE-server-CLI
; npm version = 9.5.0
; cwd = /home/piranna/github/Mafalda/ROPE-server-CLI
; HOME = /home/piranna
; Run `npm config ls -l` to show all defaults.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by creating a package with bundleDependencies and running npm pack to reproduce the output. Trace the npm pack path responsible for the Tarball Contents and Bundled Dependencies sections; done means bundled dependency files appear in Tarball Contents while the existing output remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100