Skip to content

Transitive dependencies are installed when creating patch for single package #305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Livven opened this issue Apr 9, 2021 · 0 comments

Comments

@Livven
Copy link

Livven commented Apr 9, 2021

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 can be used, for example, as it actually downloads the tarball for the specified package.

Or is there some other reason for this behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant