Before publishing a new version:
- All tests pass (
npm test) - Code builds successfully (
npm run build) - TypeScript compiles without errors (
npm run typecheck) - ESLint passes (
npm run lint) - Version number updated in
package.json -
CHANGELOG.mdupdated with new changes - README updated if needed
- All changes committed and pushed to main branch
- Run full check:
npm run dev - Create release:
npm run release:ps - Push changes:
git push && git push --tags - Create GitHub release with tag
- Verify package published to NPM and GitHub Packages
- Verify package installs correctly
- Check package page on npmjs.com
- Update any dependent projects
- Announce release if needed