mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
The base-node-deps Docker build failed because .npmrc routes @esbuild-kit packages to localhost:4873 (Verdaccio), which is unreachable inside BuildKit. - Add Verdaccio service to docker-compose.stack.yml with patched tarballs - Start Verdaccio in Gate 7 Tier 1 before base-node-deps build - Configure buildx with network=host so BuildKit can reach localhost:4873 - Update verdaccio.yaml storage path for container volume mount Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
36 lines
1011 B
YAML
36 lines
1011 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:
|
|
# Local dev: npx verdaccio --config deployment/verdaccio.yaml &
|
|
# Compose: docker compose -f docker-compose.stack.yml up verdaccio
|
|
# CI: uses inline config with /tmp/verdaccio-storage
|
|
# Then: bash deployment/publish-npm-patches.sh --verdaccio
|
|
# .npmrc already points @esbuild-kit:registry to localhost:4873
|
|
|
|
# Docker container path (volume-mounted in docker-compose.stack.yml).
|
|
# For local dev, use the CI composite action or npx verdaccio (default config).
|
|
storage: /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
|