Repository navigation
Conversation
crates/ holds what ships, flat, like packages/: the engine (core, with its proc macros nested in core/macros because the compiler demands a separate crate) and its bridges (wasm, jsi). The React Native bridge is named for the boundary it crosses, not the tool: crates/jsi (dunky-state-machine-jsi), uniffi today. The sandbox machines in Rust move next to the sandboxes, sandbox/rust, like benchmark/rust; the turbo module built from the bridge is sandbox/jsi (@sandbox/jsi). Docs name the role and keep "bridges" (a runtime boundary) apart from "bindings" (the a11y and event vocabulary). CI paths, the workspace manifest, the wasm build and the sandbox imports follow. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacks on #77 (
crate-names). Moves and renames only; no behavior change.The rule
crates/mirrorspackages/: the engine, then one flat directory per thing that touches a substrate. Sandboxes live undersandbox/.Moves
crates/macroscrates/core/macrosdunky-state-machine-macros(unchanged)crates/unifficrates/jsidunky-state-machine-jsi(was-uniffi)crates/sandboxsandbox/rustdunky-sandbox(unchanged)sandbox/uniffisandbox/jsi@sandbox/jsi(was@sandbox/uniffi)crates/wasm/SPEC.md, and a bridge built another way sits behind the same facade.packages/shared/bindings, Rust twin later). Written down once in ARCHITECTURE.md.cargo packageskips nested packages, so publishingdunky-state-machinedoes not pick upcore/macros.Verified:
cargo lint, both cargo test suites,pnpm build:wasm,pnpm lint,pnpm typecheck,pnpm test(390), andpnpm --filter @sandbox/jsi ubrn:iosregenerates the turbo module from the new path.🤖 Generated with Claude Code