diff options
author | Nathan Fritz <fritzy@github.com> | 2022-06-02 20:04:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 20:04:22 +0300 |
commit | 40c823cc7d33d22f659a1ccceed440baacaaff1d (patch) | |
tree | 0735ec817594e0099de69cda7a6a237b54425875 /tap-snapshots/test | |
parent | 4ee12d0f64c3bc1b168f795deddb5145e5c86444 (diff) |
fix: undeprecate and remove warnings for --global, -g, --local (#4982)
Diffstat (limited to 'tap-snapshots/test')
-rw-r--r-- | tap-snapshots/test/lib/utils/config/definitions.js.test.cjs | 2 | ||||
-rw-r--r-- | tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs | 36 |
2 files changed, 17 insertions, 21 deletions
diff --git a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs index d67f3e6fe..33d6e4fb7 100644 --- a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs +++ b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs @@ -733,8 +733,6 @@ exports[`test/lib/utils/config/definitions.js TAP > config description for globa * Default: false * Type: Boolean -* DEPRECATED: \`--global\`, \`--local\` are deprecated. Use \`--location=global\` - instead. Operates in "global" mode, so that packages are installed into the \`prefix\` folder instead of the current working directory. See diff --git a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs index 853e758dc..77f2c8768 100644 --- a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs +++ b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs @@ -560,6 +560,23 @@ results in no commit being made at all. <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> +#### \`global\` + +* Default: false +* Type: Boolean + +Operates in "global" mode, so that packages are installed into the \`prefix\` +folder instead of the current working directory. See +[folders](/configuring-npm/folders) for more on the differences in behavior. + +* packages are installed into the \`{prefix}/lib/node_modules\` folder, instead + of the current working directory. +* bin files are linked to \`{prefix}/bin\` +* man pages are linked to \`{prefix}/share/man\` + +<!-- automatically generated, do not edit manually --> +<!-- see lib/utils/config/definitions.js --> + #### \`global-style\` * Default: false @@ -1808,25 +1825,6 @@ Alias for \`--include=dev\`. <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> -#### \`global\` - -* Default: false -* Type: Boolean -* DEPRECATED: \`--global\`, \`--local\` are deprecated. Use \`--location=global\` - instead. - -Operates in "global" mode, so that packages are installed into the \`prefix\` -folder instead of the current working directory. See -[folders](/configuring-npm/folders) for more on the differences in behavior. - -* packages are installed into the \`{prefix}/lib/node_modules\` folder, instead - of the current working directory. -* bin files are linked to \`{prefix}/bin\` -* man pages are linked to \`{prefix}/share/man\` - -<!-- automatically generated, do not edit manually --> -<!-- see lib/utils/config/definitions.js --> - #### \`init.author.email\` * Default: "" |