Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.76 KB

DEVELOPMENT.md

File metadata and controls

48 lines (36 loc) · 1.76 KB

Developing Ember Fontawesome

Tasks

The following commands are available through npm run

Command Purpose
build Build this project
lint:js Check linting using ESLint
start Starts ember serve
test Test on the latest stable version of Ember
test:all Test all supported versions as specified in config/ember-try.js

Releasing a new version

See authenticating with the npm.fontawesome.com registry before doing the following

  1. Edit package.json and update the version number
  2. Add new contributors to the contributors section
  3. Update the CHANGELOG.md
  4. npm install and npm run build and npm run test
  5. npm publish --tag latest --tag latest-2
  6. npm publish --tag latest --tag latest-2 --registry https://npm.fontawesome.com (publish to Pro registry)
  7. git add . && git commit -m 'Release VERSION'
  8. git push
  9. Create a new release with CHANGELOG details

Authenticating with the npm.fontawesome.com registry

Contributors with authorization to publish to npm.fontawesome.com will receive an invite from a Font Awesome project owner.

  1. Respond to the invite in your email
  2. Let the owner know when you've setup your account
  3. 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