diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..a731c21 --- /dev/null +++ b/.npmrc @@ -0,0 +1,11 @@ +# The Nostrify stack depends on packages published to JSR (the Deno registry), +# exposed to npm under the `@jsr/*` scope (e.g. @jsr/std__encoding). npm must be +# told these come from JSR's npm-compatible registry, otherwise it looks them up +# on registry.npmjs.org and fails with a 404. +@jsr:registry=https://npm.jsr.io + +# This project has a couple of long-standing benign peer-range lags (e.g. +# react-day-picker@8 lists date-fns 2/3 as a peer while we use date-fns 4). +# legacy-peer-deps lets `npm install` resolve like the build environment does, +# instead of hard-failing on ERESOLVE. +legacy-peer-deps=true