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
yarn run lint
yarn run lint:fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"ember try:each
– Runs the test suite against multiple Ember versions
ember serve
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
See the RELEASE guide for details.
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
.)
- In your external repo, e.g. https://github.com/hashicorp/design-system-playground-fastboot, run
yarn link "@hashicorp/ember-flight-icons"
- In your external repo, manually add the path to the
package.json
. For example:
"devDependencies": {
"@hashicorp/ember-flight-icons": "link:~/your-path-here/flight/ember-flight-icons",
}
- Run
yarn
oryarn install
- You may need to copy code such as https://github.com/hashicorp/flight/blob/main/ember-flight-icons/tests/dummy/app/templates/application.hbs into the external app's
application.hbs
to see the results. - If you want to test local changes to
ember-flight-icons
, addisDevelopingAddon
toember-flight-icons/index.js
. The file will look something like the following:
'use strict';
module.exports = {
name: require('./package').name,
isDevelopingAddon() {
return true;
},
};
- 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.