diff --git a/.gitignore b/.gitignore index 067a74046b..5dafd5b4f9 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ temp tsconfig.temp.json /community +/external /addons /public /atri diff --git a/packages/bootstrap/package.json b/packages/bootstrap/package.json index 83c3b31ebc..c3853c3013 100644 --- a/packages/bootstrap/package.json +++ b/packages/bootstrap/package.json @@ -15,7 +15,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "packages/bootstrap" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/packages/cli/package.json b/packages/cli/package.json index d23b046d73..ee71a02ccf 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -17,7 +17,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "packages/cli" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/packages/core/package.json b/packages/core/package.json index fe0c9024f1..17c961b0ab 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,7 +15,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "packages/core" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/packages/create/package.json b/packages/create/package.json index 1a2c4a69df..1271e1246a 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -14,7 +14,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "packages/create" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/packages/loader/package.json b/packages/loader/package.json index c02969c3d2..bf2f274cab 100644 --- a/packages/loader/package.json +++ b/packages/loader/package.json @@ -11,7 +11,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "packages/loader" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/packages/market/package.json b/packages/market/package.json index 416ddd968a..07b0c9e38c 100644 --- a/packages/market/package.json +++ b/packages/market/package.json @@ -11,7 +11,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "packages/market" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/packages/scripts/package.json b/packages/scripts/package.json index ed5abfbb6c..b1f50ab6d4 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -18,7 +18,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "packages/scripts" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/packages/segment/package.json b/packages/segment/package.json index 28a5ec1f2b..dba0ce2c0e 100644 --- a/packages/segment/package.json +++ b/packages/segment/package.json @@ -13,7 +13,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "packages/segment" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/packages/utils/package.json b/packages/utils/package.json index 7022d140cd..1d9b8e2f3d 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -12,7 +12,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "packages/utils" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/plugins/a11y/admin/package.json b/plugins/a11y/admin/package.json index fcee8313a0..153d6e71ae 100644 --- a/plugins/a11y/admin/package.json +++ b/plugins/a11y/admin/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/a11y/admin" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/admin/", + "homepage": "https://koishi.js.org/plugins/accessibility/admin.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/a11y/bind/package.json b/plugins/a11y/bind/package.json index 9652b4e442..23133d766a 100644 --- a/plugins/a11y/bind/package.json +++ b/plugins/a11y/bind/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/a11y/bind" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/bind/", + "homepage": "https://koishi.js.org/plugins/accessibility/bind.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/a11y/callme/package.json b/plugins/a11y/callme/package.json index 7a1ee175b0..f5850da80d 100644 --- a/plugins/a11y/callme/package.json +++ b/plugins/a11y/callme/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/a11y/callme" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/callme/", + "homepage": "https://koishi.js.org/plugins/accessibility/callme.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/a11y/commands/package.json b/plugins/a11y/commands/package.json index 93d64452d6..f59303a234 100644 --- a/plugins/a11y/commands/package.json +++ b/plugins/a11y/commands/package.json @@ -15,7 +15,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/a11y/commands" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/plugins/a11y/locales/package.json b/plugins/a11y/locales/package.json index 389aa185c4..3d600e113a 100644 --- a/plugins/a11y/locales/package.json +++ b/plugins/a11y/locales/package.json @@ -15,7 +15,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/a11y/locales" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/plugins/a11y/rate-limit/package.json b/plugins/a11y/rate-limit/package.json index c927b8d4e6..270c3bef47 100644 --- a/plugins/a11y/rate-limit/package.json +++ b/plugins/a11y/rate-limit/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/a11y/rate-limit" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/rate-limit/", + "homepage": "https://koishi.js.org/plugins/accessibility/rate-limit.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/a11y/schedule/package.json b/plugins/a11y/schedule/package.json index 8c767f76a4..b03dbccc93 100644 --- a/plugins/a11y/schedule/package.json +++ b/plugins/a11y/schedule/package.json @@ -11,12 +11,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/a11y/schedule" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://github.com/koishijs/koishi/packages/plugin-schedule#readme", + "homepage": "https://koishi.js.org/plugins/accessibility/schedule.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/a11y/sudo/package.json b/plugins/a11y/sudo/package.json index 8d3f59dd6a..814a53ac0d 100644 --- a/plugins/a11y/sudo/package.json +++ b/plugins/a11y/sudo/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/a11y/sudo" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/accessibility/sudo/", + "homepage": "https://koishi.js.org/plugins/accessibility/sudo.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/a11y/switch/package.json b/plugins/a11y/switch/package.json index 7280f3806e..e5a2db168b 100644 --- a/plugins/a11y/switch/package.json +++ b/plugins/a11y/switch/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/a11y/switch" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/switch/", + "homepage": "https://koishi.js.org/plugins/accessibility/switch.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/a11y/verifier/package.json b/plugins/a11y/verifier/package.json index f1ff179251..cd89fec551 100644 --- a/plugins/a11y/verifier/package.json +++ b/plugins/a11y/verifier/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/a11y/verifier" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/verifier/", + "homepage": "https://koishi.js.org/plugins/accessibility/verifier.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/adapter/discord/package.json b/plugins/adapter/discord/package.json index ce0e6ebacc..1d71d31654 100644 --- a/plugins/adapter/discord/package.json +++ b/plugins/adapter/discord/package.json @@ -15,7 +15,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/adapter/discord" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/plugins/adapter/kaiheila/package.json b/plugins/adapter/kaiheila/package.json index 69619adeb0..91f0116f1d 100644 --- a/plugins/adapter/kaiheila/package.json +++ b/plugins/adapter/kaiheila/package.json @@ -11,7 +11,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/adapter/kaiheila" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/plugins/adapter/onebot/package.json b/plugins/adapter/onebot/package.json index 7395859b17..9cba881765 100644 --- a/plugins/adapter/onebot/package.json +++ b/plugins/adapter/onebot/package.json @@ -11,7 +11,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/adapter/onebot" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/plugins/adapter/qqguild/package.json b/plugins/adapter/qqguild/package.json index 105cf70462..4c25d2b993 100644 --- a/plugins/adapter/qqguild/package.json +++ b/plugins/adapter/qqguild/package.json @@ -15,7 +15,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/adapter/qqguild" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/plugins/adapter/telegram/package.json b/plugins/adapter/telegram/package.json index 62715e9300..971e2de3cb 100644 --- a/plugins/adapter/telegram/package.json +++ b/plugins/adapter/telegram/package.json @@ -15,7 +15,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/adapter/telegram" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" diff --git a/plugins/assets/git/package.json b/plugins/assets/git/package.json index 807d98e7fd..2b3ce91a70 100644 --- a/plugins/assets/git/package.json +++ b/plugins/assets/git/package.json @@ -11,12 +11,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/assets/git" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/other/git", + "homepage": "https://koishi.js.org/plugins/assets/git.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/assets/local/package.json b/plugins/assets/local/package.json index c806ff02bf..28dee86c6f 100644 --- a/plugins/assets/local/package.json +++ b/plugins/assets/local/package.json @@ -11,12 +11,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/assets/local" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/other/assets", + "homepage": "https://koishi.js.org/plugins/assets/local.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/assets/remote/package.json b/plugins/assets/remote/package.json index cbf795ca46..f02e475c42 100644 --- a/plugins/assets/remote/package.json +++ b/plugins/assets/remote/package.json @@ -11,12 +11,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/assets/remote" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/other/assets", + "homepage": "https://koishi.js.org/plugins/assets/remote.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/assets/s3/package.json b/plugins/assets/s3/package.json index a0ce65c94b..dcff1911f5 100644 --- a/plugins/assets/s3/package.json +++ b/plugins/assets/s3/package.json @@ -15,12 +15,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/plugin-assets-s3.git" + "url": "git+https://github.com/koishijs/plugin-assets-s3.git", + "directory": "plugins/assets/s3" }, "bugs": { "url": "https://github.com/koishijs/plugin-assets-s3/issues" }, - "homepage": "https://koishi.js.org/plugins/other/assets-s3", + "homepage": "https://koishi.js.org/plugins/assets/s3.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/cache/lru/package.json b/plugins/cache/lru/package.json index 3931932ff0..7cefe6f276 100644 --- a/plugins/cache/lru/package.json +++ b/plugins/cache/lru/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/cache/lru" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/api/cache/lru.html", + "homepage": "https://koishi.js.org/plugins/cache/lru.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/cache/redis/package.json b/plugins/cache/redis/package.json index 1202c72a6c..16de909721 100644 --- a/plugins/cache/redis/package.json +++ b/plugins/cache/redis/package.json @@ -18,12 +18,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/cache/redis" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/api/cache/redis.html", + "homepage": "https://koishi.js.org/plugins/cache/redis.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/common/broadcast/package.json b/plugins/common/broadcast/package.json index 2aa534a7e6..7e40e19d33 100644 --- a/plugins/common/broadcast/package.json +++ b/plugins/common/broadcast/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/common/broadcast" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/broadcast/", + "homepage": "https://koishi.js.org/plugins/common/broadcast.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/common/echo/package.json b/plugins/common/echo/package.json index 29a6576629..b0317d297f 100644 --- a/plugins/common/echo/package.json +++ b/plugins/common/echo/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/common/echo" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/echo/", + "homepage": "https://koishi.js.org/plugins/common/echo.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/common/feedback/package.json b/plugins/common/feedback/package.json index 84a6be2774..3fca2c839a 100644 --- a/plugins/common/feedback/package.json +++ b/plugins/common/feedback/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/common/feedback" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/feedback/", + "homepage": "https://koishi.js.org/plugins/common/feedback.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/common/forward/package.json b/plugins/common/forward/package.json index 9250495356..c59fd16b72 100644 --- a/plugins/common/forward/package.json +++ b/plugins/common/forward/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/common/forward" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/forward/", + "homepage": "https://koishi.js.org/plugins/common/forward.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/common/recall/package.json b/plugins/common/recall/package.json index b128216054..be808174a9 100644 --- a/plugins/common/recall/package.json +++ b/plugins/common/recall/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/common/recall" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/recall/", + "homepage": "https://koishi.js.org/plugins/common/recall.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/common/repeater/package.json b/plugins/common/repeater/package.json index 1e42591481..7c038836f1 100644 --- a/plugins/common/repeater/package.json +++ b/plugins/common/repeater/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/common/repeater" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/repeater/", + "homepage": "https://koishi.js.org/plugins/common/repeater.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/common/respondent/package.json b/plugins/common/respondent/package.json index 98c58ce12a..70d31d82cb 100644 --- a/plugins/common/respondent/package.json +++ b/plugins/common/respondent/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/common/respondent" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/respondent/", + "homepage": "https://koishi.js.org/plugins/common/respondent.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/database/level/package.json b/plugins/database/level/package.json index 64ebb0d0ef..a8eaeb8280 100644 --- a/plugins/database/level/package.json +++ b/plugins/database/level/package.json @@ -12,12 +12,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/database/level" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/other/database", + "homepage": "https://koishi.js.org/plugins/database/level.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/database/memory/package.json b/plugins/database/memory/package.json index bdf802169c..c24266f6e1 100644 --- a/plugins/database/memory/package.json +++ b/plugins/database/memory/package.json @@ -12,12 +12,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/database/memory" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/other/database", + "homepage": "https://koishi.js.org/plugins/database/memory.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/database/mongo/package.json b/plugins/database/mongo/package.json index 9231ec63f9..0b96d85101 100644 --- a/plugins/database/mongo/package.json +++ b/plugins/database/mongo/package.json @@ -15,12 +15,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/database/mongo" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/api/database/mongo.html", + "homepage": "https://koishi.js.org/plugins/database/mongo.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/database/mysql/package.json b/plugins/database/mysql/package.json index bd1962cd23..8dc8c9c39b 100644 --- a/plugins/database/mysql/package.json +++ b/plugins/database/mysql/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/database/mysql" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/api/database/mysql.html", + "homepage": "https://koishi.js.org/plugins/database/mysql.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/database/sqlite/package.json b/plugins/database/sqlite/package.json index def14e2b9c..5a3dd45ecb 100644 --- a/plugins/database/sqlite/package.json +++ b/plugins/database/sqlite/package.json @@ -14,12 +14,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/database/sqlite" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/api/database/mysql.html", + "homepage": "https://koishi.js.org/plugins/database/sqlite.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/eval/package.json b/plugins/eval/package.json index 25a47e872c..aef3b6ba58 100644 --- a/plugins/eval/package.json +++ b/plugins/eval/package.json @@ -19,7 +19,7 @@ "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/eval.html", + "homepage": "https://koishi.js.org/community/eval/", "keywords": [ "bot", "chatbot", diff --git a/plugins/frontend/auth/package.json b/plugins/frontend/auth/package.json index d7a0967159..9d9946289e 100644 --- a/plugins/frontend/auth/package.json +++ b/plugins/frontend/auth/package.json @@ -15,12 +15,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/frontend/auth" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/insight/", + "homepage": "https://koishi.js.org/plugins/console/auth.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/frontend/chat/package.json b/plugins/frontend/chat/package.json index 5d8c98f443..07842bf5df 100644 --- a/plugins/frontend/chat/package.json +++ b/plugins/frontend/chat/package.json @@ -12,12 +12,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/frontend/chat" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/other/chat", + "homepage": "https://koishi.js.org/plugins/console/chat.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/frontend/client/package.json b/plugins/frontend/client/package.json index 1929da8d45..1c9c06cda2 100644 --- a/plugins/frontend/client/package.json +++ b/plugins/frontend/client/package.json @@ -16,12 +16,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/frontend/client" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/other/status.html", + "homepage": "https://koishi.js.org", "keywords": [ "bot", "chatbot", diff --git a/plugins/frontend/console/package.json b/plugins/frontend/console/package.json index e9201cbb64..7179cff207 100644 --- a/plugins/frontend/console/package.json +++ b/plugins/frontend/console/package.json @@ -13,12 +13,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/frontend/console" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/other/status.html", + "homepage": "https://koishi.js.org/plugins/console/", "keywords": [ "bot", "chatbot", diff --git a/plugins/frontend/dataview/package.json b/plugins/frontend/dataview/package.json index 305f361138..d51bd2fae9 100644 --- a/plugins/frontend/dataview/package.json +++ b/plugins/frontend/dataview/package.json @@ -15,12 +15,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/frontend/dataview" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/dataview/", + "homepage": "https://koishi.js.org/plugins/console/dataview.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/frontend/insight/package.json b/plugins/frontend/insight/package.json index 1946f0d9e2..e184421f3c 100644 --- a/plugins/frontend/insight/package.json +++ b/plugins/frontend/insight/package.json @@ -15,12 +15,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/frontend/insight" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/insight/", + "homepage": "https://koishi.js.org/plugins/console/insight.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/frontend/logger/package.json b/plugins/frontend/logger/package.json index 0649bc8ad6..155f03bff9 100644 --- a/plugins/frontend/logger/package.json +++ b/plugins/frontend/logger/package.json @@ -15,12 +15,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/frontend/logger" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/logger/", + "homepage": "https://koishi.js.org/plugins/console/logger.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/frontend/manager/package.json b/plugins/frontend/manager/package.json index 89bf77d50b..92524a6138 100644 --- a/plugins/frontend/manager/package.json +++ b/plugins/frontend/manager/package.json @@ -12,12 +12,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/frontend/manager" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/other/manager", + "homepage": "https://koishi.js.org/plugins/console/manager.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/frontend/sandbox/package.json b/plugins/frontend/sandbox/package.json index b982c02371..91ccd055d3 100644 --- a/plugins/frontend/sandbox/package.json +++ b/plugins/frontend/sandbox/package.json @@ -15,12 +15,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/frontend/sandbox" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/frontend/sandbox/", + "homepage": "https://koishi.js.org/plugins/console/sandbox.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/frontend/status/package.json b/plugins/frontend/status/package.json index c60f5bb465..c7aaa3c348 100644 --- a/plugins/frontend/status/package.json +++ b/plugins/frontend/status/package.json @@ -12,12 +12,13 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/frontend/status" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues" }, - "homepage": "https://koishi.js.org/plugins/other/status", + "homepage": "https://koishi.js.org/plugins/console/status.html", "keywords": [ "bot", "chatbot", diff --git a/plugins/github/package.json b/plugins/github/package.json index 10a18a8fb9..67ad6b02b4 100644 --- a/plugins/github/package.json +++ b/plugins/github/package.json @@ -11,12 +11,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi-plugin-github.git" }, "bugs": { - "url": "https://github.com/koishijs/koishi/issues" + "url": "https://github.com/koishijs/koishi-plugin-github/issues" }, - "homepage": "https://koishi.js.org/plugins/other/github", + "homepage": "https://koishi.js.org/community/github/", "keywords": [ "bot", "chatbot", diff --git a/plugins/mock/package.json b/plugins/mock/package.json index c764facb08..c2e3ca1516 100644 --- a/plugins/mock/package.json +++ b/plugins/mock/package.json @@ -14,7 +14,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/koishijs/koishi.git" + "url": "git+https://github.com/koishijs/koishi.git", + "directory": "plugins/mock" }, "bugs": { "url": "https://github.com/koishijs/koishi/issues"