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.
This commit is contained in:
saravanakumardb1 2026-04-13 10:34:50 -07:00
parent ed3bc15a4a
commit 427080a2a3
2 changed files with 6 additions and 3 deletions

8
.npmrc
View File

@ -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

View File

@ -1,3 +1,4 @@
packages:
- backend
- web
- ../learning_ai_common_plat/packages/*