frontend: .npmrc with legacy-peer-deps=true so npm ci works in Docker
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

Visx 3.12 peer-deps cap React at ^18 but we're on React 19. The
Dockerfile uses 'npm ci' (no flag overrides), so the build failed
with ERESOLVE. Adding the .npmrc file persists the legacy-peer-deps
flag for both 'npm install' and 'npm ci' without changing the
Dockerfile.
This commit is contained in:
Viktor Barzin 2026-05-10 16:51:32 +00:00
parent 64eb90c3dc
commit 705ad0fdbb

1
frontend/.npmrc Normal file
View file

@ -0,0 +1 @@
legacy-peer-deps=true