Andrey Antukh a69f80fe29 ⬆️ Update pnpm to 12.6.0 and opencode pair in devenv
Bump the devenv and image Dockerfiles to pnpm 12.6.0
(latest stable; 12.8.0 is still on the next tag) with
fresh SHA256 pins, and opencode to 1.18.33 plus
opencode2 to 2.0.18 with fresh checksums.

Stamp all 35 package.json files via
scripts/sync-pnpm-version and refresh the 11 lockfiles;
diffs are metadata-only, with no dependency re-resolution.

Drop the last corepack calls from the media-processor
build script and its generated image setup: pnpm now
ships as a system binary and self-heals version drift.

AI-assisted-by: muse-spark-1.3-contributor
2026-09-28 18:19:26 +00:00

24 lines
695 B
Bash
Executable File

#!/bin/bash
set -e
cd "$(dirname "$0")/.."
pnpm run build
# Assemble the release bundle under target/, the way the other modules do.
# esbuild leaves the runtime dependencies external (sharp, pino, pino-pretty,
# pino-loki), so the image has to install them on build: ship the manifests
# next to dist/ plus a setup script for Dockerfile.media-processor to run.
rm -rf target
mkdir -p target
rsync -avr --delete dist/ target/dist/
cp package.json pnpm-lock.yaml pnpm-workspace.yaml target/
cat <<SETUP | tee target/setup > /dev/null
#!/usr/bin/env bash
set -e;
command -v pnpm >/dev/null || { echo "error: pnpm not found in PATH" >&2; exit 1; };
pnpm install -P;
SETUP
chmod +x target/setup