Files
metabuilder/deployment/verdaccio.yaml
johndoe6345789 07166a04bc ci: switch from Nexus to Verdaccio for npm patch registry in CI
Nexus takes 5+ minutes cold-start; Verdaccio starts in ~2 seconds.
Verdaccio serves patched packages and proxies everything else to npmjs.org.
Nexus remains the local dev registry for Docker images and Conan packages.

- Replace composite action Nexus startup with Verdaccio (npx verdaccio)
- Update @esbuild-kit:registry in .npmrc from :8091/repository/npm-group/ to :4873
- Update publish-npm-patches.sh to support --verdaccio / --nexus flags with
  auto-detection (checks Nexus first, falls back to Verdaccio)
- Add deployment/verdaccio.yaml config for local dev use

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 00:21:47 +00:00

32 lines
712 B
YAML

# Verdaccio configuration for local npm patch registry
# Serves patched packages (e.g. @esbuild-kit/core-utils) and proxies everything
# else to npmjs.org.
#
# Usage:
# npx verdaccio --config deployment/verdaccio.yaml &
# bash deployment/publish-npm-patches.sh --verdaccio
# # .npmrc already points @esbuild-kit:registry to localhost:4873
storage: /tmp/verdaccio-storage
uplinks:
npmjs:
url: https://registry.npmjs.org/
timeout: 60s
max_fails: 3
packages:
'@esbuild-kit/*':
access: $all
publish: $all
proxy: npmjs
'**':
access: $all
publish: $all
proxy: npmjs
server:
keepAliveTimeout: 60
log:
type: stdout
format: pretty
level: warn
listen: 0.0.0.0:4873