diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2022-06-02 00:11:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 00:11:16 +0300 |
commit | aee6fc857458ac660bf90ecd0af94212c7269fd7 (patch) | |
tree | 464eec61f9a60ea2e97d76ffd04f6a886f6b1396 /tap-snapshots/test/lib/npm.js.test.cjs | |
parent | 66981ecf08b888fde9188c162cc928fff7d6d9d6 (diff) |
feat(init): reify on init new workspace (#4892)
Adds a minimalistic reify step that updates the installed tree after
initializing a new workspace.
Moved the shared update logic from `lib/commands/version.js` to a
`lib/workspaces/update-workspaces.js` module that is reused between
both `npm version` and `npm init`.
Relates to: https://github.com/npm/rfcs/issues/556
Relates to: https://github.com/npm/cli/pull/4588
Diffstat (limited to 'tap-snapshots/test/lib/npm.js.test.cjs')
-rw-r--r-- | tap-snapshots/test/lib/npm.js.test.cjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tap-snapshots/test/lib/npm.js.test.cjs b/tap-snapshots/test/lib/npm.js.test.cjs index e71bc8268..d15cae442 100644 --- a/tap-snapshots/test/lib/npm.js.test.cjs +++ b/tap-snapshots/test/lib/npm.js.test.cjs @@ -486,7 +486,7 @@ All commands: Options: [-y|--yes] [-f|--force] [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]] - [-ws|--workspaces] [--include-workspace-root] + [-ws|--workspaces] [--no-workspaces-update] [--include-workspace-root] aliases: create, innit |