pack-all-tarballs v0.2.5
pack-all-tarballs
Why
In some situations, people don't have Internet access in their development environment. Typically, to support the npm install command, a repository mirror will be configured. Then people need to transfer tgz files from the Internet to the mirror somehow. However, it's not convenient enough to do that. So I write this util to automatically download all used packages as tgz files(which also means you need to implement upload util yourself regarding your mirror).
Install
npm install -g pack-all-tarballsUsage
First make sure you have your lock file ready. To pack all packages into ./tarballs folder, just run:
pack-all-tarballsNOTE: Currently only package-lock.json and pnpm-lock.yaml are supported.
For complicated usage, run pack-all-tarballs -h. You are able to change the output directory and which lock file to use.
License
MIT License © 2022 winwin2011
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago