also looking at this
fix(deps): move from buddy-bot to @buddysh/buddy
#966
6 files
+23
-21
| @@ -115,11 +115,13 @@ jobs: | ||
| 115 | 115 | # buddy-bot updates a PR body → fires edited event → re-triggers workflow) |
| 116 | 116 | if [[ "$ACTOR" == *"[bot]"* ]] || [[ "$ACTOR" == "github-actions[bot]" ]] || [[ "$ACTOR" == "buddy-bot" ]]; then |
| 117 | 117 | echo "ℹ️ Skipping — PR edit was made by bot actor: $ACTOR" |
| 118 | elif [[ "$BRANCH" == buddy-bot/* ]]; then | |
| 118 | # @buddysh/buddy defaults to the `buddy/` prefix; `buddy-bot/` is kept | |
| 119 | # so PRs opened by the pre-rename CLI still rebase while they are open. | |
| 120 | elif [[ "$BRANCH" == buddy/* ]] || [[ "$BRANCH" == buddy-bot/* ]]; then | |
| 119 | 121 | echo "run_check=true" >> $GITHUB_OUTPUT |
| 120 | echo "ℹ️ buddy-bot PR edited by user — running rebase check for branch: $BRANCH" | |
| 122 | echo "ℹ️ buddy PR edited by user — running rebase check for branch: $BRANCH" | |
| 121 | 123 | else |
| 122 | echo "ℹ️ Non-buddy-bot PR edited — skipping (branch: $BRANCH)" | |
| 124 | echo "ℹ️ Non-buddy PR edited — skipping (branch: $BRANCH)" | |
| 123 | 125 | fi |
| 124 | 126 | elif [ "$" = "workflow_dispatch" ]; then |
| 125 | 127 | JOB="$" |
| @@ -233,10 +235,10 @@ jobs: | ||
| 233 | 235 | |
| 234 | 236 | if [ "$" = "true" ]; then |
| 235 | 237 | echo "📋 Running in DRY RUN mode..." |
| 236 | bunx buddy-bot update-check --dry-run --verbose | |
| 238 | bunx @buddysh/buddy update-check --dry-run --verbose | |
| 237 | 239 | else |
| 238 | 240 | echo "🔄 Running in LIVE mode..." |
| 239 | bunx buddy-bot update-check --verbose | |
| 241 | bunx @buddysh/buddy update-check --verbose | |
| 240 | 242 | fi |
| 241 | 243 | |
| 242 | 244 | env: |
| @@ -326,15 +328,15 @@ jobs: | ||
| 326 | 328 | |
| 327 | 329 | if [ "$PACKAGES" != "" ]; then |
| 328 | 330 | if [ "$VERBOSE" = "true" ]; then |
| 329 | bunx buddy-bot update --packages "$PACKAGES" --verbose | |
| 331 | bunx @buddysh/buddy update --packages "$PACKAGES" --verbose | |
| 330 | 332 | else |
| 331 | bunx buddy-bot update --packages "$PACKAGES" | |
| 333 | bunx @buddysh/buddy update --packages "$PACKAGES" | |
| 332 | 334 | fi |
| 333 | 335 | else |
| 334 | 336 | if [ "$VERBOSE" = "true" ]; then |
| 335 | bunx buddy-bot update --strategy "$STRATEGY" --verbose | |
| 337 | bunx @buddysh/buddy update --strategy "$STRATEGY" --verbose | |
| 336 | 338 | else |
| 337 | bunx buddy-bot update --strategy "$STRATEGY" | |
| 339 | bunx @buddysh/buddy update --strategy "$STRATEGY" | |
| 338 | 340 | fi |
| 339 | 341 | fi |
| 340 | 342 | |
| @@ -447,7 +449,7 @@ jobs: | ||
| 447 | 449 | set -e # Exit on any error |
| 448 | 450 | |
| 449 | 451 | # Build the command |
| 450 | COMMAND="bunx buddy-bot dashboard" | |
| 452 | COMMAND="bunx @buddysh/buddy dashboard" | |
| 451 | 453 | |
| 452 | 454 | if [ "$TITLE" != "" ]; then |
| 453 | 455 | COMMAND="$COMMAND --title \"$TITLE\"" |
| @@ -470,9 +472,9 @@ jobs: | ||
| 470 | 472 | # Run scan to show what would be included |
| 471 | 473 | echo "🔍 Scanning for dependencies that would be included:" |
| 472 | 474 | if [ "$VERBOSE" = "true" ]; then |
| 473 | bunx buddy-bot scan --verbose | |
| 475 | bunx @buddysh/buddy scan --verbose | |
| 474 | 476 | else |
| 475 | bunx buddy-bot scan | |
| 477 | bunx @buddysh/buddy scan | |
| 476 | 478 | fi |
| 477 | 479 | else |
| 478 | 480 | echo "🚀 Executing dashboard update:" |
| @@ -18,7 +18,7 @@ A single dev dependency that bundles all essential development tooling for Stack | ||
| 18 | 18 | |
| 19 | 19 | ## Dependencies |
| 20 | 20 | |
| 21 | - **buddy-bot** handles dependency updates — not renovatebot | |
| 21 | - **@buddysh/buddy** (formerly `buddy-bot`) handles dependency updates — not renovatebot | |
| 22 | 22 | - **better-dx** provides shared dev tooling as peer dependencies — do not install its peers (e.g., `typescript`, `pickier`, `bun-plugin-dtsx`) separately if `better-dx` is already in `package.json` |
| 23 | 23 | - If `better-dx` is in `package.json`, ensure `bunfig.toml` includes `linker = "hoisted"` |
| 24 | 24 | |
bun.lockmodified+4-4
| @@ -5,6 +5,7 @@ | ||
| 5 | 5 | "": { |
| 6 | 6 | "name": "better-dx", |
| 7 | 7 | "dependencies": { |
| 8 | "@buddysh/buddy": "^0.11.2", | |
| 8 | 9 | "@stacksjs/bumpx": "^0.2.14", |
| 9 | 10 | "@stacksjs/bunpress": "^0.2.8", |
| 10 | 11 | "@stacksjs/clapp": "^0.2.12", |
| @@ -12,7 +13,6 @@ | ||
| 12 | 13 | "@stacksjs/gitlint": "^0.1.7", |
| 13 | 14 | "@stacksjs/logsmith": "^0.2.6", |
| 14 | 15 | "@types/bun": "^1.3.14", |
| 15 | "buddy-bot": "^0.10.5", | |
| 16 | 16 | "bun-git-hooks": "^0.3.2", |
| 17 | 17 | "bun-plugin-dtsx": "^0.11.10", |
| 18 | 18 | "bunfig": "^0.15.15", |
| @@ -26,6 +26,8 @@ | ||
| 26 | 26 | "typescript": "^7.0.2", |
| 27 | 27 | }, |
| 28 | 28 | "packages": { |
| 29 | "@buddysh/buddy": ["@buddysh/buddy@0.11.2", "", { "dependencies": { "prompts": "^2.4.2", "ts-pantry": "^0.11.64" }, "peerDependencies": { "@anthropic-ai/sdk": ">=0.117.1 <0.123.0" }, "optionalPeers": ["@anthropic-ai/sdk"], "bin": { "buddy": "./dist/bin/cli.js" } }, "sha512-JFXYixMjEcggy6Do8zgCUwiJ7/eEXvxTYr4Nd7QGiryhQ1aCoWYV0GkTRmmtC/hAOPUUMwQEjmFe3gBgMkCW0g=="], | |
| 30 | ||
| 29 | 31 | "@cwcss/crosswind": ["@cwcss/crosswind@0.2.16", "", { "dependencies": { "@stacksjs/clapp": "^0.2.0", "bunfig": "^0.15.17" }, "bin": { "crosswind": "./dist/cli.js" } }, "sha512-QgSTpcnt1seUQF2++taD5wk/H1lE3wSaybd+i9iP/syQTB2w/v2aM2U9SzYYe2ZcHA3Uxa1Sn/YvhcmHeFfuCA=="], |
| 30 | 32 | |
| 31 | 33 | "@stacksjs/bumpx": ["@stacksjs/bumpx@0.2.14", "", { "dependencies": { "@stacksjs/clapp": "^0.2.0", "@stacksjs/logsmith": "^0.2.6", "bunfig": "^0.15.6" }, "bin": { "bumpx": "./dist/bin/cli.js" } }, "sha512-oXmnW19QEjCGaa4VCCnlMgPSNd7uuFes/A5zBKYHDvCvwGAPuhhg3M3hYDvIAe+jOh2Te1yFs9IfvG84kQmBBg=="], |
| @@ -108,8 +110,6 @@ | ||
| 108 | 110 | |
| 109 | 111 | "@typescript/typescript-win32-x64": ["@typescript/typescript-win32-x64@7.0.2", "", { "os": "win32", "cpu": "x64" }, "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g=="], |
| 110 | 112 | |
| 111 | "buddy-bot": ["buddy-bot@0.10.5", "", { "dependencies": { "prompts": "^2.4.2", "ts-pantry": "^0.11.32" }, "peerDependencies": { "@anthropic-ai/sdk": "^0.117.1" }, "optionalPeers": ["@anthropic-ai/sdk"], "bin": { "buddy-bot": "./dist/bin/cli.js" } }, "sha512-pGyjHSi91Nix76u1VIVLEYEV6vkTVKvKS9NvRYbyGR6X6CdZQrvHcmJLfGqjN/4xuUWc4h6rlVpkiwG6MOo/6Q=="], | |
| 112 | ||
| 113 | 113 | "bun-git-hooks": ["bun-git-hooks@0.3.2", "", { "bin": { "git-hooks": "./dist/bin/cli.js", "bun-git-hooks": "./dist/bin/cli.js" } }, "sha512-cHkmB7sxmtPNekzG0nGXqbN8Q+dZf4muvV4eCB8dBCduW1DHR+4YulKinPUk/C6Rogy+JMyL1ysVVVWwZobwZw=="], |
| 114 | 114 | |
| 115 | 115 | "bun-plugin-dtsx": ["bun-plugin-dtsx@0.11.10", "", { "dependencies": { "@stacksjs/dtsx": "0.11.10" } }, "sha512-qQrEBIV1pzhDmrxmhTHhgVK5gqE5CfpO8C9NCp7zUaN48c4IJVrpqXbeNWch7sAT/Hf4GhVMWau7T65xySm59Q=="], |
| @@ -144,7 +144,7 @@ | ||
| 144 | 144 | |
| 145 | 145 | "ts-jpeg": ["ts-jpeg@0.3.1", "", {}, "sha512-KIGTJj4UIlkGoCFEofx8jHHQEkJfSLFJY0MHz60Mu4Scjrcj7K/0UJGCbL9QvfIaFGAOGdf0xNFpYSuzUpimwA=="], |
| 146 | 146 | |
| 147 | "ts-pantry": ["ts-pantry@0.11.35", "", { "bin": { "ts-pantry": "./dist/bin/cli.js" } }, "sha512-KCRrNuQcQ2VizHqanX0tQFm4ZlzaHBeykPLlTZu5RpJDMwpqSwcFOnOwOf4jbg2154vmAjM6mHDRRI8VVzmSxQ=="], | |
| 147 | "ts-pantry": ["ts-pantry@0.11.64", "", { "bin": { "ts-pantry": "./dist/bin/cli.js" } }, "sha512-eEshD29GX8rgloOTsh0COhEEAeIKZ4yEvweeHHSteH+FsAOt47NhmXBhwxiP6CFg1BWa9Wz7uuIjyf58Y7tStQ=="], | |
| 148 | 148 | |
| 149 | 149 | "ts-syntax-highlighter": ["ts-syntax-highlighter@0.2.14", "", { "bin": { "ts-syntax-highlighter": "./dist/bin/cli.js" } }, "sha512-xujx4yJ4Rlhwdstopq6KVYs78K5nSfkpUk/GRK/InwmnJ/SN+E+hUSuSvQZz922xlXYe1SFBtzXxQXbpRt46fw=="], |
| 150 | 150 | |
| @@ -70,6 +70,7 @@ | ||
| 70 | 70 | "typecheck": "bun --bun tsc --noEmit" |
| 71 | 71 | }, |
| 72 | 72 | "dependencies": { |
| 73 | "@buddysh/buddy": "^0.11.2", | |
| 73 | 74 | "@stacksjs/bumpx": "^0.2.14", |
| 74 | 75 | "@stacksjs/bunpress": "^0.2.8", |
| 75 | 76 | "@stacksjs/clapp": "^0.2.12", |
| @@ -77,7 +78,6 @@ | ||
| 77 | 78 | "@stacksjs/gitlint": "^0.1.7", |
| 78 | 79 | "@stacksjs/logsmith": "^0.2.6", |
| 79 | 80 | "@types/bun": "^1.3.14", |
| 80 | "buddy-bot": "^0.10.5", | |
| 81 | 81 | "bun-git-hooks": "^0.3.2", |
| 82 | 82 | "bun-plugin-dtsx": "^0.11.10", |
| 83 | 83 | "bunfig": "^0.15.15", |