This is a template to develop and release a react component. This also includes github action for releasing the npm module.
Storybook https://upnotes-io.github.io/my-awesome-component-library/
- Create a new account in npm. https://www.npmjs.com/signup
- Create a new access token and select publish as a type https://www.npmjs.com/settings/upnotes/tokens
- Add secret to your repo or organization as NPM_TOKEN https://github.com/organizations/upnotes-io/settings/secrets/actions/new
- Create a new tag and use that tag to create the release. Creating a new release will trigger the workflow.
Adding deploy keys to your repo:
- https://github.com/JamesIves/github-pages-deploy-action/tree/dev#using-an-ssh-deploy-key-
- https://docs.github.com/en/developers/overview/managing-deploy-keys#setup-2
- https://github.com/upnotes-io/react-todo - A generic todo list component for react. This is being used in an electron based app: https://upnotes.io
Please create a PR if you are using this template in your open source project.
