Skip to main content

Publishing releases

Dhal is published as @rokadhq/dhal.

Local verification

npm run verify:publish
npm pack --dry-run

Alpha publish

npm publish --tag alpha --access public --provenance=false

Next publish

npm publish --tag next --access public --provenance=false

Latest publish

Use latest only for versions you want normal users to install by default.

npm publish --tag latest --access public --provenance=false

GitHub Actions

The repo can publish from GitHub Actions using an npm token or trusted publishing if available.

Recommended workflow checks before publish:

npm run typecheck
npm test
npm run build
npm run schema
npm run ci:config
npm run simulate
npm audit --omit=dev

Dist-tags

Inspect tags:

npm dist-tag ls @rokadhq/dhal

Promote a version:

npm dist-tag add @rokadhq/dhal@0.12.0-beta.0 beta