Skip to content

Contribution

Evgenii Koriakin edited this page Feb 23, 2020 · 20 revisions

Contribution

  1. To contribute just create a pull request and describe the changes.

Running locally

  1. Clone the repository and install the dependencies wiht npm install.
  2. Use ionic serve (v3) or ng serve (v4) to run the app that contains ionic-selectable module together with demos.

Prepare release

  1. Update the version in the package.json according to Semantic Versioning. For example, if the release contains breaking changes than major number should be bumped and others reset to 0 - from 4.1.6 to 5.0.0.
  2. Run gulp from the root folder to prepare an npm package that will be created in dist folder.
  3. Run npm publish dist to publish the package to npm.
  4. Create a GitHub tag and describe the changes following the pattern.

Naming conventions

  1. Boolean variables should start with is, has, can, should, etc, for example isEnabled, hasConfirmButton, canSearch, shouldFocusSearchbar.
  2. Events should be named with a past participle, for example changed, selected, itemAdded.
Clone this wiki locally