chore(gitea): parameterize npm owner via GITEA_NPM_OWNER env var

Synced from learning_ai_common_plat npmrc.template. The Gitea owner is
now resolved at install time from ${GITEA_NPM_OWNER:-learning_ai_user},
so future owner renames don't require touching this file.
This commit is contained in:
saravanakumardb1 2026-05-27 00:42:05 -07:00
parent dff459e2ea
commit acc913cf87

4
.npmrc
View File

@ -1,5 +1,5 @@
@bytelyst:registry=http://${GITEA_NPM_HOST:-localhost}:3300/api/packages/learning_ai_user/npm/ @bytelyst:registry=http://${GITEA_NPM_HOST:-localhost}:3300/api/packages/${GITEA_NPM_OWNER:-learning_ai_user}/npm/
//localhost:3300/api/packages/learning_ai_user/npm/:_authToken=${GITEA_NPM_TOKEN} //${GITEA_NPM_HOST:-localhost}:3300/api/packages/${GITEA_NPM_OWNER:-learning_ai_user}/npm/:_authToken=${GITEA_NPM_TOKEN}
strict-ssl=false strict-ssl=false
link-workspace-packages=true link-workspace-packages=true
prefer-workspace-packages=true prefer-workspace-packages=true