Skip to content
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

Provide a way for supporting a central reused node_modules #8158

Open
MerzDaniel opened this issue Mar 12, 2025 · 0 comments
Open

Provide a way for supporting a central reused node_modules #8158

MerzDaniel opened this issue Mar 12, 2025 · 0 comments

Comments

@MerzDaniel
Copy link

There should be a possibility to share the node_modules between multiple packages in order to have a local package repository.

In my company we have about 200 npm based repositories. Some of us need to touch many of these from time to time. All the aggregated node_modules sum up to a huge disk space consumption. This disk space could be reduced by a factor of nearly 100x, as many packages use similar dependencies

A simple workaround in the past was to use local symlinks. But this possibility was removed due to a security issue

It would be nice to have this feature without having to migrate away of the standard NPM in direction of e.g. pnpm.

@MerzDaniel MerzDaniel changed the title Provide a way for a central reused node_modules Provide a way for supporting a central reused node_modules Mar 12, 2025
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