From 427080a2a36d3e6c1f221acfce34014a6f8476d0 Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Mon, 13 Apr 2026 10:34:50 -0700 Subject: [PATCH] chore: standardize .npmrc + workspace for corp network resilience - .npmrc: use ${GITEA_NPM_HOST:-localhost}:3300 instead of hardcoded gitea.bytelyst.com (corp TLS proxy breaks external URL). - pnpm-workspace.yaml: add ../learning_ai_common_plat/packages/* so @bytelyst/* resolve locally without registry access. - .npmrc: enable link-workspace-packages + prefer-workspace-packages. --- .npmrc | 8 +++++--- pnpm-workspace.yaml | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.npmrc b/.npmrc index c7513ad..4f51e76 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,5 @@ -@bytelyst:registry=https://gitea.bytelyst.com/api/packages/ByteLyst/npm/ -//gitea.bytelyst.com/api/packages/ByteLyst/npm/:_authToken=${GITEA_NPM_TOKEN} -strict-ssl=true +@bytelyst:registry=http://${GITEA_NPM_HOST:-localhost}:3300/api/packages/ByteLyst/npm/ +//localhost:3300/api/packages/ByteLyst/npm/:_authToken=${GITEA_NPM_TOKEN} +strict-ssl=false +link-workspace-packages=true +prefer-workspace-packages=true diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index bb63895..8d0071c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,4 @@ packages: - backend - web + - ../learning_ai_common_plat/packages/*