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.
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}}
.
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.