Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 792 Bytes

CONTRIBUTING.md

File metadata and controls

27 lines (18 loc) · 792 Bytes

Contributing

To keep the quality of this collection high, all the Hooks should be documented and well tested.

Tests should be written using react-hooks-testing-library.

Creating a new Hook

Run yarn new-hook to create and configure a new Hook.

This will prompt you to enter the name and description for your Hook, before adding it to the ./packages dir. This will create a new NPM package called @charlietango/{{HookName}}.

Publishing

Currently, publishing a new release is a manual lerna publish task. Make sure you have access rights to publish to our NPM before creating a new release.

yarn release

Lerna should bump the version automatically based on the conventional commit history.