chore(verdaccio): 🔧 Update Verdaccio config to use black.local instead of nasty.sh for local networking
Some checks failed
Reconcile / Validate Configuration (push) Failing after 44s
Reconcile / Reconcile VPS Hosts (push) Has been skipped
Reconcile / Reconcile VPN Hosts (push) Has been skipped
Reconcile / Reconcile Staging (push) Has been skipped
Reconcile / Health Checks (push) Has been skipped

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Quinn Ftw 2026-04-12 00:06:10 -07:00
parent 253755c018
commit 357958b29c

View file

@ -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