Skip to content

Latest commit

 

History

History
83 lines (56 loc) · 1.86 KB

CONTRIBUTING.md

File metadata and controls

83 lines (56 loc) · 1.86 KB

How To Contribute

Installation

  • git clone [email protected]:cybertooth-io/ember-helper-locale-date.git
  • cd ember-helper-locale-date
  • yarn

Building The Add-on

  • ember b
  • ember build

Linting

  • yarn run lint:hbs
  • yarn run lint:js
  • yarn run lint:js -- --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 http://ember-cli.com/.

Upgrading The Add-On

When upgrading this add-on, after successfully performing ember init use the following commands to install the following dependencies required by this add-on.

ember install ember-helper-locale-date

Linking This Add-on For Local Testing

Linking

Use yarn.

# from this add-on project
$ yarn link
# from the other project that depends on this add-on
$ yarn link ember-helper-locale-date

In your other project's package.json, set "ember-helper-locale-date": "*",

Note: I've actually had to go into my other project and put this into its package.json: "ember-helper-locale-date": "link:../ember-helper-locale-date",

Unlinking

Again, use yarn.

# from this add-on project
$ yarn unlink
# from the other project that linked to this add-on
$ yarn unlink ember-helper-locale-date

Commiting Code

Fork and submit a pull request.

Try to use an emoji to help describe the commit: https://gitmoji.carloscuesta.me/

Releasing & Publishing To NPM

# `yarn publish` will prompt you for the next/new version name
$ yarn publish
$ git push
$ git push --tags