加上 publishConfig 與 repository 設定
摘要: package.json 補上發佈到 git.catan.com.tw Frontend npm registry 的設定與 repo 位址。 修法: registry URL 需以斜線結尾,否則 npm 的認證比對(nerf-dart)會砍掉最後一段 路徑,找不到 ~/.npmrc 裡的 token 而 ENEEDAUTH。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
"description": "Telegram bot powered by the local Codex CLI — zero-dependency, pm2-managed, with a built-in PM2 web viewer",
|
||||
"license": "MIT",
|
||||
"type": "commonjs",
|
||||
"publishConfig": {
|
||||
"registry": "https://git.catan.com.tw/api/packages/Frontend/npm/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@git.catan.com.tw:Frontend/telegram-codex-bot.git"
|
||||
},
|
||||
"main": "src/index.js",
|
||||
"bin": {
|
||||
"telegram-codex-bot": "bin/cli.js",
|
||||
|
||||
Reference in New Issue
Block a user