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.20.0 #3550

Merged
merged 27 commits into from Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
339145f
fix(docs): clarify what install type gets .bins
wraithgar Jul 1, 2021
4755b07
fix: friendlier errors for ERR_SOCKET_TIMEOUT
nlf Jul 1, 2021
74c9975
fix(docs): add npm update example
wraithgar Jul 1, 2021
f17aca5
feat: npm pkg
ruyadorno Jun 28, 2021
3ecf19c
fix(config): fix noproxy
wraithgar Jul 2, 2021
c3bd10e
fix(update-notifier): don't force black background
wraithgar Jul 1, 2021
89483e8
fix(usage): better audit/boolean flag usage output
wraithgar Jul 1, 2021
feeb8e4
fix(publish): obey --ignore-scripts flag
wraithgar Jul 1, 2021
103c8c3
chore(exit): log any un-ended timings
wraithgar Jun 25, 2021
efc4313
chore(refactor): refactor exit handler and tests
wraithgar Jun 29, 2021
d8eb49b
fix(bundle-and-ignore): case sensitivity cleanup
wraithgar Jul 13, 2021
801a523
fix(docs): correct Node.js JavaScript stylings
relrelb Jul 13, 2021
98905ae
feat(config): introduce 'location' parameter
nlf Jun 26, 2021
8371d7d
feat(pkg): add support to empty bracket syntax
ruyadorno Jul 12, 2021
c11aa53
chore: use better name on nodejs commits
ruyadorno Jul 13, 2021
7914167
Instructions for seeing background script output
cinderblock Jul 14, 2021
691816f
@npmcli/arborist@2.7.1
ruyadorno Jul 15, 2021
ba89b1c
fix: removed unused arb-target-or
ruyadorno Jul 15, 2021
b9597e9
make-fetch-happen@9.0.4
ruyadorno Jul 15, 2021
f573e7c
minipass-fetch@1.3.4
ruyadorno Jul 15, 2021
2d5797e
pacote@11.3.5
ruyadorno Jul 15, 2021
5bb1e04
eslint@7.30.0
ruyadorno Jul 15, 2021
8b1a12e
update gitignore file
ruyadorno Jul 15, 2021
5a305c7
fix(docs): add missing npm pkg to nav.yml
ruyadorno Jul 15, 2021
293a4c7
docs: changelog for v7.20.0
ruyadorno Jul 15, 2021
ecfc9e1
update AUTHORS
ruyadorno Jul 15, 2021
1a2159d
7.20.0
ruyadorno Jul 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/create-cli-deps-pr.yml
Expand Up @@ -52,7 +52,7 @@ jobs:
base_branch="v14.x-staging"
fi

git config user.name "npm-robot"
git config user.name "npm team"
git config user.email "ops+robot@npmjs.com"
git checkout -b "npm-$npm_tag"

Expand Down
2 changes: 2 additions & 0 deletions AUTHORS
Expand Up @@ -786,3 +786,5 @@ Daniel Park <daniel.park@endevors.io>
Luke Karrys <luke@lukekarrys.com>
Ivan <ivanaguilar01@live.com.mx>
Aluneed <31174087+aluneed@users.noreply.github.com>
relrelb <relrelbachar@gmail.com>
Cameron Tacklind <cameron@tacklind.com>
88 changes: 87 additions & 1 deletion CHANGELOG.md
@@ -1,3 +1,89 @@
## v7.20.0 (2021-07-15)

### FEATURES

* [`f17aca5cd`](https://github.com/npm/cli/commit/f17aca5cdf355aaa7e1f517d1b3bb4213f4df092)
[#3487](https://github.com/npm/cli/issues/3487)
feat: add `npm pkg` command
([@ruyadorno](https://github.com/ruyadorno))
* [`98905ae37`](https://github.com/npm/cli/commit/98905ae3759165cd6d6f6306f31acc6a2baa4cde)
[#3471](https://github.com/npm/cli/issues/3471)
feat(config): introduce `location` parameter
([@nlf](https://github.com/nlf))

### BUG FIXES

* [`4755b0728`](https://github.com/npm/cli/commit/4755b072877f547585cb0e2562261b2c87e2ff0b)
[#3498](https://github.com/npm/cli/issues/3498)
friendlier errors for `ERR_SOCKET_TIMEOUT`
([@nlf](https://github.com/nlf))
* [`3ecf19cdc`](https://github.com/npm/cli/commit/3ecf19cdc35684ccb15280b2c34d27496aa1c634)
[#3508](https://github.com/npm/cli/issues/3508)
fix(config): fix noproxy
([@wraithgar](https://github.com/wraithgar))
* [`c3bd10e46`](https://github.com/npm/cli/commit/c3bd10e461976a073e6a898c46f8bde28b17668f)
[#3499](https://github.com/npm/cli/issues/3499)
fix(update-notifier): don't force black background
([@wraithgar](https://github.com/wraithgar))
* [`89483e888`](https://github.com/npm/cli/commit/89483e888acc56386b9ebc4d70a4676e4a5a5cb1)
[#3497](https://github.com/npm/cli/issues/3497)
fix(usage): better audit/boolean flag usage output
([@wraithgar](https://github.com/wraithgar))
* [`feeb8e42a`](https://github.com/npm/cli/commit/feeb8e42a7b0510023175dc86269edb544d97601)
[#3495](https://github.com/npm/cli/issues/3495)
fix(publish): obey --ignore-scripts flag
([@wraithgar](https://github.com/wraithgar))
* [`103c8c3ef`](https://github.com/npm/cli/commit/103c8c3ef3ba7ff0483557f32eebc4c6298285e3)
[#3479](https://github.com/npm/cli/issues/3479)
chore(exit): log any un-ended timings
([@wraithgar](https://github.com/wraithgar))
* [`efc4313c2`](https://github.com/npm/cli/commit/efc4313c2062ffad22aa24e5198d575a7eb5f20e)
[#3482](https://github.com/npm/cli/issues/3482)
chore(refactor): refactor exit handler and tests
([@wraithgar](https://github.com/wraithgar))
* [`d8eb49b70`](https://github.com/npm/cli/commit/d8eb49b705acb50b6bed971bfcce4db6e18e73dd)
[#3540](https://github.com/npm/cli/issues/3540)
fix(bundle-and-ignore): case sensitivity cleanup
([@wraithgar](https://github.com/wraithgar))

### DOCUMENTATION

* [`339145f64`](https://github.com/npm/cli/commit/339145f64f82d540dbc72ef97b54ae20c34315dd)
[#3491](https://github.com/npm/cli/issues/3491)
fix(docs): clarify what install type gets `.bin`
([@wraithgar](https://github.com/wraithgar))
* [`74c99755e`](https://github.com/npm/cli/commit/74c99755e522f9cfc0d602841568d5e1f835fcaf)
[#3494](https://github.com/npm/cli/issues/3494)
fix(docs): add npm update example
([@wraithgar](https://github.com/wraithgar))
* [`801a52330`](https://github.com/npm/cli/commit/801a52330636008fecadc812916c76fb945ce1f6)
[#3542](https://github.com/npm/cli/issues/3542)
fix(docs): correct Node.js JavaScript stylings
([@relrelb](https://github.com/relrelb))
* [`791416713`](https://github.com/npm/cli/commit/791416713d64c072d73bffbab2daf7b8eb3c4868)
[#3546](https://github.com/npm/cli/issues/3546)
fix(docs): how to see background script output
([@cinderblock](https://github.com/cinderblock))

### DEPENDENCIES

* [`691816f3d`](https://github.com/npm/cli/commit/691816f3de2a679152644a60f3e2c5962df6a81d)
`@npmcli/arborist@2.7.1`
* fixes running prepare scripts for workspaces on reify
* ensure pacote always compares correct integrity values
* [`b9597e944`](https://github.com/npm/cli/commit/b9597e944377e74907607ee280ec1e8c31dd3156)
`make-fetch-happen@9.0.4`
* fix: retry socket timeout failures
* fix: clean up invalid indexes and content after cacache read errors
* [`f573e7c56`](https://github.com/npm/cli/commit/f573e7c56e8505fd6dcc3e5f5b5be401d0a45b58)
`minipass-fetch@1.3.4`
* fix: correctly handle error events that happen after response events
* [`2d5797ea0`](https://github.com/npm/cli/commit/2d5797ea01e17b1559d792613446e1435e588a35)
`pacote@11.3.5`
* fix: show more actionable messages for git pathspec errors
* fix: include all dep types when building for prepare
* fix: do not set mtime when unpacking

## v7.19.1 (2021-07-01)

### BUG FIXES
Expand Down Expand Up @@ -2334,7 +2420,7 @@ fix(lib/npm): do not clobber config.execPath
fix: patch `config.js` to remove duplicate vals
([@darcyclarke](https://github.com/darcyclarke))

### DOCUMENTION
### DOCUMENTATION

* [`60769d757`](https://github.com/npm/cli/commit/60769d757859c88e2cceab66975f182a47822816)
[#1911](https://github.com/npm/cli/pull/1911) docs: v7 npm-install
Expand Down
4 changes: 4 additions & 0 deletions docs/content/commands/npm-audit.md
Expand Up @@ -232,6 +232,7 @@ mistakes, unnecessary performance degradation, and malicious input.
* Allow unpublishing all versions of a published package.
* Allow conflicting peerDependencies to be installed in the root project.
* Implicitly set `--yes` during `npm init`.
* Allow clobbering existing values in `npm pkg`

If you don't have a clear idea of what you want to do, it is strongly
recommended that you do not use this option!
Expand All @@ -243,6 +244,9 @@ recommended that you do not use this option!

Whether or not to output JSON data, rather than the normal output.

* In `npm pkg set` it enables parsing set values with JSON.parse() before
saving them to your `package.json`.

Not supported by all npm commands.

#### `package-lock-only`
Expand Down
10 changes: 10 additions & 0 deletions docs/content/commands/npm-ci.md
Expand Up @@ -69,6 +69,16 @@ cache:

<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
<!-- automatically generated, do not edit manually -->
#### `audit`

* Default: true
* Type: Boolean

When "true" submit audit reports alongside the current npm command to the
default registry and all registries configured for scopes. See the
documentation for [`npm audit`](/commands/npm-audit) for details on what is
submitted.

#### `ignore-scripts`

* Default: false
Expand Down
11 changes: 11 additions & 0 deletions docs/content/commands/npm-config.md
Expand Up @@ -104,6 +104,9 @@ global config.

Whether or not to output JSON data, rather than the normal output.

* In `npm pkg set` it enables parsing set values with JSON.parse() before
saving them to your `package.json`.

Not supported by all npm commands.

#### `global`
Expand All @@ -128,6 +131,14 @@ folder instead of the current working directory. See

The command to run for `npm edit` and `npm config edit`.

#### `location`

* Default: "user" unless `--global` is passed, which will also set this value
to "global"
* Type: "global", "user", or "project"

When passed to `npm config` this refers to which config file to use.

#### `long`

* Default: false
Expand Down
7 changes: 4 additions & 3 deletions docs/content/commands/npm-dedupe.md
Expand Up @@ -164,9 +164,10 @@ will *not* run any pre- or post-scripts.
* Default: true
* Type: Boolean

When "true" submit audit reports alongside `npm install` runs to the default
registry and all registries configured for scopes. See the documentation for
[`npm audit`](/commands/npm-audit) for details on what is submitted.
When "true" submit audit reports alongside the current npm command to the
default registry and all registries configured for scopes. See the
documentation for [`npm audit`](/commands/npm-audit) for details on what is
submitted.

#### `bin-links`

Expand Down
3 changes: 3 additions & 0 deletions docs/content/commands/npm-explain.md
Expand Up @@ -63,6 +63,9 @@ node_modules/nyc/node_modules/find-up

Whether or not to output JSON data, rather than the normal output.

* In `npm pkg set` it enables parsing set values with JSON.parse() before
saving them to your `package.json`.

Not supported by all npm commands.

#### `workspace`
Expand Down
7 changes: 4 additions & 3 deletions docs/content/commands/npm-find-dupes.md
Expand Up @@ -107,9 +107,10 @@ will *not* run any pre- or post-scripts.
* Default: true
* Type: Boolean

When "true" submit audit reports alongside `npm install` runs to the default
registry and all registries configured for scopes. See the documentation for
[`npm audit`](/commands/npm-audit) for details on what is submitted.
When "true" submit audit reports alongside the current npm command to the
default registry and all registries configured for scopes. See the
documentation for [`npm audit`](/commands/npm-audit) for details on what is
submitted.

#### `bin-links`

Expand Down
3 changes: 3 additions & 0 deletions docs/content/commands/npm-fund.md
Expand Up @@ -73,6 +73,9 @@ test-workspaces-fund@1.0.0

Whether or not to output JSON data, rather than the normal output.

* In `npm pkg set` it enables parsing set values with JSON.parse() before
saving them to your `package.json`.

Not supported by all npm commands.

#### `browser`
Expand Down
1 change: 1 addition & 0 deletions docs/content/commands/npm-init.md
Expand Up @@ -175,6 +175,7 @@ mistakes, unnecessary performance degradation, and malicious input.
* Allow unpublishing all versions of a published package.
* Allow conflicting peerDependencies to be installed in the root project.
* Implicitly set `--yes` during `npm init`.
* Allow clobbering existing values in `npm pkg`

If you don't have a clear idea of what you want to do, it is strongly
recommended that you do not use this option!
Expand Down
10 changes: 10 additions & 0 deletions docs/content/commands/npm-install-ci-test.md
Expand Up @@ -20,6 +20,16 @@ This command runs `npm ci` followed immediately by `npm test`.

<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
<!-- automatically generated, do not edit manually -->
#### `audit`

* Default: true
* Type: Boolean

When "true" submit audit reports alongside the current npm command to the
default registry and all registries configured for scopes. See the
documentation for [`npm audit`](/commands/npm-audit) for details on what is
submitted.

#### `ignore-scripts`

* Default: false
Expand Down
7 changes: 4 additions & 3 deletions docs/content/commands/npm-install-test.md
Expand Up @@ -149,9 +149,10 @@ will *not* run any pre- or post-scripts.
* Default: true
* Type: Boolean

When "true" submit audit reports alongside `npm install` runs to the default
registry and all registries configured for scopes. See the documentation for
[`npm audit`](/commands/npm-audit) for details on what is submitted.
When "true" submit audit reports alongside the current npm command to the
default registry and all registries configured for scopes. See the
documentation for [`npm audit`](/commands/npm-audit) for details on what is
submitted.

#### `bin-links`

Expand Down
7 changes: 4 additions & 3 deletions docs/content/commands/npm-install.md
Expand Up @@ -533,9 +533,10 @@ will *not* run any pre- or post-scripts.
* Default: true
* Type: Boolean

When "true" submit audit reports alongside `npm install` runs to the default
registry and all registries configured for scopes. See the documentation for
[`npm audit`](/commands/npm-audit) for details on what is submitted.
When "true" submit audit reports alongside the current npm command to the
default registry and all registries configured for scopes. See the
documentation for [`npm audit`](/commands/npm-audit) for details on what is
submitted.

#### `bin-links`

Expand Down
7 changes: 4 additions & 3 deletions docs/content/commands/npm-link.md
Expand Up @@ -233,9 +233,10 @@ will *not* run any pre- or post-scripts.
* Default: true
* Type: Boolean

When "true" submit audit reports alongside `npm install` runs to the default
registry and all registries configured for scopes. See the documentation for
[`npm audit`](/commands/npm-audit) for details on what is submitted.
When "true" submit audit reports alongside the current npm command to the
default registry and all registries configured for scopes. See the
documentation for [`npm audit`](/commands/npm-audit) for details on what is
submitted.

#### `bin-links`

Expand Down
3 changes: 3 additions & 0 deletions docs/content/commands/npm-ls.md
Expand Up @@ -91,6 +91,9 @@ upon by the current project.

Whether or not to output JSON data, rather than the normal output.

* In `npm pkg set` it enables parsing set values with JSON.parse() before
saving them to your `package.json`.

Not supported by all npm commands.

#### `long`
Expand Down
3 changes: 3 additions & 0 deletions docs/content/commands/npm-org.md
Expand Up @@ -87,6 +87,9 @@ password, npm will prompt on the command line for one.

Whether or not to output JSON data, rather than the normal output.

* In `npm pkg set` it enables parsing set values with JSON.parse() before
saving them to your `package.json`.

Not supported by all npm commands.

#### `parseable`
Expand Down
3 changes: 3 additions & 0 deletions docs/content/commands/npm-outdated.md
Expand Up @@ -104,6 +104,9 @@ upon by the current project.

Whether or not to output JSON data, rather than the normal output.

* In `npm pkg set` it enables parsing set values with JSON.parse() before
saving them to your `package.json`.

Not supported by all npm commands.

#### `long`
Expand Down
3 changes: 3 additions & 0 deletions docs/content/commands/npm-pack.md
Expand Up @@ -34,6 +34,9 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`,

Whether or not to output JSON data, rather than the normal output.

* In `npm pkg set` it enables parsing set values with JSON.parse() before
saving them to your `package.json`.

Not supported by all npm commands.

#### `pack-destination`
Expand Down