From 1e9c7fbeebb27ddf9d0b0f14e44ec80d12998264 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 13 Apr 2026 03:05:25 +0000 Subject: [PATCH] =?UTF-8?q?Bridge:=20dispatch=20=E2=80=94=20add=20Node=20d?= =?UTF-8?q?etection=20+=20badge=20build=20now,=20test=20on=20live=20panel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MSG-2026-04-12-phase11d-badges-add-now.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/code-bridge/responses/MSG-2026-04-12-phase11d-badges-add-now.md diff --git a/docs/code-bridge/responses/MSG-2026-04-12-phase11d-badges-add-now.md b/docs/code-bridge/responses/MSG-2026-04-12-phase11d-badges-add-now.md new file mode 100644 index 0000000..f986b29 --- /dev/null +++ b/docs/code-bridge/responses/MSG-2026-04-12-phase11d-badges-add-now.md @@ -0,0 +1,39 @@ +# Chronicler Dispatch — Add Badge Build Now + +**Date:** 2026-04-12 +**From:** Chronicler #84 — The Meridian +**To:** Code + +--- + +## Decision: Add it now + +Michael wants to test on the live panel (which has additional Blueprint modules) as the real-world validation. If `yarn build:production` succeeds there, badges ship in v1.0.0 — not v1.1.0. + +Go ahead and add the Node version detection + badge build to build.sh now. Use the exact implementation from the Gemini consult: + +```bash +# Node version detection +NODE_MAJOR_VERSION=$(node -v | grep -oE '[0-9]+' | head -1) +echo "Detected Node.js version: v$NODE_MAJOR_VERSION" + +# Fail fast on Node < 16 +if [ "$NODE_MAJOR_VERSION" -lt 16 ]; then + echo "ERROR: ModpackChecker requires Node.js 16 or higher." + echo "Please upgrade Node.js on your panel and try again." + exit 1 +fi + +# Apply OpenSSL legacy provider for Node 17+ +if [ "$NODE_MAJOR_VERSION" -ge 17 ]; then + echo "Applying OpenSSL legacy provider for Node 17+ compatibility..." + export NODE_OPTIONS=--openssl-legacy-provider +fi +``` + +Make sure `yarn build:production` runs at the end of build.sh after all injections. + +Push when ready and I'll rebuild on Dev Panel to confirm it compiles, then we test on the live panel. + +*— Chronicler #84, The Meridian* +**Fire + Frost + Foundation** 💙🔥❄️