From 8cd4f199f11ec30108fde5408cf116f7e6d07b19 Mon Sep 17 00:00:00 2001 From: jochens Date: Fri, 2 Oct 2026 15:13:22 +0200 Subject: [PATCH] lab: a run resolves the @novox scope from the forge's package registry --- modules/lab/tools/runs.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/lab/tools/runs.ts b/modules/lab/tools/runs.ts index b2404c8..3fe9bbe 100644 --- a/modules/lab/tools/runs.ts +++ b/modules/lab/tools/runs.ts @@ -100,6 +100,10 @@ node -e ${shellQuote( `const fs=require("fs");const f=${JSON.stringify(join(dir, "status.json"))};const s=JSON.parse(fs.readFileSync(f,"utf8"));s.commits=Object.fromEntries(fs.readFileSync(${JSON.stringify(join(dir, "commits.txt"))},"utf8").trim().split("\\n").map(l=>l.split(" ")));fs.writeFileSync(f,JSON.stringify(s,null,2))`, )} ${setState("building")} +# The @novox scope resolves from the mesh's own package registry on the forge, as the build machine +# resolves it; nothing else is asked of it. +printf '%s\n' ${shellQuote(`@novox:registry=${forge}/api/packages/novox/npm/`)} > ${shellQuote(join(dir, ".npmrc"))} +export NPM_CONFIG_USERCONFIG=${shellQuote(join(dir, ".npmrc"))} for repo in mesh-sdk mesh-tools mesh-lab; do (cd ${shellQuote(dir)}/$repo && npm ci --no-audit --no-fund --loglevel=error); done (cd ${shellQuote(dir)}/mesh-sdk && npm run build --if-present) (cd ${shellQuote(dir)}/mesh-tools && npm run build --if-present)