加上 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:
2026-08-04 16:28:10 +08:00
co-authored by Claude Fable 5
parent 5b32816ad4
commit 313e651887
+7
View File
@@ -4,6 +4,13 @@
"description": "Telegram bot powered by the local Codex CLI — zero-dependency, pm2-managed, with a built-in PM2 web viewer", "description": "Telegram bot powered by the local Codex CLI — zero-dependency, pm2-managed, with a built-in PM2 web viewer",
"license": "MIT", "license": "MIT",
"type": "commonjs", "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", "main": "src/index.js",
"bin": { "bin": {
"telegram-codex-bot": "bin/cli.js", "telegram-codex-bot": "bin/cli.js",