We're very grateful for outside contributions, as they both improve the robustness of the addon and help inform how the addon is being used in real-world applications. Whether the contribution is a minor documentation fix or major feature enhancement, we're always happy to accept changes that adhere to the expectations in this document.
Fork and clone the repository:
$ git clone https://github.com/<username>/storybook-addons-abstract
Install dependencies from the project root using Yarn:
$ cd storybook-addons-abstract && yarn install
Transpile the src
directory into a dist
directory using Babel:
$ yarn build
Lint and format all code using Prettier via ESLint:
$ yarn lint --fix
Run unit tests using Jest:
$ yarn test
New package versions of storybook-addons-abstract
are automatically published to the public NPM registry whenever new tags are pushed to the repository. This repository uses standard-version
as a convention to automate versioning, tagging, and changelog generation:
- Bump the version and submit a pull request.
$ yarn release $ git push origin <new_tag_version>
- Once the PR lands, push the new tag to the repository.
$ git push origin <new_tag_version>