mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-28 17:57:43 +02:00
The sveltekit-base build (and the mana-web / manavoxel-web app builds on top of it) run `pnpm install` with no .npmrc in the build context, so private @mana/* packages resolved against registry.npmjs.org and 404'd (e.g. @mana/shared-icons@1.0.0, which only lives on npm.mana.how). It had been coasting on a warm pnpm cache; once sveltekit-base:local was gone the rebuild hard-failed. Mount the host ~/.npmrc (registry map + resolved _authToken) as a BuildKit secret at /root/.npmrc in all three pnpm-install steps. Token never lands in an image layer. build-app.sh passes it via --secret for the base build; docker compose build reads it from the top-level secrets: entry. Unblocks every managarten web rebuild (incl. the pending umami-removal). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| alert-notifier | ||
| alertmanager | ||
| blackbox | ||
| grafana | ||
| init-db | ||
| loki | ||
| nginx | ||
| postgres | ||
| prometheus | ||
| promtail | ||
| shared | ||
| templates | ||
| tempo | ||
| Dockerfile.hono-server | ||
| Dockerfile.sveltekit-base | ||