Skip to content

Commit 98d2a71

Browse files
committed
docs: pack --out
1 parent f0d3918 commit 98d2a71

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/cli/pack.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Create a tarball from a package.
77

88
## Options
99

10+
### --out <path\>
11+
12+
Customizes the output path for the tarball. Use `%s` and `%v` to include the package name and version, e.g., `%s.tgz` or `some-dir/%s-%v.tgz`. By default, the tarball is saved in the current working directory with the name `<package-name>-<version>.tgz`.
13+
1014
### --pack-destination &lt;dir\>
1115

1216
Directory in which `pnpm pack` will save tarballs. The default is the current working directory.

versioned_docs/version-9.x/cli/pack.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Create a tarball from a package.
77

88
## Options
99

10+
### --out &lt;path\>
11+
12+
Customizes the output path for the tarball. Use `%s` and `%v` to include the package name and version, e.g., `%s.tgz` or `some-dir/%s-%v.tgz`. By default, the tarball is saved in the current working directory with the name `<package-name>-<version>.tgz`.
13+
1014
### --pack-destination &lt;dir\>
1115

1216
Directory in which `pnpm pack` will save tarballs. The default is the current working directory.

0 commit comments

Comments
 (0)