Two release tracks are independent — the core library (@vanelsas/baredom) and each framework adapter (@vanelsas/baredom-{react,angular,vue,svelte,solid}) version on their own cadence.
All release-prep commits must land via PR — never push directly to main.
When bumping the version, update all four locations — they must match:
package.json — "version": "X.Y.Z"build.clj — (def version "X.Y.Z")deps.edn — :exec-args {:artifact "target/baredom-X.Y.Z.jar"}README.md — Clojars and npm install examplesThen:
## [X.Y.Z] entry to CHANGELOG.mdvX.Y.Z, push with git push origin main --tagsThe release.yml workflow triggers on v* tags and publishes to npm, Clojars, and GitHub Releases. pom.xml is auto-generated by build.clj — do not edit it manually.
Each framework adapter lives under adapters/<name>/ and has its own workflow in .github/workflows/release-<name>.yml, keyed on <name>-v<X.Y.Z> tags:
| Adapter | Workflow | Tag pattern |
|---|---|---|
@vanelsas/baredom-react | release-react.yml | react-vX.Y.Z |
@vanelsas/baredom-angular | release-angular.yml | angular-vX.Y.Z |
@vanelsas/baredom-vue | release-vue.yml | vue-vX.Y.Z |
@vanelsas/baredom-svelte | release-svelte.yml | svelte-vX.Y.Z |
@vanelsas/baredom-solid | release-solid.yml | solid-vX.Y.Z |
To release an adapter:
adapters/<name>/package.json → "version": "X.Y.Z"git tag <name>-vX.Y.Z && git push origin <name>-vX.Y.ZThe per-adapter workflow regenerates the adapter sources, fails on git diff drift, builds, then npm publish --workspace adapters/<name> --access public with the repo's NPM_TOKEN secret.
The first time an adapter package name is published, the NPM_TOKEN must have permission to create new packages under the @vanelsas scope:
Read and write on @vanelsas, or add each new package name to the token's allowlist before tagging.If the first-publish action fails with 403 Forbidden, the token is missing permission for the new name. Fix on npmjs.com, then delete and re-push the failed tag:
git tag -d <name>-vX.Y.Z
git push origin :refs/tags/<name>-vX.Y.Z
# fix token...
git tag <name>-vX.Y.Z && git push origin <name>-vX.Y.Z
EOTP means the token type is wrong (classic non-Automation token blocked by 2FA) — regenerate as Automation or Granular.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |