Skip to content

chore: remove dead crates and standalone-site commands#53

Merged
ssilvius merged 1 commit intomainfrom
chore/cleanup-dead-crates
Apr 17, 2026
Merged

chore: remove dead crates and standalone-site commands#53
ssilvius merged 1 commit intomainfrom
chore/cleanup-dead-crates

Conversation

@ssilvius
Copy link
Copy Markdown
Contributor

Summary

Pivot cleanup. Veneer no longer builds its own standalone doc site — it emits MDX that Astro sites (rafters.studio, runlegion.dev, huttspawn.com, gitpress.app) consume. This removes ~11k lines of code that served the old standalone-site product, plus two crates that were unused since the post-pivot rewrite.

Deleted crates:

  • `veneer-mdx` — MDX parser (used only by the deleted static/server crates)
  • `veneer-registry` — unused since March 2026 pivot, no importers
  • `veneer-server` — dev server with WebSocket HMR; Astro has Vite HMR
  • `veneer-static` — 867-line standalone HTML site builder
  • `veneer-service-design` — service design extraction moved to private premium repo

Deleted commands:

  • `init`, `dev`, `build`, `serve`, `watch` — all served the standalone-site flow

Survives:

  • `veneer-adapters` — JSX → Web Component, scope_css (core of the framework-less preview pipeline)
  • `veneer-docs` — CLI `--help` parser, sidebar JSONL, MDX skeleton generation
  • `veneer extract` — the one working command; emits Astro MDX for any clap CLI

Docs updated to match 3-crate workspace:

  • README trimmed to reflect actual current product
  • docs/ARCHITECTURE.md rewritten
  • docs/DEVELOPER.md rewritten (structure, build, test, release sections)
  • docs/USER_GUIDE.md deleted (documented the deleted flow)
  • Issue template dep graph updated

Net: -11,297 lines across 57 files.

Test plan

  • `cargo check` passes
  • `cargo fmt --all -- --check` passes
  • `cargo clippy --all-targets -- -D warnings` passes
  • `cargo test` passes (25 tests in veneer-adapters + veneer-docs, all green)
  • CI green on all matrix platforms

Delete five unused or misaligned crates:
- veneer-mdx, veneer-registry, veneer-server, veneer-static, veneer-service-design

Delete five commands that only served the standalone HTML site pipeline:
- init, dev, build, serve, watch

Veneer now emits MDX for consumption by Astro sites (rafters.studio,
runlegion.dev, huttspawn.com, gitpress.app) rather than building its own
standalone site. Astro already owns dev server, HMR, templating, and nav
— there is no reason to reimplement any of that. Service design extraction
moved to a separate private repo months ago. Registry was unused since the
post-pivot rewrite.

What survives:
- veneer-adapters (JSX -> Web Component, scope_css)
- veneer-docs (CLI --help parser, sidebar JSONL, MDX skeletons)
- veneer CLI with one command: extract

Docs (README, ARCHITECTURE, DEVELOPER, issue template) updated to match
the three-crate workspace. USER_GUIDE deleted — it documented the deleted
init/dev/build/serve flow.

Net: -11,297 lines across 57 files. All CI checks pass locally (check,
fmt, clippy, test on macOS).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ssilvius ssilvius merged commit 5f6e556 into main Apr 17, 2026
7 checks 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