Commit graph

1 commit

Author SHA1 Message Date
shakespeare.diy
7395346228 Add .npmrc: map @jsr scope to JSR registry + legacy-peer-deps
Fixes local `npm install` failures on the build machine:
- @jsr:registry=https://npm.jsr.io — the Nostrify stack depends on JSR packages
  (@jsr/std__encoding, etc.) that don't exist on registry.npmjs.org; without
  this mapping npm 404s. The lockfile already resolves them via npm.jsr.io, but
  a fresh install from package.json needs the scope registry configured.
- legacy-peer-deps=true — resolves the long-standing benign peer-range lags
  (e.g. react-day-picker@8 peers date-fns 2/3 while the app uses date-fns 4)
  the same way the hosted build environment does, instead of ERESOLVE.

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-07-24 21:26:54 +07:00