diff --git a/deps/npm/CHANGELOG.md b/deps/npm/CHANGELOG.md index b4fbc426b7811b..9e696a7c3e942c 100644 --- a/deps/npm/CHANGELOG.md +++ b/deps/npm/CHANGELOG.md @@ -1,3 +1,52 @@ +## v7.8.0 (2021-04-01) +### FEATURES + + +* [`8bcc5d73f`](https://github.com/npm/cli/commit/8bcc5d73f35434e781ff56419dd7f0c380efd072) + [#2972](https://github.com/npm/cli/issues/2972) + feat(workspaces): add repo and docs + ([@wraithgar](https://github.com/wraithgar)) +* [`ec520ce32`](https://github.com/npm/cli/commit/ec520ce32d5e834a32ebd58491df4200e01ce690) + [#2998](https://github.com/npm/cli/issues/2998) + feat(set-script): implement workspaces +* [`32717a60e`](https://github.com/npm/cli/commit/32717a60eb55fcf8c7e5016223bfee78a6daba0e) + [#3001](https://github.com/npm/cli/issues/3001) + feat(view): add workspace support + ([@wraithgar](https://github.com/wraithgar)) +* [`7b177e43f`](https://github.com/npm/cli/commit/7b177e43f3bfb558bcd8723cdb2166a3df19647a) + [#3014](https://github.com/npm/cli/issues/3014) + feat(config): add 'envExport' flag + ([@isaacs](https://github.com/isaacs)) + +### BUG FIXES + +* [`4c4252348`](https://github.com/npm/cli/commit/4c4252348c538246e1072421d65f4558dc948080) + [#3016](https://github.com/npm/cli/issues/3016) + fix(usage): specify the key each time for multiples + ([@isaacs](https://github.com/isaacs)) +* [`9237d375b`](https://github.com/npm/cli/commit/9237d375b0b7d34c7dc5ba70aec7f616f4133732) + [#3013](https://github.com/npm/cli/issues/3013) + fix(docs): add workspaces configuration + ([@wraithgar](https://github.com/wraithgar)) +* [`cb6eb0d20`](https://github.com/npm/cli/commit/cb6eb0d206b7e2f63d5c7a7a17bea4aed1b9f2bf) + [#3015](https://github.com/npm/cli/issues/3015) + fix(ERESOLVE): better errors when current is missing + ([@isaacs](https://github.com/isaacs)) + +### DEPENDENCIES + +* [`61da39beb`](https://github.com/npm/cli/commit/61da39beb5373320e2b591b61ecd6596eeaba6ed) + `@npmcli/config@2.1.0` + * feat(config): add support for envExport:false +* [`fb095a708`](https://github.com/npm/cli/commit/fb095a708a1f930bbd0195446ac611b82bfeff14) + `@npmcli/arborist@2.3.0`: + * [#2896](https://github.com/npm/cli/issues/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. + ## v7.7.6 (2021-03-29) ### BUG FIXES diff --git a/deps/npm/docs/content/commands/npm-docs.md b/deps/npm/docs/content/commands/npm-docs.md index c66e5fc627d66c..d0971efa2e762b 100644 --- a/deps/npm/docs/content/commands/npm-docs.md +++ b/deps/npm/docs/content/commands/npm-docs.md @@ -41,6 +41,19 @@ Set to `true` to use default system URL opener. The base URL of the npm package registry. +#### workspaces + +Enables workspaces context while searching the `package.json` in the +current folder. Documentation urls for the packages named in each +workspace will be opened. + +#### workspace + +Enables workspaces context and limits results to only those specified by +this config item. Only the documentation urls for the packages named in +the workspaces given here will be opened. + + ### See Also * [npm view](/commands/npm-view) diff --git a/deps/npm/docs/content/commands/npm-repo.md b/deps/npm/docs/content/commands/npm-repo.md index 670345bece5c59..c3d0da3fdcf150 100644 --- a/deps/npm/docs/content/commands/npm-repo.md +++ b/deps/npm/docs/content/commands/npm-repo.md @@ -31,6 +31,19 @@ terminal. Set to `true` to use default system URL opener. +#### workspaces + +Enables workspaces context while searching the `package.json` in the +current folder. Repo urls for the packages named in each workspace will +be opened. + +#### workspace + +Enables workspaces context and limits results to only those specified by +this config item. Only the repo urls for the packages named in the +workspaces given here will be opened. + + ### See Also * [npm docs](/commands/npm-docs) diff --git a/deps/npm/docs/content/commands/npm-set-script.md b/deps/npm/docs/content/commands/npm-set-script.md index 7bc8f75d236537..73e61883c505b8 100644 --- a/deps/npm/docs/content/commands/npm-set-script.md +++ b/deps/npm/docs/content/commands/npm-set-script.md @@ -5,7 +5,7 @@ description: Set tasks in the scripts section of package.json --- ### Synopsis -An npm command that lets you create a task in the scripts section of the package.json. +An npm command that lets you create a task in the `scripts` section of the `package.json`. ```bash npm set-script [