Migrate whynot-design npm catalog and docs to Forgejo registry
Update catalog, docs, tests, and exec_delivery comment for Forgejo npm API.
This commit is contained in:
parent
ff0dc8aeb2
commit
0ab9c649b9
7 changed files with 10 additions and 10 deletions
|
|
@ -92,7 +92,7 @@ def _npm_userconfig(registry: str, scope: str, token_env: str) -> Iterator[Path]
|
|||
os.fchmod(fd, 0o600)
|
||||
authkey = _registry_authkey(registry)
|
||||
with os.fdopen(fd, "w") as fh:
|
||||
# e.g. @whynot:registry=https://gitea.coulomb.social/api/packages/coulomb/npm/
|
||||
# e.g. @whynot:registry=https://forgejo.coulomb.social/api/packages/coulomb/npm/
|
||||
fh.write(f"{scope}:registry={registry}\n")
|
||||
fh.write(f"{authkey}:_authToken=${{{token_env}}}\n")
|
||||
yield path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue