Release and versioning
Varco uses semver tags in the form:
v0.1.0For a release tag, these versions must match the tag without the leading v:
custom_components/varco/manifest.jsonpackages/client/package.jsonbridge/package.json
Check them with:
npm run release:check-version -- 0.1.0Release checklist
Section titled “Release checklist”Before tagging:
npm testnpm run checknpm run buildnpm run docs:buildnpm --workspace packages/client pack --dry-runThen create and push the tag:
git tag v0.1.0git push origin v0.1.0GitHub release artifacts
Section titled “GitHub release artifacts”The release workflow builds and publishes:
varco-home-assistant.zip: the Home Assistant custom integration directory for users who do not install through HACS.@varco/client: published to npm frompackages/clientthrough npm Trusted Publishing.ghcr.io/vekexasia/varco-bridge: the Node in-memory bridge Docker image, tagged as the exact version (0.1.0), minor line (0.1), major line (0), andlatest.
After the first GHCR publish, make the package public in GitHub’s package settings if GitHub creates it as private.
Use the exact Docker tag for stable deployments:
docker run --rm -p 8787:8787 ghcr.io/vekexasia/varco-bridge:0.1.0npm publishing
Section titled “npm publishing”The package is published as:
npm install @varco/clientThe GitHub release workflow publishes with npm provenance through npm Trusted Publishing. It uses a GitHub-hosted runner, id-token: write, Node 24, and npm 11.5.1 or newer so npm can exchange the workflow OIDC identity for a short-lived publish credential.
Configure the package on npm with this trusted publisher:
Package: @varco/clientPublisher: GitHub ActionsOrganization or user: vekexasiaRepository: varcoWorkflow filename: release.ymlEnvironment name: leave emptyAllowed actions: npm publishManual publishing remains possible for maintainers:
npm --workspace packages/client publish --access publicDo not publish a package version that does not match the GitHub release tag.
HACS custom repository
Section titled “HACS custom repository”Users can install the Home Assistant integration by adding this repository as a HACS custom repository with type Integration:
https://github.com/vekexasia/varcoVarco is not in the HACS default store. HACS default-store inclusion is separate future work.