Skip to content

ci(solid-adapter): add release-solid.yml + document adapter releases#248

Merged
avanelsas merged 1 commit into
mainfrom
feature/solid-release-workflow
May 26, 2026
Merged

ci(solid-adapter): add release-solid.yml + document adapter releases#248
avanelsas merged 1 commit into
mainfrom
feature/solid-release-workflow

Conversation

@avanelsas
Copy link
Copy Markdown
Owner

Summary

Completes the release infrastructure for the five framework adapters.

What's published vs not (from investigation)

Package npm version Workflow file
@vanelsas/baredom 3.2.0 (published) release.yml
@vanelsas/baredom-react 2.1.0 (published) release-react.yml
@vanelsas/baredom-angular 2.7.0 (published) release-angular.yml
@vanelsas/baredom-vue not published release-vue.yml (ready, awaiting tag)
@vanelsas/baredom-svelte not published release-svelte.yml (ready, awaiting tag)
@vanelsas/baredom-solid not published missing — added in this PR

Changes

  1. New .github/workflows/release-solid.yml — mirrors release-vue.yml (Solid uses plain tsc, same build shape as Vue). Triggers on solid-v* tags. Regenerates adapter sources, fails on git-diff drift, builds with tsc, publishes @vanelsas/baredom-solid to npm with --access public, and creates a GitHub Release.

  2. Extended docs/RELEASING.md from core-library-only (17 lines) to cover the adapter release process. Adds:

    • Per-adapter workflow table with tag patterns
    • 3-step adapter release procedure
    • First-time-publish NPM_TOKEN permission section explaining Automation vs Granular tokens and the 403 / EOTP failure modes

Pre-flight verification (locally)

  • bb scripts/generate_solid.bb → 104 wrappers generated
  • git diff --exit-code adapters/solid/ → clean (workflow's drift guard will pass)
  • cd adapters/solid && npx tsc → exit 0

After this PR merges

Adapter publishes will be:

git tag svelte-v0.1.0 && git push origin svelte-v0.1.0   # canary first
git tag solid-v0.1.0  && git push origin solid-v0.1.0
git tag vue-v0.1.0    && git push origin vue-v0.1.0

First-publish caveat: confirm NPM_TOKEN permission for the new package names before tagging. If it's a Granular token with a fixed allowlist, the new names need adding on npmjs.com (or grant scope-level write on @vanelsas). See the new RELEASING.md section.

Test plan

  • bb scripts/generate_solid.bb produces output identical to what's committed
  • git diff --exit-code adapters/solid/ clean — workflow's drift guard will pass
  • cd adapters/solid && npx tsc exits 0 — workflow's build step will pass
  • Workflow file structure matches release-vue.yml (Solid is the closest analog — both use plain tsc)
  • Live verification (post-merge, follow-up): push svelte-v0.1.0 as canary, confirm npm publish succeeds, then push solid and vue tags

🤖 Generated with Claude Code

…releases

Two changes that complete the release infrastructure for the five
framework adapters:

1. New .github/workflows/release-solid.yml — mirrors release-vue.yml
   (Solid uses plain tsc, same build shape as Vue). Triggers on
   solid-v* tags. Regenerates adapter sources, fails on git-diff
   drift, builds with tsc, publishes @vanelsas/baredom-solid to npm
   with --access public, and creates a GitHub Release.

2. Extended docs/RELEASING.md from core-library-only (17 lines) to
   cover the adapter release process. Adds:
   - Per-adapter workflow table with tag patterns
   - 3-step adapter release procedure
   - First-time-publish NPM_TOKEN permission section explaining
     Automation vs Granular tokens and the 403 / EOTP failure modes

Pre-flight verified locally:
- bb scripts/generate_solid.bb -> 104 wrappers
- git diff --exit-code adapters/solid/ -> clean (workflow's drift guard passes)
- cd adapters/solid && npx tsc -> exit 0

After this PR merges, the adapters can be released with
`git tag <name>-v0.1.0 && git push origin <name>-v0.1.0`. First-time
publish requires confirming NPM_TOKEN permission for the new package
names — see the RELEASING.md section.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avanelsas avanelsas merged commit 9d0e720 into main May 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant