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

release/v7.8.0 #3017

Merged
merged 12 commits into from Apr 1, 2021
Merged

release/v7.8.0 #3017

merged 12 commits into from Apr 1, 2021

Commits on Mar 31, 2021

  1. feat(workspaces): add repo and docs

    This adds workspaces support to `npm repo` and `npm docs`.
    
    It also updates the usage output to support the -w and -ws parameters
    output, and cleans up some unneccessary functions in `run-script` and
    `exec`.
    
    PR-URL: #2972
    Credit: @wraithgar
    Close: #2972
    Reviewed-by: @nlf
    wraithgar committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    8bcc5d7 View commit details
    Browse the repository at this point in the history
  2. feat(set-script): implement workspaces

    Implements workspaces for set-script, also refactors tests to mock as
    little as possible.
    
    PR-URL: #2998
    Credit: @nlf
    Close: #2998
    Reviewed-by: @wraithgar
    nlf authored and wraithgar committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    ec520ce View commit details
    Browse the repository at this point in the history
  3. feat(view): add workspace support

    PR-URL: #3001
    Credit: @wraithgar
    Close: #3001
    Reviewed-by: @nlf
    wraithgar committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    32717a6 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. fix(tests): update snapshots

    This got left out of the npm view workspaces PR
    wraithgar committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    db7aece View commit details
    Browse the repository at this point in the history
  2. @npmcli/config@2.1.0

    isaacs committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    61da39b View commit details
    Browse the repository at this point in the history
  3. Add a 'envExport' flag for config definitions

    It defaults to true, but setting it to any falsey value will tell
    `@npmcli/config` not to export it into the environment, and will also
    put a remark in the documentation that it is not exported.
    
    PR-URL: #3014
    Credit: @isaacs
    Close: #3014
    Reviewed-by: @nlf
    isaacs committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    7b177e4 View commit details
    Browse the repository at this point in the history
  4. @npmcli/arborist@2.3.0

    * [#2896](#2896) Provide currentEdge in
      ERESOLVE if known, and address self-linking edge case.
    * Add/remove dependencies to/from workspaces when set, not root project
    * Only reify the portions of the dependency graph identified by the
      `workspace` configuration value.
    * Do not recursively `chown` the project root path.
    isaacs committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    fb095a7 View commit details
    Browse the repository at this point in the history
  5. usage: specify the key each time for multiples

    If a user runs 'npm install -w foo bar baz', that won't set 'bar' and
    'baz' as workspace names.  The correct incantation is 'npm install -w
    foo -w bar -w baz'.
    
    PR-URL: #3016
    Credit: @isaacs
    Close: #3016
    Reviewed-by: @wraithgar
    isaacs authored and wraithgar committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    4c42523 View commit details
    Browse the repository at this point in the history
  6. fix(docs): add workspaces configuration

    Adds workspaces configuration to `docs`, `repo`, and `set-script`.
    
    PR-URL: #3013
    Credit: @wraithgar
    Close: #3013
    Reviewed-by: @darcyclarke
    wraithgar committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    9237d37 View commit details
    Browse the repository at this point in the history
  7. Support reporting on ERESOLVE errors when current is missing

    While it is somewhat helpful to get reports on this, since it indicates
    an underlying problem in Arborist, it's also very disruptive and
    unhelpful for users.  As of 2.3.0, Arborist gives us the currentEdge if
    available, so we _can_ report on that at least.  If there is no node
    _or_ edge, then we just don't say what the current state is, which isn't
    useful, but at least is less annoying than a 'property of null'
    exception.
    
    PR-URL: #3015
    Credit: @isaacs
    Close: #3015
    Reviewed-by: @wraithgar
    isaacs authored and wraithgar committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    cb6eb0d View commit details
    Browse the repository at this point in the history
  8. docs: changelog for v7.8.0

    wraithgar committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    876c467 View commit details
    Browse the repository at this point in the history
  9. 7.8.0

    wraithgar committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    dedb9c8 View commit details
    Browse the repository at this point in the history