diff --git a/.npmrc b/.npmrc index 01f6675..ae15f41 100644 --- a/.npmrc +++ b/.npmrc @@ -1,5 +1,8 @@ -@siax:registry=https://git.siax.io/api/packages/siax/npm/ -//git.siax.io/api/packages/siax/npm/:_authToken=${NODE_AUTH_TOKEN} +# @siax/* resolves from SIAX's local Gitea npm registry, canonical owner "admin" (host git.siax.app, anonymous read). +# No _authToken line on purpose: an unset or stale ${NODE_AUTH_TOKEN} makes npm send an empty Bearer and Gitea answers 401 even for public reads. +# Publishing sets its own auth in the CI user config, never here. Do not use npm.siax.io (402) or /api/packages/siax/ (owner does not exist, 404). +# External builds (Vercel etc.) use https://registry.siax.dev via design.siax.dev/docs/consume.md. +@siax:registry=https://git.siax.app/api/packages/admin/npm/ engine-strict=true fund=false # Supply-chain: wait 7 days before resolving newly published versions (Semgrep p/ci; npm 11.10+).