ReviewOS

also looking at this

stacks/bun-query-builder

fix(deps): apply the buddy rename contents, not just the file rename

#1174
Merged glennmichael123 wants to merge fix/buddy-rename-contents into main
4 files +20 -14
.config/buddy.tsmodified+2-2
Changes to .config/buddy.ts
@@ -1,6 +1,6 @@
1import type { BuddyBotConfig } from 'buddy-bot'
1import type { BuddyConfig } from '@buddysh/buddy'
22
3const config: BuddyBotConfig = {
3const config: BuddyConfig = {
44 repository: {
55 owner: 'stacksjs',
66 name: 'bun-query-builder',
.github/workflows/buddy-bot.ymlmodified+14-12
Changes to .github/workflows/buddy-bot.yml
@@ -115,11 +115,13 @@ jobs:
115115 # buddy-bot updates a PR body → fires edited event → re-triggers workflow)
116116 if [[ "$ACTOR" == *"[bot]"* ]] || [[ "$ACTOR" == "github-actions[bot]" ]] || [[ "$ACTOR" == "buddy-bot" ]]; then
117117 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
119121 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"
121123 else
122 echo "ℹ️ Non-buddy-bot PR edited — skipping (branch: $BRANCH)"
124 echo "ℹ️ Non-buddy PR edited — skipping (branch: $BRANCH)"
123125 fi
124126 elif [ "$" = "workflow_dispatch" ]; then
125127 JOB="$"
@@ -233,10 +235,10 @@ jobs:
233235
234236 if [ "$" = "true" ]; then
235237 echo "📋 Running in DRY RUN mode..."
236 bunx buddy-bot update-check --dry-run --verbose
238 bunx @buddysh/buddy update-check --dry-run --verbose
237239 else
238240 echo "🔄 Running in LIVE mode..."
239 bunx buddy-bot update-check --verbose
241 bunx @buddysh/buddy update-check --verbose
240242 fi
241243
242244 env:
@@ -326,15 +328,15 @@ jobs:
326328
327329 if [ "$PACKAGES" != "" ]; then
328330 if [ "$VERBOSE" = "true" ]; then
329 bunx buddy-bot update --packages "$PACKAGES" --verbose
331 bunx @buddysh/buddy update --packages "$PACKAGES" --verbose
330332 else
331 bunx buddy-bot update --packages "$PACKAGES"
333 bunx @buddysh/buddy update --packages "$PACKAGES"
332334 fi
333335 else
334336 if [ "$VERBOSE" = "true" ]; then
335 bunx buddy-bot update --strategy "$STRATEGY" --verbose
337 bunx @buddysh/buddy update --strategy "$STRATEGY" --verbose
336338 else
337 bunx buddy-bot update --strategy "$STRATEGY"
339 bunx @buddysh/buddy update --strategy "$STRATEGY"
338340 fi
339341 fi
340342
@@ -447,7 +449,7 @@ jobs:
447449 set -e # Exit on any error
448450
449451 # Build the command
450 COMMAND="bunx buddy-bot dashboard"
452 COMMAND="bunx @buddysh/buddy dashboard"
451453
452454 if [ "$TITLE" != "" ]; then
453455 COMMAND="$COMMAND --title \"$TITLE\""
@@ -470,9 +472,9 @@ jobs:
470472 # Run scan to show what would be included
471473 echo "🔍 Scanning for dependencies that would be included:"
472474 if [ "$VERBOSE" = "true" ]; then
473 bunx buddy-bot scan --verbose
475 bunx @buddysh/buddy scan --verbose
474476 else
475 bunx buddy-bot scan
477 bunx @buddysh/buddy scan
476478 fi
477479 else
478480 echo "🚀 Executing dashboard update:"
bun.lockmodified+3-0
Changes to bun.lock
@@ -8,6 +8,7 @@
88 "@stacksjs/ts-validation": "^0.5.6",
99 },
1010 "devDependencies": {
11 "@buddysh/buddy": "^0.11.2",
1112 "@stacksjs/bunpress": "^0.2.14",
1213 "@stacksjs/launchpad": "^0.6.4",
1314 "@stacksjs/ts-faker": "^0.1.8",
@@ -61,6 +62,8 @@
6162 "typescript": "^7.0.2",
6263 },
6364 "packages": {
65 "@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=="],
66
6467 "@bun-query-builder/benchmark": ["@bun-query-builder/benchmark@workspace:packages/benchmark"],
6568
6669 "@colors/colors": ["@colors/colors@1.5.0", "", {}, "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ=="],
package.jsonmodified+1-0
Changes to package.json
@@ -83,6 +83,7 @@
8383 "@stacksjs/ts-validation": "^0.5.6"
8484 },
8585 "devDependencies": {
86 "@buddysh/buddy": "^0.11.2",
8687 "@stacksjs/bunpress": "^0.2.14",
8788 "@stacksjs/launchpad": "^0.6.4",
8889 "@stacksjs/ts-faker": "^0.1.8",