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:
parent
ed3bc15a4a
commit
427080a2a3
8
.npmrc
8
.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
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
packages:
|
||||
- backend
|
||||
- web
|
||||
- ../learning_ai_common_plat/packages/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user