Files
nibiru-framework.com/docs/.npmrc
stephan 5be20ebd08 Add docs/.npmrc so the Docker build COPY succeeds
The Dockerfile's `COPY package.json package-lock.json .npmrc ./` requires
the file to exist; the build was failing on a fresh clone with
`failed to compute cache key … "/.npmrc": not found`.

Contents are intentionally minimal: silence npm's audit/funding chatter
during CI/Docker builds and enable legacy-peer-deps so Astro 6 + Starlight
0.38 + @vite-pwa/astro can install together without npm's strict peer
resolver rejecting the lockfile.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 15:35:54 +02:00

9 lines
382 B
Plaintext

# Suppress audit + funding noise during Docker builds — keeps the build log
# focused on real errors and slightly speeds up `npm ci`.
fund=false
audit=false
# Be lenient with peer-dep resolution. Astro 6 + Starlight 0.38 + the
# vite-pwa plugin sometimes disagree about Vite peer ranges; npm's strict
# resolver fails the install where the lockfile is fine.
legacy-peer-deps=true