Yarn:
yarn add @paralenz/react-hooks
npm:
npm install @paralenz/react-hooks
You will need to have a .npmrc
file in your project that tells npm to use the github package registry
echo "@paralenz:registry=https://npm.pkg.github.com/" > .npmrc
Publishing a new version has never been easier.
All you need to do is bump the version and merge your changes to the master
branch.
This will fun the publish.yml
workflow
You can either run yarn version [major|minor|match]
or change the version in package.json