From 3dfd2b28beb71659611112dd9841aaea8c5598c3 Mon Sep 17 00:00:00 2001 From: ibstellar <151468788+aregmii@users.noreply.github.com> Date: Fri, 15 May 2026 19:10:29 -0400 Subject: [PATCH] chore(scripts): sweep remaining yarn references to pnpm (post-#886 migration) (#1872) --- scripts/debug-agent-prompts.sh | 2 +- scripts/debug-composio-trigger.mjs | 2 +- scripts/release/local-dmg-version-dry-run.sh | 2 +- scripts/test-ci-local.sh | 8 ++++---- scripts/tools-generator/openClaw-formatter.js | 2 +- scripts/worktree-bootstrap.sh | 8 ++++---- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/debug-agent-prompts.sh b/scripts/debug-agent-prompts.sh index 550f203a3..64de061a9 100755 --- a/scripts/debug-agent-prompts.sh +++ b/scripts/debug-agent-prompts.sh @@ -49,7 +49,7 @@ BIN="${REPO_ROOT}/target/debug/openhuman-core" # Composio toggle reach the dumped prompts. `Config::load_or_init` # calls `apply_env_overrides` after reading from disk, so any variable # exported here wins over whatever is baked into the workspace config. -# Mirrors `yarn tauri dev`, which sources the same file via +# Mirrors `pnpm tauri dev`, which sources the same file via # `scripts/load-dotenv.sh` before launching the sidecar. if [[ -f "${REPO_ROOT}/.env" ]]; then echo "[debug-agent-prompts] loading env from ${REPO_ROOT}/.env" >&2 diff --git a/scripts/debug-composio-trigger.mjs b/scripts/debug-composio-trigger.mjs index e4204d016..2f92dfd4f 100755 --- a/scripts/debug-composio-trigger.mjs +++ b/scripts/debug-composio-trigger.mjs @@ -349,7 +349,7 @@ try { } catch (err) { fail(`cannot load socket.io-client: ${err.message}`); console.log( - `${C.dim} Try: cd app && yarn install${C.reset}`, + `${C.dim} Try: cd app && pnpm install${C.reset}`, ); process.exit(1); } diff --git a/scripts/release/local-dmg-version-dry-run.sh b/scripts/release/local-dmg-version-dry-run.sh index a8199afa1..79b46c7d6 100644 --- a/scripts/release/local-dmg-version-dry-run.sh +++ b/scripts/release/local-dmg-version-dry-run.sh @@ -72,7 +72,7 @@ echo "[dry-run] Building local DMG with staged sidecar" ( cd "$APP_DIR" source ../scripts/load-dotenv.sh - yarn tauri build --bundles app,dmg --config "$TMP_TAURI_CONF" + pnpm tauri build --bundles app,dmg --config "$TMP_TAURI_CONF" ) if [[ ! -d "$APP_BUNDLE" ]]; then diff --git a/scripts/test-ci-local.sh b/scripts/test-ci-local.sh index bc0e15d86..4ea2021bb 100755 --- a/scripts/test-ci-local.sh +++ b/scripts/test-ci-local.sh @@ -121,19 +121,19 @@ if [[ "${1:-}" == "--manual" ]]; then # Step 2: Install Node dependencies echo ">>> Step 2: Install Node dependencies" - yarn install --frozen-lockfile + pnpm install --frozen-lockfile # Step 3: Install skills dependencies and build echo ">>> Step 3: Build skills" - (cd skills && yarn install --frozen-lockfile && yarn build) + (cd skills && pnpm install --frozen-lockfile && pnpm build) # Step 4: Build frontend echo ">>> Step 4: Build frontend" - NODE_ENV=production yarn build + NODE_ENV=production pnpm build # Step 5: Build Tauri (aarch64) echo ">>> Step 5: Build Tauri app (aarch64-apple-darwin)" - yarn tauri build --target aarch64-apple-darwin + pnpm tauri build --target aarch64-apple-darwin echo "" echo "=== Build complete ===" diff --git a/scripts/tools-generator/openClaw-formatter.js b/scripts/tools-generator/openClaw-formatter.js index 6fac4cca3..7414c4e7d 100644 --- a/scripts/tools-generator/openClaw-formatter.js +++ b/scripts/tools-generator/openClaw-formatter.js @@ -412,7 +412,7 @@ export function generateFooter(tools) { - Last Updated: ${new Date().toISOString()} *This file was automatically generated at build time from the V8 skills runtime.* -*For the most up-to-date information, regenerate this file by running \`yarn tools:generate\`.* +*For the most up-to-date information, regenerate this file by running \`pnpm tools:generate\`.* `; } diff --git a/scripts/worktree-bootstrap.sh b/scripts/worktree-bootstrap.sh index 0a12d6988..4173ccc25 100755 --- a/scripts/worktree-bootstrap.sh +++ b/scripts/worktree-bootstrap.sh @@ -42,13 +42,13 @@ if [[ ! -e "$BIN" ]]; then echo "[bootstrap] building + staging core sidecar from this worktree..." mkdir -p "$(dirname "$BIN")" (cd "$WORKTREE_ROOT" && cargo build --bin openhuman-core) - (cd "$WORKTREE_ROOT/app" && yarn core:stage) + (cd "$WORKTREE_ROOT/app" && pnpm core:stage) fi echo "[bootstrap] installing node_modules (needed for husky hooks + prettier)..." -(cd "$WORKTREE_ROOT" && yarn install) +(cd "$WORKTREE_ROOT" && pnpm install) echo "[bootstrap] ensuring vendored tauri-cli installed..." -(cd "$WORKTREE_ROOT/app" && yarn tauri:ensure) +(cd "$WORKTREE_ROOT/app" && pnpm tauri:ensure) -echo "[bootstrap] done. launch with: cd app && yarn dev:app" +echo "[bootstrap] done. launch with: cd app && pnpm dev:app"