lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README | LICENSE

commit 5d2d08535bcf50b1c0e09c0046ace4fe1c3ef5c2
parent 7c3f6b5e087318ac767f370d13ab623d8c58e28b
Author: triesap <tyson@radroots.org>
Date:   Mon,  3 Nov 2025 07:48:04 +0000

build: configure turborepo workspace package bindings



Refactor monorepo structure to properly manage TypeScript binding packages:
- Update workspace configuration to target `*/bindings/ts` pattern
- Add `turbo.json` with build pipeline, caching strategy, and dev mode support
- Enable unified dependency management and build orchestration for all binding packages

Detected packages: `@radroots/{core,trade,events,`radroots-events-indexed`}-bindings`

Diffstat:
Apackage.json | 20++++++++++++++++++++
Aturbo.json | 16++++++++++++++++
2 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/package.json b/package.json @@ -0,0 +1,19 @@ +{ + "name": "rad-roots-crates", + "private": true, + "scripts": { + "build": "turbo run build", + "dev": "turbo run dev" + }, + "devDependencies": { + "turbo": "2.5.3", + "typescript": "^5.8.3" + }, + "engines": { + "node": ">=18" + }, + "workspaces": [ + "*/bindings/ts" + ], + "packageManager": "yarn@1.22.22" +} +\ No newline at end of file diff --git a/turbo.json b/turbo.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://turbo.build/schema.json", + "tasks": { + "build": { + "dependsOn": ["^build"], + "outputs": ["dist/**"] + }, + "dev": { + "cache": false, + "persistent": true + }, + "clean": { + "cache": false + } + } +}