Transitive dependencies are installed when creating patch for single package
Open
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 325
- PR merge metrics
- No merged PRs in 30d
Description
Running `npx patch-package mypackage` (in this case using npm as the package manager) also installs transitive dependencies of `mypackage`, which can take a long time and should not be necessary if you only want to create a patch for `mypackage`.
To avoid downloading transitive dependencies, [`npm pack mypackage`](https://docs.npmjs.com/cli/v7/commands/npm-pack) can be used, for example, as it actually downloads the tarball for the specified package.
Or is there some other reason for this behavior?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.