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

v8.1.3 #3997

Merged
merged 15 commits into from Nov 4, 2021
Merged

v8.1.3 #3997

merged 15 commits into from Nov 4, 2021

Commits on Nov 2, 2021

  1. chore: add latest npm check to bug template

    Adds a new required checkbox to our bug template directing people to use
    the latest npm version to verify their bug still exists.
    
    PR-URL: #3977
    Credit: @wraithgar
    Close: #3977
    Reviewed-by: @darcyclarke
    wraithgar committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    ef45b7b View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2021

  1. chore: limit CI builds

    We don't need duplicate builds on pull requests and pushes.  This should
    cut our actions essentially down to half of what they are now.
    
    PR-URL: #3981
    Credit: @wraithgar
    Close: #3981
    Reviewed-by: @darcyclarke
    wraithgar committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    f7a8118 View commit details
    Browse the repository at this point in the history
  2. chore(ci): update setup-node action to v2 and enable cache

    PR-URL: #3958
    Credit: @nlf
    Close: #3958
    Reviewed-by: @wraithgar
    nlf authored and wraithgar committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    2b5d014 View commit details
    Browse the repository at this point in the history
  3. chore: update issue template env with npm config

    Also update with other items from template-oss
    
    PR-URL: #3982
    Credit: @lukekarrys
    Close: #3982
    Reviewed-by: @wraithgar
    
    PR-URL: #3982
    Credit: @lukekarrys
    Close: #3982
    Reviewed-by: @wraithgar
    
    PR-URL: #3982
    Credit: @lukekarrys
    Close: #3982
    Reviewed-by: @wraithgar
    lukekarrys committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    85d5919 View commit details
    Browse the repository at this point in the history
  4. chore: refactor commands

    This is the first phase of refactoring the internal structure of the npm
    commands to set us up for future changes.  This iteration changes the
    function signature of `exec` for all the commands to be a async (no more
    callbacks), and also groups all the commands into their own
    subdirectory.
    
    It also removes the Proxy `npm.commands` object, in favor of an
    `npm.cmd` and `npm.exec` function that breaks up the two things that
    proxy was doing. Namely, getting to the attributes of a given command
    (`npm.cmd` now does this), and actually running the command `npm.exec`
    does this.
    
    PR-URL: #3959
    Credit: @wraithgar
    Close: #3959
    Reviewed-by: @lukekarrys
    wraithgar committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    8ffeb71 View commit details
    Browse the repository at this point in the history
  5. fix: shrinkwrap setting incorrect lockfileVersion

    Fix: #3962
    
    When created from a hidden lockfile, shrinkwrap was always setting the
    lockfileVersion to 3. The shrinkwrap command also needed to be updated
    to log the correct message based on the lockfileVersion config instead
    of the static lockfileVersion.
    
    With these fixes, it was possible to log a better message whenever we
    are changing the lockfileVersion, either from a config or any existing
    lockfile.
    
    Lastly, the tests for shrinkwrap were completely refactored to use the
    real npm and test all conceivable scenarios, as well as removing usage
    of `util.promisify` in favor of `fs.promises` now that we've dropped
    support for Node 10.
    
    PR-URL: #3978
    Credit: @lukekarrys
    Close: #3978
    Reviewed-by: @wraithgar
    lukekarrys committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    e5bfdac View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. chore: dont flag node_modules or package-lock as generated

    Now that we make dependency upgrades as pull requests, this should make
    them easier to review since GitHub will now render diffs for them by
    default.
    
    PR-URL: #3991
    Credit: @lukekarrys
    Close: #3991
    Reviewed-by: @wraithgar
    lukekarrys authored and wraithgar committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    c640957 View commit details
    Browse the repository at this point in the history
  2. chore: remove usage of unnecessary util.promisify

    This is safe to do now that we've dropped node 10 support.
    
    PR-URL: #3988
    Credit: @lukekarrys
    Close: #3988
    Reviewed-by: @wraithgar
    lukekarrys authored and wraithgar committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    32ccd3c View commit details
    Browse the repository at this point in the history
  3. deps: @npmcli/arborist@4.0.4

    PR-URL: #3990
    Credit: @lukekarrys
    Close: #3990
    Reviewed-by: @wraithgar
    lukekarrys authored and wraithgar committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    ac2fabb View commit details
    Browse the repository at this point in the history
  4. chore: lint previously ignored files

    PR-URL: #3986
    Credit: @lukekarrys
    Close: #3986
    Reviewed-by: @wraithgar
    lukekarrys authored and wraithgar committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    cad9bc7 View commit details
    Browse the repository at this point in the history
  5. fix(help|edit): use npm.exec, use file:///

    Windows no longer allows `file://`, but instead requires `file:///` for
    local file urls.
    
    Also after the command refactor things shifted and the tests didn't
    catch that the help pages didn't work at all anymore, and that the
    post-edit rebuild didn't work. This cleans up those two issues.
    
    PR-URL: #3994
    Credit: @wraithgar
    Close: #3994
    Reviewed-by: @lukekarrys
    wraithgar committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    1e9c31c View commit details
    Browse the repository at this point in the history
  6. deps: @npmcli/config@2.3.1

      * fix: dont load project configs in global mode
    
    PR-URL: #3996
    Credit: @nlf
    Close: #3996
    Reviewed-by: @wraithgar
    
    PR-URL: #3996
    Credit: @nlf
    Close: #3996
    Reviewed-by: @wraithgar
    nlf authored and wraithgar committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    a0d35ff View commit details
    Browse the repository at this point in the history
  7. fix: make prefixed usage errors more consistent

    PR-URL: #3987
    Credit: @lukekarrys
    Close: #3987
    Reviewed-by: @wraithgar
    lukekarrys committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    22230ef View commit details
    Browse the repository at this point in the history
  8. docs: changelog for v8.1.3

    wraithgar committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    b651001 View commit details
    Browse the repository at this point in the history
  9. 8.1.3

    wraithgar committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    de45f90 View commit details
    Browse the repository at this point in the history