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): very strict global npm engines #3731

Merged
merged 1 commit into from
Sep 9, 2021

Commits on Sep 9, 2021

  1. feat(install): very strict global npm engines

    This will do an engines check when installing npm globally and fail if
    the new npm is known not to work in the current node version.
    
    It will not work for older npm versions because they don't have an
    engines field (it wasn't added till [email protected]). It will at least
    prevent npm@7 from being installed in node@8.
    
    PR-URL: #3731
    Credit: @wraithgar
    Close: #3731
    Reviewed-by: @nlf
    wraithgar committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    6c12500 View commit details
    Browse the repository at this point in the history