The following commands are available through npm run
or yarn
:
Command | Purpose |
---|---|
build | Build a development version of the library using Rollup |
dist | Build a production version of the library using Rollup |
test | Execute unit tests |
During pre release, make sure and use --tag
and --npm-dist-tag
- Update
package.json
and changeversion
- Update
README.md
andpackage.json
; adding any contributors - Update the
CHANGELOG.md
npm publish --tag latest-3
npm publish --tag latest-3 --registry https://npm.fontawesome.com
git add .
git commit -a -m 'Release VERSION'
git push
- Create a new release with CHANGELOG details
Contributors with authorization to publish to npm.fontawesome.com will receive an invite from a Font Awesome project owner.
- Respond to the invite in your email
- Let the owner know when you've setup your account
- Owner will add you to the team
You can then run:
npm login --registry https://npm.fontawesome.com
- The username is the "slug" for your Cloudsmith account. For example mine is "rob-madole".
- Enter the password that you setup just a few minutes ago.
- It says the your email is PUBLIC. Pretty sure that's false since the auth is through Cloudsmith.
- This doesn't overwrite your standard login, just adds to your
~/.npmrc