nicojs / node-install-local

Installs npm/yarn packages locally without symlink. Exactly the same as your production installation, no compromises.
106 stars 9 forks source link

feat(install): ignore other dependencies #30

Closed nicojs closed 4 years ago

nicojs commented 4 years ago

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