This guide describes how to publish updates to the ReactBits Animations package on npm.
- You must be a maintainer of the AadvikLabs/reactbits-animation repository.
- You need an npm account with publish access to the
@aadviklabsscope. - Node.js and npm installed locally.
npm install
npm run buildThis will generate the production-ready files in the dist/ directory.
- Follow Semantic Versioning: MAJOR.MINOR.PATCH
- Update the
versionfield inpackage.jsonfor each release. - Document changes in the changelog (if available).
npm login
npm publish --access public- Ensure the package name is
@aadviklabs/reactbits-animation. - Only publish from the
mainbranch.
- Verify the package on npmjs.com
- Announce the release in the repository (GitHub Releases or Discussions)
- If you encounter permission errors, ensure your npm account has access to the
@aadviklabsscope. - For 2FA, use your authentication app or recovery codes.
For issues, contact Aadviklabs or open an issue on GitHub.