chore(scripts): sweep remaining yarn references to pnpm (post-#886 migration) (#1872)

This commit is contained in:
ibstellar
2026-05-15 16:10:29 -07:00
committed by GitHub
parent 325a81bcd6
commit 3dfd2b28be
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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
+4 -4
View File
@@ -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 ==="
@@ -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\`.*
`;
}
+4 -4
View File
@@ -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"