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

npmrc: Force `package-lock=true` option #5560

Open
wants to merge 1 commit into
base: master
from
Open

npmrc: Force `package-lock=true` option #5560

wants to merge 1 commit into from
Commits on Aug 6, 2019
  1. npmrc: Force package-lock=true option

    feross authored and brave-browser-releases committed Aug 6, 2019
    It's relatively common for folks who primarily develop npm packages (rather than top-level apps) to disable the creation of package-lock.json files as they're not useful for package development.
    
    This commit just forces this option to `true` so that the browser build works correctly for these users (including myself).
    
    Sidenote: Why is package-lock.json not useful to package authors? Lock files don't get published to npm so users will always get the latest versions that semver allows, so it's good for package authors to have the same experience. Otherwise, package-lock.json can obscure that a package is actually broken.
You can’t perform that action at this time.