Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-06-16 00:23:00 +0300
committerLuke Karrys <lukekarrys@gmail.com>2021-06-17 20:10:32 +0300
commitc984fb59c5af087b91acd927cbbacad7c6a46576 (patch)
tree32de5c39e139849d429b26bc5888c0e74b5fb137 /tap-snapshots/test/lib/utils/config
parentc90612cf566d563199553749900d8b05367e2532 (diff)
feat(pack): add pack-destination config
This will allow users to specify a folder in which to save their tarballs. PR-URL: https://github.com/npm/cli/pull/3420 Credit: @wraithgar Close: #3420 Reviewed-by: @ruyadorno
Diffstat (limited to 'tap-snapshots/test/lib/utils/config')
-rw-r--r--tap-snapshots/test/lib/utils/config/definitions.js.test.cjs1
-rw-r--r--tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs7
2 files changed, 8 insertions, 0 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 32443c57a..35942fea6 100644
--- a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
+++ b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
@@ -98,6 +98,7 @@ Array [
"package",
"package-lock",
"package-lock-only",
+ "pack-destination",
"parseable",
"prefer-offline",
"prefer-online",
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 9e3ba4d1a..daa071b64 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
@@ -746,6 +746,13 @@ when publishing or changing package permissions with \`npm access\`.
If not set, and a registry response fails with a challenge for a one-time
password, npm will prompt on the command line for one.
+#### \`pack-destination\`
+
+* Default: "."
+* Type: String
+
+Directory in which \`npm pack\` will save tarballs.
+
#### \`package\`
* Default: