@matejbransky/react-lib
v1.0.0
Published
A basic React+TS repository with [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and [GitHub Actions workflow](https://github.com/features/actions) configuration to achieve fully automated package publishing to the NPM registry. As
Downloads
2
Readme
react-lib template
A basic React+TS repository with Conventional Commits and GitHub Actions workflow configuration to achieve fully automated package publishing to the NPM registry. As a bonus Renovate bot keeps dependencies up to date.
Features:
- code quality tools (Prettier, ESLint)
- TypeScript
- React
- unit tests with Jest
- demo app
- Github Actions (test, release)
- conventional commits (commitlint in precommit hook, semantic release)
- UMD, ES bundles
- deployment of demo app with Vercel
Create a new repository from this template
Click the Use this template
button and provide the new repository details.
Getting Started
Let's start by setting up the new repository:
To perform authenticated operations against the npm registry in your workflow, you'll need to store your npm authentication token as a secret
NPM_TOKEN
. For more information, see "Creating and using encrypted secrets." (source)Update:
How it works
Each push to main
branch will generate a version number, git tag, Conventional Changelog, release commit, pushing changes to the origin and publish to the NPM registry.