build: add Smithers workspace and package definitions - #2099
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Design-partner configuration for the Smithers build API (a Bazel-like workflow system): a root WORKSPACE.ts, PACKAGE.ts files per workspace package (exemplar-per-category for sibling packages), agent workflow packages, and permissive ambient type declarations. The @smthrs packages do not exist yet; these files define the API through usage. No tracked file is modified; every package tsconfig includes only src/ or explicit entries, so the real builds are unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
What this is
Design-partner configuration for Smithers, a Bazel-like build and agent-workflow system. The
@smthrspackages do not exist yet: this is API-driven development, where real repos define the API through usage and the implementation follows. Nothing here runs today.Tevm is the monorepo design partner. It exercises workspace graphs, a second runtime, Rust crates, multi-registry release, and external test corpora.
Layout
WORKSPACE.ts— Node and Bun runtime layers, pnpm workspace graph, host binaries.PACKAGE.ts— lint, cross-package suites via label-pattern queries, changesets release train, JSR publish, emitted GitHub CI (replacing ci/release/jsr-publish/wasm-size-check/parity-suites workflows), coverage and size gates, gated commit/pr targets, nightly conformance cron.PACKAGE.ts—packages/{evm,state,actions,errors,memory-client},tevm/,cli/,test/,bundler-packages/{vite,resolutions-rs},extensions/viem,sites/core. Each category has one exemplar file; siblings follow it, noted in comments.workflows/— a JSDoc agent lint and aconformance-triageworkflow (EIP-3155 trace-diff loop over the repo's trace tooling).smithers.d.ts— permissive ambient declarations so the files type-check until the real packages ship.API surfaces this repo introduces
S.Npm.Workspaces/S.Npm.WorkspaceDeps— the pnpm workspace graph as a layer;workspace:*deps resolve to built outputs in topological order, replacing nxdependsOn: ^buildwith data edges.S.Query({ pattern: "//**:test" })— label-pattern aggregation replacingnx run-many; new packages join suites without imports.S.Runtime.Bun— a second runtime as a plain workspace layer key.S.Cargo.*/S.Napi.Build— the Rust crates and their napi platform emits.S.Changesets.Version/Publish,S.Jsr.Publish— the release train, gated on CI plus a//**:apiCompatquery.S.Npm.PackageLint— publint + attw against the packed tarball.S.Size.Gate,S.Coverage.Gate— byte and coverage floors in the graph.S.Git.Checkout— rev-pinned external fixture corpora (ethereum/tests, execution-spec-tests), thehttp_archiveanalog.sandbox: { docker: true }— admits the host docker daemon for hive.S.Vercel.Deploy— the docs site, gated on sample verification.Repo impact
None: all files are additions; no tracked file is modified.
🤖 Generated with Claude Code