chore(registry): point packages to gitea.bytelyst.com

This commit is contained in:
root 2026-03-31 10:53:13 +00:00
parent f89341d7d8
commit 8b37189829
56 changed files with 57 additions and 56 deletions

View File

@ -286,7 +286,7 @@ All optional — defaults work for most setups:
- **Cosmos emulator slow:** It needs 20-30s on first boot. Services wait via health checks.
- **Out of memory:** Use at least 32 GB RAM. Cosmos emulator needs ~4 GB, Ollama needs ~4 GB for 3B models.
- **Build failures:** Check Gitea is running (`docker ps | grep gitea`) and packages published (`curl http://localhost:3300/api/packages/bytelyst/npm/`). Per-service build logs: `/opt/bytelyst/.setup-state/builds/<service>.log`. Retry: `sudo ./setup.sh --phase=7`.
- **Build failures:** Check Gitea is running (`docker ps | grep gitea`) and packages published (`curl https://gitea.bytelyst.com/api/packages/ByteLyst/npm/`). Per-service build logs: `/opt/bytelyst/.setup-state/builds/<service>.log`. Retry: `sudo ./setup.sh --phase=7`.
- **Ollama not responding:** Check `systemctl status ollama` or `curl http://localhost:11434/api/version`.
- **Port conflicts:** Ensure nothing else runs on the listed ports before deploying.
- **CORS errors in browser:** The generated `.env.ecosystem` sets `CORS_ORIGIN=*` for dev/test. If you restrict it, update the value to match your access URL.
@ -319,6 +319,7 @@ All optional — defaults work for most setups:
- `/localmemgpt/*``localmemgpt-backend:4019`
- Keep backend ports closed publicly once DNS and NSG rules are aligned. Docker-internal service discovery remains unchanged.
- `ollama.bytelyst.com` reverse proxies to the host Ollama listener on `172.17.0.1:11434`; keep it restricted to trusted cross-VM or internal clients.
- **Network guard:** run `source scripts/switch-network.sh` and honor `NETWORK=corp|home` before running pnpm/npm or hitting gitea/api endpoints so proxy settings flip to the correct environment.
## Known Limitations

View File

@ -96,7 +96,7 @@ curl -sf http://localhost:3075/api/ollama/tags | jq '.models[0].name'
# Expect: model name
# Gitea has packages
curl -sf http://localhost:3300/api/packages/bytelyst/npm/ | jq '.[0].name'
curl -sf https://gitea.bytelyst.com/api/packages/ByteLyst/npm/ | jq '.[0].name'
# Expect: @bytelyst package names
# Grafana

View File

@ -87,7 +87,7 @@ ls /opt/bytelyst/learning_ai_common_plat/packages/*/dist/ 2>/dev/null | head -5
# Expect: files present
# Packages in Gitea registry
curl -s http://localhost:3300/api/packages/bytelyst/npm/ | jq '.[].name' | head -10
curl -s https://gitea.bytelyst.com/api/packages/ByteLyst/npm/ | jq '.[].name' | head -10
# Expect: @bytelyst/errors, @bytelyst/config, etc.
```

View File

@ -18,6 +18,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -31,6 +31,6 @@
"react-dom": "^19.2.4"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -25,6 +25,6 @@
"bcryptjs": ">=2.4.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -28,6 +28,6 @@
"dist"
],
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -25,6 +25,6 @@
"dist"
],
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -25,6 +25,6 @@
"dist"
],
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -22,6 +22,6 @@
"@bytelyst/storage": "workspace:*"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -21,6 +21,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -43,6 +43,6 @@
"@azure/keyvault-secrets": "^4.10.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -21,6 +21,6 @@
"@azure/cosmos": ">=4.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -22,6 +22,6 @@
"vitest": "^3.0.5"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -34,6 +34,6 @@
"vitest": "^4.0.18"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -34,6 +34,6 @@
"vitest": "^4.0.18"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -33,6 +33,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -39,6 +39,6 @@
"tsx": "^4.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -30,6 +30,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -18,6 +18,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -28,6 +28,6 @@
"zod": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -22,6 +22,6 @@
"@bytelyst/api-client": "workspace:*"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -34,6 +34,6 @@
"dist"
],
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -40,6 +40,6 @@
"fastify-metrics": "^10.6.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -25,6 +25,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -29,6 +29,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -38,6 +38,6 @@
"zod": "^3.24.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -24,6 +24,6 @@
"typescript": "^5.7.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -25,6 +25,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -24,6 +24,6 @@
"typescript": "^5.7.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -25,6 +25,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -23,6 +23,6 @@
"vitest": "^3.0.5"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -32,6 +32,6 @@
"react-dom": "^19.2.4"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -62,6 +62,6 @@
],
"license": "MIT",
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -22,6 +22,6 @@
"fake-indexeddb": "^6.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -22,6 +22,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -28,6 +28,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -29,6 +29,6 @@
"@bytelyst/api-client": "workspace:*"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -32,6 +32,6 @@
}
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -31,6 +31,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -31,6 +31,6 @@
"vitest": "^3.0.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -19,6 +19,6 @@
"test": "vitest run --pool forks"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
"registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
}
}

View File

@ -6,7 +6,7 @@ set -euo pipefail
# to prevent accidental publish to npmjs.org or JFrog
# ─────────────────────────────────────────────────────────────
REGISTRY="http://localhost:3300/api/packages/bytelyst/npm/"
REGISTRY="https://gitea.bytelyst.com/api/packages/ByteLyst/npm/"
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
PACKAGES_DIR="$REPO_ROOT/packages"

View File

@ -4,7 +4,7 @@ set -euo pipefail
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
PACKAGES_DIR="$REPO_ROOT/packages"
TMP_DIR="${TMPDIR:-/tmp}/bytelyst-gitea-publish"
REGISTRY_URL="${GITEA_NPM_REGISTRY_URL:-http://localhost:3300/api/packages/bytelyst/npm/}"
REGISTRY_URL="${GITEA_NPM_REGISTRY_URL:-https://gitea.bytelyst.com/api/packages/ByteLyst/npm/}"
AUTH_TARGET="${REGISTRY_URL#http://}"
AUTH_TARGET="${AUTH_TARGET#https://}"
TOKEN="${GITEA_NPM_TOKEN:-}"