Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Latest commit

 

History

History
74 lines (51 loc) · 2.45 KB

CONTRIBUTING.md

File metadata and controls

74 lines (51 loc) · 2.45 KB

How To Contribute

Initial setup

Notice: Node.js and Yarn needs to be installed on your local machine.

  • git clone https://github.com/hashicorp/flight
  • cd flight/ember-flight-icons
  • yarn install

Linting

  • yarn run lint
  • yarn run lint:fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

For more information on using ember-cli, visit https://ember-cli.com/.

Releasing a new npm version of the package

See the RELEASE guide for details.

Testing local changes to the addon

  • cd flight/ember-flight-icons
  • Run yarn link. You'll get a response such as:
success Registered "@hashicorp/ember-flight-icons".
info You can now run `yarn link "@hashicorp/ember-flight-icons"` in the projects where you want to use this package and it will be used instead.
✨  Done in 0.06s.

(If necessary, run a yarn unlink.)

"devDependencies": {
  "@hashicorp/ember-flight-icons": "link:~/your-path-here/flight/ember-flight-icons",
}
'use strict';

module.exports = {
  name: require('./package').name,
  isDevelopingAddon() {
    return true;
  },
};

Copy standards

  • When associated when Ember, refer to the npm package as "Ember addon" instead of just "addon".
    • Use "package" for other frameworks.
  • Refer to HashiCorp Voice, Style & Language Guidelines. Note: This link is internal only.