# Multi-language monorepo — Rust core library + Node CLI wrapper.
#
# Both bump to the same global version (one tag). Each publishes to
# its own registry. Common shape for tools that ship both a Rust SDK
# and an npm wrapper.
git:
tag_prefix: "v"
packages:
# Rust workspace (auto-discovers all workspace members).
- path: .
version_files:
- Cargo.toml
stage_files:
- Cargo.lock
publish:
type: cargo
workspace: true
# Node CLI that wraps the Rust binary.
- path: packages/cli-js
version_files:
- packages/cli-js/package.json
stage_files:
- packages/cli-js/package-lock.json
publish:
type: npm
access: public