From 8b371898299b7159cc227c41e0aa0d3fbbc32ebd Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Mar 2026 10:53:13 +0000 Subject: [PATCH] chore(registry): point packages to gitea.bytelyst.com --- docs/devops/single_azure_vm/docker/README.md | 3 ++- docs/devops/single_azure_vm/docker/prompt.md | 2 +- docs/devops/single_azure_vm/docker/test-plan.md | 2 +- packages/api-client/package.json | 2 +- packages/auth-client/package.json | 2 +- packages/auth-ui/package.json | 2 +- packages/auth/package.json | 2 +- packages/backend-config/package.json | 2 +- packages/backend-flags/package.json | 2 +- packages/backend-telemetry/package.json | 2 +- packages/blob-client/package.json | 2 +- packages/blob/package.json | 2 +- packages/broadcast-client/package.json | 2 +- packages/client-encrypt/package.json | 2 +- packages/config/package.json | 2 +- packages/cosmos/package.json | 2 +- packages/create-app/package.json | 2 +- packages/dashboard-components/package.json | 2 +- packages/dashboard-shell/package.json | 2 +- packages/datastore/package.json | 2 +- packages/design-tokens/package.json | 2 +- packages/diagnostics-client/package.json | 2 +- packages/errors/package.json | 2 +- packages/event-store/package.json | 2 +- packages/events/package.json | 2 +- packages/extraction/package.json | 2 +- packages/fastify-auth/package.json | 2 +- packages/fastify-core/package.json | 2 +- packages/fastify-sse/package.json | 2 +- packages/feature-flag-client/package.json | 2 +- packages/feedback-client/package.json | 2 +- packages/field-encrypt/package.json | 2 +- packages/kill-switch-client/package.json | 2 +- packages/llm-router/package.json | 2 +- packages/llm/package.json | 2 +- packages/logger/package.json | 2 +- packages/monitoring/package.json | 2 +- packages/offline-queue/package.json | 2 +- packages/ollama-client/package.json | 2 +- packages/platform-client/package.json | 2 +- packages/push/package.json | 2 +- packages/queue/package.json | 2 +- packages/react-auth/package.json | 2 +- packages/react-native-platform-sdk/package.json | 2 +- packages/secure-storage-web/package.json | 2 +- packages/speech/package.json | 2 +- packages/storage/package.json | 2 +- packages/survey-client/package.json | 2 +- packages/sync/package.json | 2 +- packages/telemetry-client/package.json | 2 +- packages/testing/package.json | 2 +- packages/use-keyboard-shortcuts/package.json | 2 +- packages/use-theme/package.json | 2 +- packages/webhook-dispatch/package.json | 2 +- scripts/harden-publish-config.sh | 2 +- scripts/publish-local-gitea-packages.sh | 2 +- 56 files changed, 57 insertions(+), 56 deletions(-) diff --git a/docs/devops/single_azure_vm/docker/README.md b/docs/devops/single_azure_vm/docker/README.md index 7c1b723d..332f9deb 100644 --- a/docs/devops/single_azure_vm/docker/README.md +++ b/docs/devops/single_azure_vm/docker/README.md @@ -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/.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/.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 diff --git a/docs/devops/single_azure_vm/docker/prompt.md b/docs/devops/single_azure_vm/docker/prompt.md index bad847d3..7f290780 100644 --- a/docs/devops/single_azure_vm/docker/prompt.md +++ b/docs/devops/single_azure_vm/docker/prompt.md @@ -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 diff --git a/docs/devops/single_azure_vm/docker/test-plan.md b/docs/devops/single_azure_vm/docker/test-plan.md index 62344705..ce24a220 100644 --- a/docs/devops/single_azure_vm/docker/test-plan.md +++ b/docs/devops/single_azure_vm/docker/test-plan.md @@ -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. ``` diff --git a/packages/api-client/package.json b/packages/api-client/package.json index b06ced3a..24e445ee 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -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/" } } diff --git a/packages/auth-client/package.json b/packages/auth-client/package.json index 9919a78c..cf5cfe17 100644 --- a/packages/auth-client/package.json +++ b/packages/auth-client/package.json @@ -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/" } } diff --git a/packages/auth-ui/package.json b/packages/auth-ui/package.json index e8b63884..e5a68fdb 100644 --- a/packages/auth-ui/package.json +++ b/packages/auth-ui/package.json @@ -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/" } } diff --git a/packages/auth/package.json b/packages/auth/package.json index dae05591..e9093247 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -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/" } } diff --git a/packages/backend-config/package.json b/packages/backend-config/package.json index bf26ec2d..7e1cc7d1 100644 --- a/packages/backend-config/package.json +++ b/packages/backend-config/package.json @@ -28,6 +28,6 @@ "dist" ], "publishConfig": { - "registry": "http://localhost:3300/api/packages/bytelyst/npm/" + "registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/" } } diff --git a/packages/backend-flags/package.json b/packages/backend-flags/package.json index e3093040..3b24d438 100644 --- a/packages/backend-flags/package.json +++ b/packages/backend-flags/package.json @@ -25,6 +25,6 @@ "dist" ], "publishConfig": { - "registry": "http://localhost:3300/api/packages/bytelyst/npm/" + "registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/" } } diff --git a/packages/backend-telemetry/package.json b/packages/backend-telemetry/package.json index b7668935..ae2dff1f 100644 --- a/packages/backend-telemetry/package.json +++ b/packages/backend-telemetry/package.json @@ -25,6 +25,6 @@ "dist" ], "publishConfig": { - "registry": "http://localhost:3300/api/packages/bytelyst/npm/" + "registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/" } } diff --git a/packages/blob-client/package.json b/packages/blob-client/package.json index 1403e745..a20a634c 100644 --- a/packages/blob-client/package.json +++ b/packages/blob-client/package.json @@ -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/" } } diff --git a/packages/blob/package.json b/packages/blob/package.json index e098448e..dc735c9e 100644 --- a/packages/blob/package.json +++ b/packages/blob/package.json @@ -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/" } } diff --git a/packages/broadcast-client/package.json b/packages/broadcast-client/package.json index 3c3df909..f800f9ed 100644 --- a/packages/broadcast-client/package.json +++ b/packages/broadcast-client/package.json @@ -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/" } } diff --git a/packages/client-encrypt/package.json b/packages/client-encrypt/package.json index 73feaadf..ef161644 100644 --- a/packages/client-encrypt/package.json +++ b/packages/client-encrypt/package.json @@ -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/" } } diff --git a/packages/config/package.json b/packages/config/package.json index 2e54967c..6aadbf95 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -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/" } } diff --git a/packages/cosmos/package.json b/packages/cosmos/package.json index 4c9692df..3bd24c9f 100644 --- a/packages/cosmos/package.json +++ b/packages/cosmos/package.json @@ -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/" } } diff --git a/packages/create-app/package.json b/packages/create-app/package.json index a8a6babc..cd015e7a 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -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/" } } diff --git a/packages/dashboard-components/package.json b/packages/dashboard-components/package.json index 03079ea7..01aa593e 100644 --- a/packages/dashboard-components/package.json +++ b/packages/dashboard-components/package.json @@ -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/" } } diff --git a/packages/dashboard-shell/package.json b/packages/dashboard-shell/package.json index 4fa3eb69..1a0cdcf9 100644 --- a/packages/dashboard-shell/package.json +++ b/packages/dashboard-shell/package.json @@ -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/" } } diff --git a/packages/datastore/package.json b/packages/datastore/package.json index cb851755..3ed17935 100644 --- a/packages/datastore/package.json +++ b/packages/datastore/package.json @@ -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/" } } diff --git a/packages/design-tokens/package.json b/packages/design-tokens/package.json index 3ed55019..ccfaf44a 100644 --- a/packages/design-tokens/package.json +++ b/packages/design-tokens/package.json @@ -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/" } } diff --git a/packages/diagnostics-client/package.json b/packages/diagnostics-client/package.json index 4acac151..41fc36cc 100644 --- a/packages/diagnostics-client/package.json +++ b/packages/diagnostics-client/package.json @@ -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/" } } diff --git a/packages/errors/package.json b/packages/errors/package.json index 876b32cb..cdd302b7 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -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/" } } diff --git a/packages/event-store/package.json b/packages/event-store/package.json index d425d01c..4909aa4a 100644 --- a/packages/event-store/package.json +++ b/packages/event-store/package.json @@ -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/" } } diff --git a/packages/events/package.json b/packages/events/package.json index fe4bec0f..ad85b91c 100644 --- a/packages/events/package.json +++ b/packages/events/package.json @@ -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/" } } diff --git a/packages/extraction/package.json b/packages/extraction/package.json index 576e9555..ec835dfa 100644 --- a/packages/extraction/package.json +++ b/packages/extraction/package.json @@ -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/" } } diff --git a/packages/fastify-auth/package.json b/packages/fastify-auth/package.json index 55df7e1e..97ee7c55 100644 --- a/packages/fastify-auth/package.json +++ b/packages/fastify-auth/package.json @@ -34,6 +34,6 @@ "dist" ], "publishConfig": { - "registry": "http://localhost:3300/api/packages/bytelyst/npm/" + "registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/" } } diff --git a/packages/fastify-core/package.json b/packages/fastify-core/package.json index e1839f79..df47c22a 100644 --- a/packages/fastify-core/package.json +++ b/packages/fastify-core/package.json @@ -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/" } } diff --git a/packages/fastify-sse/package.json b/packages/fastify-sse/package.json index 2dc0435b..b1166e16 100644 --- a/packages/fastify-sse/package.json +++ b/packages/fastify-sse/package.json @@ -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/" } } diff --git a/packages/feature-flag-client/package.json b/packages/feature-flag-client/package.json index a385dda7..a74a8c68 100644 --- a/packages/feature-flag-client/package.json +++ b/packages/feature-flag-client/package.json @@ -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/" } } diff --git a/packages/feedback-client/package.json b/packages/feedback-client/package.json index dfbfe8da..79a8a51d 100644 --- a/packages/feedback-client/package.json +++ b/packages/feedback-client/package.json @@ -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/" } } diff --git a/packages/field-encrypt/package.json b/packages/field-encrypt/package.json index cc560a07..a47afe83 100644 --- a/packages/field-encrypt/package.json +++ b/packages/field-encrypt/package.json @@ -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/" } } diff --git a/packages/kill-switch-client/package.json b/packages/kill-switch-client/package.json index 5dd34da1..b5426b9f 100644 --- a/packages/kill-switch-client/package.json +++ b/packages/kill-switch-client/package.json @@ -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/" } } diff --git a/packages/llm-router/package.json b/packages/llm-router/package.json index 4fca6f99..5bbc1456 100644 --- a/packages/llm-router/package.json +++ b/packages/llm-router/package.json @@ -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/" } } diff --git a/packages/llm/package.json b/packages/llm/package.json index 21373639..cbe5d2db 100644 --- a/packages/llm/package.json +++ b/packages/llm/package.json @@ -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/" } } diff --git a/packages/logger/package.json b/packages/logger/package.json index 0348f410..eafa422a 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -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/" } } diff --git a/packages/monitoring/package.json b/packages/monitoring/package.json index 746217e0..f83945b6 100644 --- a/packages/monitoring/package.json +++ b/packages/monitoring/package.json @@ -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/" } } diff --git a/packages/offline-queue/package.json b/packages/offline-queue/package.json index d2448a7d..69ca121b 100644 --- a/packages/offline-queue/package.json +++ b/packages/offline-queue/package.json @@ -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/" } } diff --git a/packages/ollama-client/package.json b/packages/ollama-client/package.json index bd9adf49..ecc59f5d 100644 --- a/packages/ollama-client/package.json +++ b/packages/ollama-client/package.json @@ -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/" } } diff --git a/packages/platform-client/package.json b/packages/platform-client/package.json index 34cedfd7..f9b7d801 100644 --- a/packages/platform-client/package.json +++ b/packages/platform-client/package.json @@ -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/" } } diff --git a/packages/push/package.json b/packages/push/package.json index c90f36a8..e07409da 100644 --- a/packages/push/package.json +++ b/packages/push/package.json @@ -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/" } } diff --git a/packages/queue/package.json b/packages/queue/package.json index 9d382448..c712331b 100644 --- a/packages/queue/package.json +++ b/packages/queue/package.json @@ -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/" } } diff --git a/packages/react-auth/package.json b/packages/react-auth/package.json index db7cf025..7559e1fc 100644 --- a/packages/react-auth/package.json +++ b/packages/react-auth/package.json @@ -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/" } } diff --git a/packages/react-native-platform-sdk/package.json b/packages/react-native-platform-sdk/package.json index 1b25981a..69d40b58 100644 --- a/packages/react-native-platform-sdk/package.json +++ b/packages/react-native-platform-sdk/package.json @@ -62,6 +62,6 @@ ], "license": "MIT", "publishConfig": { - "registry": "http://localhost:3300/api/packages/bytelyst/npm/" + "registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/" } } diff --git a/packages/secure-storage-web/package.json b/packages/secure-storage-web/package.json index f263dbab..897bdb20 100644 --- a/packages/secure-storage-web/package.json +++ b/packages/secure-storage-web/package.json @@ -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/" } } diff --git a/packages/speech/package.json b/packages/speech/package.json index 34fb8466..d8c39450 100644 --- a/packages/speech/package.json +++ b/packages/speech/package.json @@ -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/" } } diff --git a/packages/storage/package.json b/packages/storage/package.json index 86e050ea..6d7f6a3f 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -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/" } } diff --git a/packages/survey-client/package.json b/packages/survey-client/package.json index 624ee14f..e83cda36 100644 --- a/packages/survey-client/package.json +++ b/packages/survey-client/package.json @@ -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/" } } diff --git a/packages/sync/package.json b/packages/sync/package.json index 04667dec..a6f3a047 100644 --- a/packages/sync/package.json +++ b/packages/sync/package.json @@ -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/" } } diff --git a/packages/telemetry-client/package.json b/packages/telemetry-client/package.json index aa35a0ab..ae6b2843 100644 --- a/packages/telemetry-client/package.json +++ b/packages/telemetry-client/package.json @@ -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/" } } diff --git a/packages/testing/package.json b/packages/testing/package.json index f68c46d9..f7362abb 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -32,6 +32,6 @@ } }, "publishConfig": { - "registry": "http://localhost:3300/api/packages/bytelyst/npm/" + "registry": "https://gitea.bytelyst.com/api/packages/ByteLyst/npm/" } } diff --git a/packages/use-keyboard-shortcuts/package.json b/packages/use-keyboard-shortcuts/package.json index 749e2b65..15da96b8 100644 --- a/packages/use-keyboard-shortcuts/package.json +++ b/packages/use-keyboard-shortcuts/package.json @@ -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/" } } diff --git a/packages/use-theme/package.json b/packages/use-theme/package.json index 124636fb..af862fb3 100644 --- a/packages/use-theme/package.json +++ b/packages/use-theme/package.json @@ -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/" } } diff --git a/packages/webhook-dispatch/package.json b/packages/webhook-dispatch/package.json index 164beaf4..54b0bb64 100644 --- a/packages/webhook-dispatch/package.json +++ b/packages/webhook-dispatch/package.json @@ -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/" } } diff --git a/scripts/harden-publish-config.sh b/scripts/harden-publish-config.sh index a8f7760f..468e46e7 100755 --- a/scripts/harden-publish-config.sh +++ b/scripts/harden-publish-config.sh @@ -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" diff --git a/scripts/publish-local-gitea-packages.sh b/scripts/publish-local-gitea-packages.sh index 2d94cfe8..8b8ca8d2 100644 --- a/scripts/publish-local-gitea-packages.sh +++ b/scripts/publish-local-gitea-packages.sh @@ -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:-}"