Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.42 KB

CONTRIBUTING.md

File metadata and controls

47 lines (31 loc) · 1.42 KB

How To Contribute

Installation

  • git clone <repository-url>
  • cd ember-smile-polaris
  • pnpm install

Linting

  • pnpm lint
  • pnpm 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/.

Setting up upstream ember-polaris repo

# One-time only - add git remote
git remote add upstream --no-tags [email protected]:smile-io/ember-polaris.git

NOTE: Make sure you use --no-tags when adding upstream so that fetching from upstream does not pull in ember-polaris's tags and overwrite this addon's own tags.

Merging upstream changes

git fetch upstream;
git switch -c ember-polaris-master --track upstream/master;
git checkout master;
git checkout -b upstream-merge;
git merge ember-polaris-master --no-ff;

On the last step among other possible conflicts, you'll notice a conflict in the package.json file for the package information. Ensure you keep ember-smile-polaris' info as is & resolve any other conflicts on a case by case basis.