The following commands are available through npm run
Command | Purpose |
---|---|
build | Build this project |
lint | Check linting using ESLint |
start | Starts the addon and the test app |
test | Test all supported versions |
See authenticating with the npm.fontawesome.com registry before doing the following
- Check if all CI tests on github 3.x branch were passed
- Open
package.json
fromember-fontawesome
folder and update the version number - Add new contributors to the
contributors
section - Update the
CHANGELOG.md
pnpm install
, runpnpm build
andpnpm lint
git add . && git commit -m 'Release VERSION'
git push
git tag 3.0.0
(update 3.0.0 always to released version number)git push origin 3.0.0
(update 3.0.0 always to released version number)cd ember-fontawesome
pnpm publish --tag latest
pnpm dist-tag add @fortawesome/[email protected] latest-3
(update 3.0.0 always to released version number)pnpm publish --tag latest --registry https://npm.fontawesome.com
(publish to Pro registry)pnpm dist-tag add @fortawesome/[email protected] latest-3 --registry https://npm.fontawesome.com
(update 3.0.0 always to released version number, push to Pro registry)- 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 password (it's the API Key, which you will find under API Settings)
- 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