This checklist is for publishing @cloudcreate/core.
- Verify working tree:
git status --short
- Verify package metadata:
nameis@cloudcreate/coreversionis the intended release versionexportsincludes all supported modules
- Verify package contents:
npm publish --dry-run --access public
Choose semver bump level:
- patch: bug fixes, docs-only release metadata sync
- minor: additive backward-compatible APIs
- major: breaking API changes
Update version:
npm version <patch|minor|major> --no-git-tag-version- Commit version/document updates.
- Push to
origin/main. - Publish:
npm publish --access public- Check dist-tag:
npm dist-tag ls @cloudcreate/core
- Check installability:
npm pack @cloudcreate/core@<version> --json
- Smoke import test:
node --input-type=module -e "import { browser } from '@cloudcreate/core'; console.log(Boolean(browser));"If old package names or imports changed:
- Update
README.mdmigration section. - Update
CHANGELOG.md. - Add or confirm deprecate message for old package names.