chore(cli): add bun run link scripts + fix init template versions

- Add link/link:consume/link:unlink scripts to root package.json
- Document cross-repo bun link workflow in CLAUDE.md
- Fix hardcoded @uncaged/workflow-runtime "^0.1.0" → "*" in
  init workspace and init template scaffolds (actual version is 0.3.x)
This commit is contained in:
2026-05-12 11:03:12 +08:00
parent 2af39463de
commit 0fbbf37548
4 changed files with 23 additions and 3 deletions
+4 -1
View File
@@ -9,7 +9,10 @@
"check": "bunx tsc --build && biome check .",
"typecheck": "bunx tsc --build",
"format": "biome format --write .",
"test": "bun run --filter '*' test"
"test": "bun run --filter '*' test",
"link": "./scripts/link-all.sh",
"link:consume": "./scripts/link-all.sh --consume",
"link:unlink": "./scripts/link-all.sh --unlink"
},
"devDependencies": {
"@biomejs/biome": "^2.4.14",