@dperuo/npm-carbon v1.1.0
Welcome to @dperuo/npm-carbon š
Forked from goodeggs/npm-copy.
Use @dperuo/npm-carbon to make a "carbon copy" of any npm package and all its published versions.
Install
No installation needed. Use @dperuo/npm-carbon directly from npm using the npx command.
npx @dperuo/npm-carbon <OPTIONS>Usage
:dart: NOTE: You can mix-and-match command options as needed.
Authenticate Using Auth Tokens
npx @dperuo/npm-carbon \
--from ${FROM_URL} \
--from-token ${FROM_TOKEN} \
--to ${TO_URL} \
--to-token ${TO_TOKEN} \
packageA [packageB...]Authenticate Using Username, Password, and Email
npx @dperuo/npm-carbon \
--from ${FROM_URL} \
--from-username ${FROM_USERNAME} \
--from-password ${FROM_PASSWORD} \
--from-email ${FROM_EMAIL} \
--to ${TO_URL} \
--to-username ${TO_USERNAME} \
--to-password ${TO_PASSWORD} \
--to-email ${TO_EMAIL} \
packageA [packageB...]Modify Package Prefix
Modify the package prefix using the --from-prefix and --to-prefix flags.
npx @dperuo/npm-carbon \
--from-prefix ${FROM_PREFIX} \
--to-prefix ${TO_PREFIX} \
packageA [packageB...]:warning: WARNING: List packages without their prefix when using the prefix flags. Example: @foo/packageA becomes just packageA.
Author
š¤ Derek Peruo derek@derekperuo.net
- Website: http://a6t.co
- Github: @dperuo
- LinkedIn: @derekperuo
- Twitter: @derekperuo
š¤ Contributing
Contributions, issues and feature requests are welcome! Feel free to check issues page.
Working With the @dperuo/npm-carbon Repo
Install
Clone this repo to your local machine and install dependencies.
git clone https://github.com/dperuo/npm-carbon.git
cd npm-carbon/
npm installUsage
Use the start command to compile Coffeescript and watch for changes.
npm startRun the local JavaScript file directly to check your changes.
./bin/npm-carbon.js <OPTIONS>Run Tests
Run the full test suite using the test command.
npm run testSubmit Your Pull Request
Always submit your Pull Request against master.
Show your support
Give a āļø if this project helped you!
š License
Copyright Ā© 2020 Derek Peruo.
This project is MIT licensed.
This README was generated with ā¤ļø by readme-md-generator