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

feat(install): ignore other dependencies #30

Merged
merged 2 commits into from
Oct 16, 2020

Conversation

nicojs
Copy link
Owner

@nicojs nicojs commented Oct 16, 2020

Ignore other dependencies and devDependencies when running npm install. Since the era of package-lock files,install-local ../foo would both install ../foo AND the packages listed in package-lock.json. This behavior was an unfortunate side effect.

BREAKING CHANGE: Other dependencies will no longer be installed. If you want the old behaviour, be sure to run npm install before you run install-local.

Fixes #23

Ignore other `dependencies` and `devDependencies` when running `npm install`. Since the era of package-lock files,`install-local ../foo` would both install `../foo` AND the packages listed in package-lock.json. This behavior was an unfortunate side effect.

BREAKING CHANGE: Other dependencies will no longer be installed. If you want the old behaviour, be sure to run `npm install` before you run `install-local`.
@nicojs nicojs merged commit b9faaae into master Oct 16, 2020
@nicojs nicojs deleted the feature/ignore-other-dependencies branch October 16, 2020 19:13
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.

Add possibility to ignore package-lock.json
1 participant