lerna pack <...args> to generate local tarballs
Author: indexzeroCreated Jun 14, 2019Updated Jul 24, 2026
Labelstype: feature
Did a fair amount of searching within open & closed issues before opening this. If I have over looked something obvious please let me know.
Hi. Long time lurker, first time poster. Very comfortable with npm pack behavior:
$ npm pack
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info lifecycle [email protected]~prepublish: [email protected]
npm info lifecycle [email protected]~prepare: [email protected]
npm info lifecycle [email protected]~prepack: [email protected]
npm info lifecycle [email protected]~postpack: [email protected]
npm notice
npm notice [email protected]
npm notice === Tarball Contents ===
npm notice 878B package.json
npm notice 136B .eslintrc
npm notice 25B .gitattributes
npm notice 220B .travis.yml
npm notice 374B CHANGELOG.md
npm notice 1.1kB index.js
npm notice 1.1kB LICENSE
npm notice 689B README.md
npm notice 2.5kB test.js
npm notice 616B config/cli.js
npm notice 538B config/index.js
npm notice 516B config/npm.js
npm notice 556B config/syslog.js
npm notice === Tarball Details ===
npm notice name: triple-beam
npm notice version: 1.3.0
npm notice filename: triple-beam-1.3.0.tgz
npm notice package size: 3.4 kB
npm notice unpacked size: 9.2 kB
npm notice shasum: a595214c7298db8339eeeee083e4d10bd8cb8dd9
npm notice integrity: sha512-XrHUvV5HpdLmI[...]qfAbEe/QMp2Lw==
npm notice total files: 13
npm notice
triple-beam-1.3.0.tgz
npm timing npm Completed in 343ms
npm info ok Looking for similar behavior in lerna. Don't want to publish anything or increment any versions, just want to generate *.tgz files based on the current configs and CLI args passed in.
Source: lerna/lerna