Skip to content

refactor(crates): name the crates after the npm packages - #77

Open
ivanbanov wants to merge 2 commits into
rn-uniffifrom
crate-names
Open

ivanbanov wants to merge 2 commits into
rn-uniffifrom
crate-names

Conversation

@ivanbanov

Copy link
Copy Markdown
Member

Stacks on #76 (rn-uniffi). A mechanical rename, no behavior change.

Before After npm twin
dunky-core dunky-state-machine @dunky.dev/state-machine
dunky-macros dunky-state-machine-macros (re-exported by the engine crate)
dunky-wasm dunky-state-machine-wasm @dunky.dev/state-machine-wasm
dunky-uniffi dunky-state-machine-uniffi (the RN facade, planned)
  • Directories stay as they are: crates/core, crates/wasm, like packages/core and packages/wasm.
  • The private crates keep their names: dunky-sandbox, dunky-benchmark.
  • Rust paths follow: use dunky_state_machine::{Config, Machine, ...}. The uniffi lib is dunky_state_machine_uniffi, so ubrn's generated namespace changes with it (all generated, nothing committed).
  • 57 files: manifests, lockfiles, sources, tests, docs, website. Verified with cargo lint, both cargo test suites, pnpm lint, pnpm typecheck, pnpm test (390 tests), and pnpm build:wasm.

🤖 Generated with Claude Code

dunky-core -> dunky-state-machine, dunky-macros -> dunky-state-machine-macros,
dunky-wasm -> dunky-state-machine-wasm, dunky-uniffi -> dunky-state-machine-uniffi,
matching @dunky.dev/state-machine and @dunky.dev/state-machine-wasm. Directories stay
(crates/core, crates/wasm, as packages/core, packages/wasm do). The private crates
(dunky-sandbox, dunky-benchmark) keep their names.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dunky-state-machine Ready Ready Preview Oct 12, 2026 8:29am UTC

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
Preview — 661cd7ed Deployed Oct 12, 2026 by vercel[bot]
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