mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
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>
51 lines
1.7 KiB
Plaintext
51 lines
1.7 KiB
Plaintext
# NPM Configuration for MetaBuilder
|
|
# Last Updated: 2026-01-23
|
|
|
|
# PACKAGE RESOLUTION
|
|
# Use the default npm registry
|
|
registry=https://registry.npmjs.org/
|
|
|
|
# AUDIT SETTINGS
|
|
# Report security vulnerabilities
|
|
audit-level=moderate
|
|
|
|
# VERSION MATCHING
|
|
# Use caret ranges for flexibility (^version)
|
|
# This allows minor/patch updates while locking major version
|
|
save-prefix=^
|
|
|
|
# OPTIONAL DEPENDENCIES
|
|
# Don't fail if optional dependencies aren't available
|
|
ignore-scripts=false
|
|
|
|
# WORKSPACE SETTINGS
|
|
# Enable workspace protocol for monorepo linking
|
|
workspaces-update=true
|
|
|
|
# BUILD SETTINGS
|
|
# Use standard npm, not yarn or pnpm
|
|
# (This is implicit but documented for clarity)
|
|
|
|
# PROXY SETTINGS (uncomment if behind corporate proxy)
|
|
# http-proxy=http://proxy.example.com:8080
|
|
# https-proxy=https://proxy.example.com:8443
|
|
# no-proxy=.example.com,localhost,127.0.0.1
|
|
|
|
# LOCAL NEXUS REGISTRY (uncomment to use patched packages from Nexus)
|
|
# Nexus npm-group merges npm-hosted (patched) + npm-proxy (npmjs.org cache)
|
|
# Start Nexus: cd deployment && docker compose -f docker-compose.nexus.yml up -d
|
|
# Publish patches: cd deployment && ./publish-npm-patches.sh
|
|
# registry=http://localhost:8091/repository/npm-group/
|
|
# //localhost:8091/repository/npm-hosted/:_auth=YWRtaW46bmV4dXM=
|
|
|
|
# NODE/NPM VERSION REQUIREMENTS
|
|
# These are documented in package.json engines field
|
|
# Current: Node 22.22.1, npm 11.11.0
|
|
|
|
# SCOPED VERDACCIO REGISTRY - @esbuild-kit patched packages
|
|
# Local dev: npx verdaccio --config deployment/verdaccio.yaml &
|
|
# bash deployment/publish-npm-patches.sh --verdaccio
|
|
# CI: started automatically via .github/actions/setup-npm composite action
|
|
@esbuild-kit:registry=http://localhost:4873/
|
|
//localhost:4873/:_authToken=
|