Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 2.25 KB

CONTRIBUTING.md

File metadata and controls

67 lines (46 loc) · 2.25 KB

How To Contribute

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://cli.emberjs.com/release/.

Releasing a new npm version of the package

Follow the instructions for Changesets in the root README.

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.