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.15.0 #3323

Merged
merged 18 commits into from
May 27, 2021
Merged

Release/v7.15.0 #3323

merged 18 commits into from
May 27, 2021

Commits on May 24, 2021

  1. fix(docs): proper postinstall script file name

    I think this change was incorrect: #2024
    
    The point of this example is that the same script is being used for two different stages (`install` and `post-install`) so it would be a good idea to look at the `npm_lifecycle_event` environment variable inside this script to determine which stage is being run.
    
    PR-URL: #3282
    Credit: @KevinFCormier
    Close: #3282
    Reviewed-by: @wraithgar
    KevinFCormier authored and wraithgar committed May 24, 2021
    Configuration menu
    Copy the full SHA
    46a9bcb View commit details
    Browse the repository at this point in the history
  2. fix(ls): show relative paths from root

    Change the output in `npm ls` for symlink dependencies (including
    workspaces) to show the relative path from the project root, rather than
    the absolute path of the link target.
    
    This makes the output much less noisy and more ergonomic when many
    workspaces and link dependencies are in use, especially when paths are
    long.
    
    It is arguable that this output might be slightly misleading, since the
    _actual_ workspace symlink from `${root}/node_modules/b` to
    `${root}/packages/b` has a link value of `../packages/b`, not just
    `packages/b`.  (Or on Windows, always the full absolute path, because
    junctions.)  Thus, `npm ls b` will not show the same output as `ls -l
    node_modules/b`.
    
    However, `npm ls` shows the logical tree, not the physical tree, so
    presenting the user with a path that they can use and interpret is more
    important than presenting them with the strictly accurate details of
    their filesystem.
    
    PR-URL: #3272
    Credit: @isaacs
    Close: #3272
    Reviewed-by: @darcyclarke
    isaacs authored and wraithgar committed May 24, 2021
    Configuration menu
    Copy the full SHA
    83590d4 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. npm-audit-report@2.1.5

     * fix(exit-code): account for null auditLevel default (#46)
    wraithgar committed May 26, 2021
    Configuration menu
    Copy the full SHA
    dbbc151 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a574b51 View commit details
    Browse the repository at this point in the history
  3. fix(docs): typo in package-lock.json docs

    PR-URL: #3307
    Credit: @rethab
    Close: #3307
    Reviewed-by: @wraithgar
    rethab authored and wraithgar committed May 26, 2021
    Configuration menu
    Copy the full SHA
    3c53d63 View commit details
    Browse the repository at this point in the history
  4. fix: set audit exit code properly

    When running 'npm audit', we properly exited correctly with the
    appropriate exitCode based on the audit level config and the report
    results.
    
    However, when going through the reifyFinish() function (as we do for
    'npm audit fix'), we were not setting that properly if the auditLevel
    was not set.
    
    Furthermore, if the auditLevel WAS set, we were setting the exit code to
    non-zero for *other* reify commands (install, update, etc.), where the
    audit information should be strictly advisory.
    
    When --json and --loglevel=silent were set, the exitCode was never being
    set properly.
    
    This fixes all these problems.
    
    PR-URL: #3311
    Credit: @isaacs
    Close: #3311
    Reviewed-by: @wraithgar
    isaacs authored and wraithgar committed May 26, 2021
    Configuration menu
    Copy the full SHA
    554e8a5 View commit details
    Browse the repository at this point in the history
  5. docs: rebuild npm-pack doc

    isaacs committed May 26, 2021
    Configuration menu
    Copy the full SHA
    96367f9 View commit details
    Browse the repository at this point in the history
  6. feat(link): add workspace support

    PR-URL: #3312
    Credit: @isaacs
    Close: #3312
    Reviewed-by: @wraithgar
    isaacs authored and wraithgar committed May 26, 2021
    Configuration menu
    Copy the full SHA
    399ff8c View commit details
    Browse the repository at this point in the history
  7. docs: Drop stale Python 3<->node-gyp remark

    PR-URL: #3313
    Credit: @spencerwilson
    Close: #3313
    Reviewed-by: @wraithgar
    spencerwilson authored and wraithgar committed May 26, 2021
    Configuration menu
    Copy the full SHA
    64b13dd View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. fix(publish): skip private workspaces

    Allow users to publish all workspaces with `npm publish --ws` while also
    skipping any workspace that might have been intentionally marked as
    private, using `"private": true` in its package.json file.
    
    Fixes: #3268
    
    PR-URL: #3285
    Credit: @ruyadorno
    Close: #3285
    Reviewed-by: @wraithgar
    ruyadorno authored and wraithgar committed May 27, 2021
    1 Configuration menu
    Copy the full SHA
    4a4fbe3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b26045 View commit details
    Browse the repository at this point in the history
  3. cmark-gfm@0.9.0

      * devDependency used for building html docs
    wraithgar committed May 27, 2021
    Configuration menu
    Copy the full SHA
    35c4df0 View commit details
    Browse the repository at this point in the history
  4. cmark-gfm@0.8.5

    0.9.0 does not work in node 10.1 so our CI fails
    wraithgar committed May 27, 2021
    Configuration menu
    Copy the full SHA
    b70d797 View commit details
    Browse the repository at this point in the history
  5. cacache@15.2.0

     * feat: allow fully deleting indices
     * feat: add a validateEntry option to compact
     * chore: lint
     * chore: use standard npm style release scripts
    wraithgar committed May 27, 2021
    Configuration menu
    Copy the full SHA
    7b56bfd View commit details
    Browse the repository at this point in the history
  6. chore(ci): add input to cli deps pr workflow

    Moves workflow to create NPM CLI dependency pull request from npm/node.
    Adds input to workflow dispatch trigger
    
    PR-URL: #3294
    Credit: @gimli01
    Close: #3294
    Reviewed-by: @darcyclarke
    Daniel Park authored and wraithgar committed May 27, 2021
    Configuration menu
    Copy the full SHA
    3d5df00 View commit details
    Browse the repository at this point in the history
  7. docs: changelog for v7.15.0

    wraithgar committed May 27, 2021
    Configuration menu
    Copy the full SHA
    795cdd6 View commit details
    Browse the repository at this point in the history
  8. update AUTHORS

    wraithgar committed May 27, 2021
    Configuration menu
    Copy the full SHA
    8fe55b8 View commit details
    Browse the repository at this point in the history
  9. 7.15.0

    wraithgar committed May 27, 2021
    Configuration menu
    Copy the full SHA
    97a898d View commit details
    Browse the repository at this point in the history