pnpm pack
Cria um tarball a partir de um pacote.
Opções
--out <path>
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
.
--pack-destination <dir>
Diretório no qual pnpm pack
salvará os tarballs. O padrão é o diretório de trabalho atual.
--pack-gzip-level <level>
Especifica diferentes níveis de compressão.
--json
Exibe o log de saída no formato JSON.
Scripts de Life Cycle
prepack
prepare
postpack