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:
parent
dff459e2ea
commit
acc913cf87
4
.npmrc
4
.npmrc
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user