Just an example of a library using React published to npm.
See BOOTSTRAP.md for the full process taken to setup this project.
React, vite, yarn.
yarn publish does not seem to work (OTP through security key is always invalid) so we use npm to publish.
- Increment version number if necessary.
// package.json
"version": "0.0.2",
- Make sure all code is updated on git.
git add .
git commit -m "<message>"
git push
- Login to npm
npm login
- Publish to npm
npm publish