Skip to content

chore: remove BareBuild from BareDOM#266

Merged
avanelsas merged 1 commit into
mainfrom
chore/remove-barebuild
Jun 10, 2026
Merged

chore: remove BareBuild from BareDOM#266
avanelsas merged 1 commit into
mainfrom
chore/remove-barebuild

Conversation

@avanelsas

Copy link
Copy Markdown
Owner

Retire BareBuild entirely from the BareDOM repo, landing the removal as a single clean deletion PR (no history rewrite / force-push — honors the PR-only release norm).

What's removed

  • Read-side orchestration elements: barebuild-router, barebuild-route, barebuild-data (components, exports, tests, docs, demos).
  • BareBuild CLI + project template and the Phase-4 demo app (whole barebuild/ dir).
  • All BareBuild docs.
  • Alpha (pre-release) dist-tag CI lane — reverts ci(release): add an alpha (pre-release) dist-tag lane #261 (release.yml + docs/RELEASING.md).
  • The now-obsolete scripts/check-barebuild-boundary.bb and its CI step + the demo-app E2E job.

Merged PRs being retired

#252, #253, #256, #258, #259, #260, #261.

Deliberately preserved

The open write-side PR #262 (and its branch feat/barebuild-write-side) is being closed/deleted separately.

Why this is safe

The BareBuild seam was CI-enforced (no non-BareBuild component imported any BareBuild code), so this is deletion + clearly-delimited reference-block edits — no cascading changes into shared utilities.

Reference-block edits

  • registry.cljs / core.cljs — drop barebuild-registers
  • shadow-cljs.edn / package.json — drop the barebuild-* ESM modules + exports
  • public/index.html / README.md / docs/components.md — drop the now-empty Orchestration category
  • scripts/generate_types.bb / metadata.bb — type only x-* again
  • .github/workflows/ci.yml — drop the boundary check + demo-app E2E job
  • custom-elements.json — regenerated (no barebuild entries)
  • CLAUDE.md / src/baredom/utils/dom.cljs — scrub barebuild from inline examples

Verification

  • clj-kondo --lint src test → 0/0
  • shadow-cljs release lib → 0 warnings (Closure Advanced)
  • shadow-cljs compile test → 0 warnings
  • npm test5096 passing
  • require-style / du-discipline / method-api / bundle-size guards → all green
  • grep gate → no barebuild references remain in tracked files

Follow-up (not in this PR)

The published @vanelsas/baredom@4.0.0-alpha.1 (npm alpha tag) will be deprecated separately via npm deprecate — git cannot retract a published package.

🤖 Generated with Claude Code

Retire BareBuild entirely from the BareDOM repo. Removes the read-side
orchestration elements (barebuild-router / barebuild-route / barebuild-data),
the BareBuild CLI generator + project template, the Phase-4 demo app, all
BareBuild docs, and reverts the alpha (pre-release) dist-tag CI lane (#261).

Removed merged work: #252, #253, #256, #258, #259, #260, #261.
Preserved: #257 (unrelated x-form/x-select fix) and #263 (x-select .value),
which only happened to land in the same window.

The seam was clean (CI-enforced via the now-removed
scripts/check-barebuild-boundary.bb): no non-BareBuild component imported any
BareBuild code, so this is deletion + reference-block edits only.

Reference edits:
- registry.cljs / core.cljs: drop barebuild-registers
- shadow-cljs.edn / package.json: drop the barebuild-* ESM modules + exports
- public/index.html / README.md / docs/components.md: drop the Orchestration
  category (now empty)
- scripts/generate_types.bb / metadata.bb: type only x-* again
- .github/workflows/ci.yml: drop the boundary check + demo-app E2E job
- .github/workflows/release.yml + docs/RELEASING.md: revert the #261 alpha lane
- custom-elements.json: regenerated (no barebuild entries)
- CLAUDE.md / src/baredom/utils/dom.cljs: scrub barebuild from inline examples

Verified: clj-kondo 0/0, release lib 0 warnings, compile test 0 warnings,
npm test 5096 passing, require-style / du-discipline / method-api / bundle-size
guards all green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@avanelsas avanelsas merged commit d02ad42 into main Jun 10, 2026
1 check passed
@avanelsas avanelsas deleted the chore/remove-barebuild branch June 10, 2026 08:46
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