bun-pm-pack
Create a .tgz archive containing the files that would be published to npm (same behavior as npm pack). tldr-pages
On several platforms
Several platforms
Create a tarball from the current workspace
bun pm packIdentifySimulate packing, running all steps without writing the tarball to disk
bun pm pack --dry-runIdentifySave the tarball to a specific directory
bun pm pack --destination path/to/directoryIdentifySet an exact filename for the tarball
bun pm pack --filename filenameIdentifySkip prepack, postpack, and prepare scripts
bun pm pack --ignore-scriptsIdentifySet the gzip compression level (0-9, default: 9)
bun pm pack --gzip-level 5IdentifyOutput only the tarball filename and suppress verbose logs
bun pm pack --quietIdentify