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.7.0 #2922

Merged
merged 42 commits into from
Mar 23, 2021
Merged

Release/v7.7.0 #2922

merged 42 commits into from
Mar 23, 2021

Commits on Mar 18, 2021

  1. npm-package-arg@8.1.2

    ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    111e284 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33c8536 View commit details
    Browse the repository at this point in the history
  3. hosted-git-info@4.0.1

    ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    af7eaac View commit details
    Browse the repository at this point in the history
  4. @npmcli/run-script@1.8.4

    ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    9166230 View commit details
    Browse the repository at this point in the history
  5. eslint@7.22.0

    ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    f06c12e View commit details
    Browse the repository at this point in the history
  6. jsdom@16.5.1

    ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    966057c View commit details
    Browse the repository at this point in the history
  7. yaml@1.10.2

    ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    b395763 View commit details
    Browse the repository at this point in the history
  8. chore(config): remove flatOptions references

    Iterative change moving us towards a more unified config.
    No longer pulling config from flatOptions where we don't have to.
    
    PR-URL: #2892
    Credit: @wraithgar
    Close: #2892
    Reviewed-by: @ruyadorno
    wraithgar authored and isaacs committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    46e14bd View commit details
    Browse the repository at this point in the history
  9. fix(publish): handle case where multiple config list is present

    When not handled, when there are multiple entries in
    this.npm.config.list, it causes crash as described in #2834
    
    The change here merge everything in this.npm.config.list, because as I
    observed, the default config is present only at the last entry.
    
    Fix: #2834
    Co-authored-by: @wraithgar
    
    PR-URL: #2865
    Credit: @kenrick95
    Close: #2865
    Reviewed-by: @isaacs, @wraithgar
    kenrick95 authored and isaacs committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    8cce428 View commit details
    Browse the repository at this point in the history
  10. New consolidated config definitions

    This replaces the multiple separate sets of objects and documentation,
    some of which had defaults and/or types, some of which didn't, and cleans
    up a lot of configs that are no longer used.
    
    Deprecated configs are now marked, and the approach used to create these
    config definitions ensures that it is impossible to create a new config
    option that lacks the appropriate data for it.
    isaacs committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    6598bfe View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    68db124 View commit details
    Browse the repository at this point in the history
  12. @npmcli/config@2.0.0

    Eventually @npmcli/config will move back to the CLI under
    lib/utils/config/, so this v2 will be a short-lived release family.
    isaacs committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    f52c51d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7c89e74 View commit details
    Browse the repository at this point in the history
  14. Remove old config definitions and flattening logic

    PR-URL: #2878
    Credit: @isaacs
    Close: #2878
    Reviewed-by: @isaacs
    isaacs committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    aaafab8 View commit details
    Browse the repository at this point in the history
  15. npm-pick-manifest@6.1.1

    isaacs committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    a8d0751 View commit details
    Browse the repository at this point in the history
  16. feat(help): refactor npm help/help-search

    Lots of dead code removed thanks to streamlining of logic.
    `npm help` `npm <command>` and `npm help-search` are all now separated
    concerns, handling their own use cases. `help` calls `help-search` as a
    last resort, but `npm <command>` no longer tries to wind its way through
    to `help-search` just to get the basic npm usage displayed.
    
    The `did you mean` output has been expanded. It now always suggests top
    level commands, scripts, and bins, and suggests them in the way they
    should be called.
    
    PR-URL: #2859
    Credit: @wraithgar
    Close: #2859
    Reviewed-by: @ruyadorno
    wraithgar authored and ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    41facf6 View commit details
    Browse the repository at this point in the history
  17. docs(configuring-npm): Fix broken link

    PR-URL: #2860
    Credit: @varmakarthik12
    Close: #2860
    Reviewed-by: @wraithgar
    Karthik Sundari authored and ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    ad65bd9 View commit details
    Browse the repository at this point in the history
  18. bump version in v7 bug template

    PR-URL: #2869
    Credit: @jansepke
    Close: #2869
    Reviewed-by: @wraithgar
    jansepke authored and ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    0a331ac View commit details
    Browse the repository at this point in the history
  19. docs: add asdf-nodejs as a viable version manager

    PR-URL: #2872
    Credit: @augustobmoura
    Close: #2872
    Reviewed-by: @darcyclarke
    augustobmoura authored and ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    78cb830 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    7e99515 View commit details
    Browse the repository at this point in the history
  21. fix(tests): go back to mockNpm in test

    This was erroneously removed during a merge conflict
    wraithgar committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    fc8a1ff View commit details
    Browse the repository at this point in the history
  22. Update test-coverage command

    PR-URL: #2876
    Credit: @chowkapow
    Close: #2876
    Reviewed-by: @wraithgar
    chowkapow authored and ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    b419bfb View commit details
    Browse the repository at this point in the history
  23. docs(package-json): document default main behavior

    PR-URL: #2881
    Credit: @klausbayrhammer
    Close: #2881
    Reviewed-by: @wraithgar
    klausbayrhammer authored and ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    8a38afe View commit details
    Browse the repository at this point in the history
  24. feat: add run-script workspaces

    - Add workspaces-related configs:
      - workspace: list of workspaces names/dir to filter for
      - workspaces: boolean value to enable/disable workspaces awareness
      - adds the proposed note in the docs of each of the commands
        that are not affected by these configs.
    - Add workspaces support to `npm run-script`
      - add ability to serially run lifecycle scripts in workspaces
      - add ability to list scripts for all workspaces
      - add colors to `npm run` (no args) output
    
    Relates to: npm/rfcs#117
    Fixes: npm/statusboard#276
    Fixes: npm/statusboard#283
    Fixes: npm/statusboard#284
    Fixes: npm/statusboard#285
    Fixes: npm/statusboard#286
    
    PR-URL: #2864
    Credit: @ruyadorno
    Close: #2864
    Reviewed-by: @wraithgar
    ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    33c4189 View commit details
    Browse the repository at this point in the history
  25. restore npm.flatOptions.npmCommand

    This is used by npm-registry-fetch to set the 'npm-command' HTTP header.
    
    Will be cleaned up in a less ugly way in config refactor part 2.
    
    PR-URL: #2903
    Credit: @isaacs
    Close: #2903
    Reviewed-by: @wraithgar
    isaacs authored and ruyadorno committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    d98edd1 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. fix(suggestions): clarify Unknown command output

    Base commands and `npm run` need different outputs
    
    PR-URL: #2906
    Credit: @wraithgar
    Close: #2906
    Reviewed-by: @ruyadorno
    wraithgar authored and ruyadorno committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    e94a458 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2021

  1. cacache@15.0.6

    wraithgar committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    629aaf3 View commit details
    Browse the repository at this point in the history
  2. fix(usage): tie usage to config

    This starts us down the path of tying the params our commands accept to
    their config items.  For now it is optional, and not every current
    config item would cleanly render if we added them today.
    
    The ones that are added here DO render nicely, and we can iterate from
    here.  We can also at a later date do the same kind of appraoch with our
    positional args.
    
    PR-URL: #2908
    Credit: @wraithgar
    Close: #2908
    Reviewed-by: @nlf, @isaacs
    wraithgar committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    b876442 View commit details
    Browse the repository at this point in the history
  3. feat: add exec workspaces

    Add workspaces support to `npm exec`
      - Refactored logic to read and filter workspaces into
      `lib/workspaces/get-workspaces.js`
      - Added location context message when entering interactive
      shell using `npm exec` (with no args)
      - Add ability to execute a package in the context of each
      configured workspace
    
    Fixes: npm/statusboard#288
    
    PR-URL: #2886
    Credit: @ruyadorno
    Close: #2886
    Reviewed-by: @wraithgar
    ruyadorno authored and wraithgar committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    e1b3b31 View commit details
    Browse the repository at this point in the history
  4. fix(usage): add action items to error output

    PR-URL: #2917
    Credit: @wraithgar
    Close: #2917
    Reviewed-by: @ruyadorno
    wraithgar authored and ruyadorno committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    93a061d View commit details
    Browse the repository at this point in the history
  5. fix: yes config

    `npm exec <pkg>` was failing for packages not available in the local or
    global scope due to the default value of the `yes` config having been
    changed to `false` during the latest config refactor. That caused
    `npm exec` to throw with a `canceled` error message since the current
    implementation expects the default value to be falsy but not `false`.
    
    This change reinstates the previous default config value for `yes` and
    changes the implementation to throw with a proper error object in order
    to get a stack trace when running with `--loglevel=verbose`.
    ruyadorno committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    15ee1ae View commit details
    Browse the repository at this point in the history
  6. fix: which config

    The default value for the `which` config option used in the `npm fund`
    command is now `null` instead of the previously used `undefined`.
    ruyadorno committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    b7b4491 View commit details
    Browse the repository at this point in the history
  7. fix: npm birthday

    Replaces usage of flatOptions with npm.config.
    ruyadorno committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    4fb6e2f View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2021

  1. libnpmversion@1.0.12

    wraithgar committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    1924eb4 View commit details
    Browse the repository at this point in the history
  2. fix(run-script): remove log.disableProgress

    This was causing the progress bar to be flashing in between lifecycle
    script runs.
    ruyadorno committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    8e4621d View commit details
    Browse the repository at this point in the history
  3. pacote@11.3.1

    ruyadorno committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    f76e7c2 View commit details
    Browse the repository at this point in the history
  4. semver@7.3.5

    ruyadorno committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    4928512 View commit details
    Browse the repository at this point in the history
  5. @npmcli/arborist@2.2.9

    ruyadorno committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    7b5606b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b043bf9 View commit details
    Browse the repository at this point in the history
  7. docs: changelog for v7.7.0

    ruyadorno committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    7706557 View commit details
    Browse the repository at this point in the history
  8. update AUTHORS

    ruyadorno committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    0364be0 View commit details
    Browse the repository at this point in the history
  9. 7.7.0

    ruyadorno committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    581b60b View commit details
    Browse the repository at this point in the history