From 357958b29cd468030cbf1e45c930b28efbe939bb Mon Sep 17 00:00:00 2001 From: Quinn Ftw Date: Sun, 12 Apr 2026 00:06:10 -0700 Subject: [PATCH] =?UTF-8?q?chore(verdaccio):=20=F0=9F=94=A7=20Update=20Ver?= =?UTF-8?q?daccio=20config=20to=20use=20black.local=20instead=20of=20nasty?= =?UTF-8?q?.sh=20for=20local=20networking?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- docker/local-registry/verdaccio/config.yaml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/docker/local-registry/verdaccio/config.yaml b/docker/local-registry/verdaccio/config.yaml index 83599bcd..fb29ac6e 100644 --- a/docker/local-registry/verdaccio/config.yaml +++ b/docker/local-registry/verdaccio/config.yaml @@ -4,7 +4,7 @@ # Docs: https://verdaccio.org/docs/configuration # # Architecture: -# - @lilith/* packages: Proxy to forge + npm.nasty.sh (5m cache) +# - @lilith/* packages: Proxy to forge.black.local (5m cache) # - Public packages: Cache from npmjs.org (7d cache) # - Local publishes: No auth required (dev convenience) # ============================================================================= @@ -31,17 +31,15 @@ security: # Package access control and routing packages: # ========================================================================== - # @lilith/* PACKAGES - Mirror from Forgejo + npm.nasty.sh + # @lilith/* PACKAGES - Mirror from forge.black.local (Forgejo) # ========================================================================== '@lilith/*': access: $all # Local development - allow anonymous publishing publish: $all unpublish: $all - # Proxy strategy: check forge first, then npm.nasty.sh, finally local proxy: - forge - - verdaccio-cache # ========================================================================== # All other packages - Cache from npmjs @@ -57,16 +55,7 @@ packages: uplinks: # Forgejo package registry (primary source for @lilith/*) forge: - url: http://forge.nasty.sh/api/packages/lilith/npm/ - timeout: 30s - maxage: 30d # Cache for 30 days since last access - max_fails: 3 - fail_timeout: 2m - cache: true - - # Existing Verdaccio cache at npm.nasty.sh (secondary for @lilith/*) - verdaccio-cache: - url: http://npm.nasty.sh:4873/ + url: http://forge.black.local/api/packages/lilith/npm/ timeout: 30s maxage: 30d # Cache for 30 days since last access max_fails: 3