Skip to content

Latest commit

 

History

History
78 lines (57 loc) · 2.44 KB

CONTRIBUTING.md

File metadata and controls

78 lines (57 loc) · 2.44 KB

How To Contribute

Installation

  • git clone git@github.com:cybertoothca/ember-cli-textarea-autosize.git
  • cd ember-cli-textarea-autosize
  • yarn install

Linting

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

Linking This Addon For Local Testing

Linking

  1. From the command line at the root of this project run the npm link command to link this addon within your local node repository.
  2. From the other Ember project that you wish to test this addon in, execute the following command: npm link ember-cli-textarea-autosize.
  3. Now in that same other Ember project, you should go into the package.json and add the ember addon with the version *. It will look something like this: "ember-cli-textarea-autosize": "*". Now when/if you execute npm install on this other project it will know to look for the linked addon rather than fetch it from the central repository.
  4. Lastly, in the other Ember project run the blueprint for the ember-cli-textarea-autosize addon by executing: ember g ember-cli-textarea-autosize. This will install the appropriate Ember Addons and Bower dependencies.

Unlinking

  1. Remove the addon from your local node repository with the following command (that can be run anywhere): npm uninstall -g ember-cli-textarea-autosize
  2. Remove the reference to the ember-cli-textarea-autosize in your other project's package.json.
  3. Run an npm prune and bower prune from the root of your other project's command line.

Deploying The Dummy Application

Make sure your ~/.aws/credentials file has a profile named cybertooth with a valid key and secret,

[cybertooth]
aws_access_key_id = <KEY>
aws_secret_access_key = <SECRET>

Deploy by invoking the following command: ember deploy production

Confirm your changes are showing up in our S3 container: http://ember-cli-textarea-autosize.cybertooth.io/

Releasing & Publishing To NPM

yarn publish
git push
git push --tags