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

Only install production dependencies #28

Conversation

rizzlesauce
Copy link

Otherwise, installing the packed dependency will also install that
dependency's non-production dependencies.

Otherwise, installing the packed dependency will also install that
dependency's non-production dependencies.
@nicojs
Copy link
Owner

nicojs commented Oct 16, 2020

Hi @rizzlesauce I see your --production and I raise you an --no-package-lock.

See #23 and #30. install-local will no longer install anything except what you ask it to.

@nicojs nicojs closed this Oct 16, 2020
@arobinson
Copy link

We will probably need to stop using this library as a result of this change. The --no-package-lock is causing our builds to fail as it is using newer versions of libraries it shouldn't be using since it is ignoring the package lock. As a result, our builds are trying to download newer libraries that are not in our nexus 3 cache and causing the build to fail. Unfortunately it does not seem that we can force it to use the package-lock. Also, ignoring the package lock is a security vulnerability as it is downloading libraries from the internet and executing them without being a version we have verified

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

Successfully merging this pull request may close these issues.

3 participants