diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ea74ead9..51143ddd1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -99,7 +99,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18, 20] + node-version: [18, 20, 22] steps: - name: Check out diff --git a/package.json b/package.json index 98635b2f8..51beefc0c 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@octokit/webhooks-types": "^7.4.0", "@sinonjs/fake-timers": "^6.0.1", "@types/mocha": "^9.1.1", - "@types/node": "^22.1.0", + "@types/node": "^22.7.5", "@types/prompts": "^2.4.9", "@types/semver": "^7.5.8", "@types/sinonjs__fake-timers": "^6.0.4", @@ -50,7 +50,7 @@ "c8": "^7.14.0", "cac": "^6.7.14", "cross-env": "^7.0.3", - "esbuild": "^0.23.0", + "esbuild": "^0.23.1", "esbuild-register": "^3.5.0", "eslint": "^8.57.0", "eslint-plugin-mocha": "^10.4.1", @@ -63,11 +63,11 @@ "semver": "^7.6.3", "shx": "^0.3.4", "source-map-support": "^0.5.21", - "typescript": "^5.5.3", + "typescript": "^5.6.2", "yakumo": "^1.0.0-beta.18", - "yakumo-esbuild": "^1.0.0-beta.6", + "yakumo-esbuild": "^1.0.0-beta.7", "yakumo-mocha": "^1.0.0-beta.2", - "yakumo-tsc": "^1.0.0-beta.4", + "yakumo-tsc": "^1.0.0-beta.5", "yml-register": "^1.2.5" } } diff --git a/packages/core/package.json b/packages/core/package.json index 870c47b0c..de6187b19 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/core", "description": "Core Features for Koishi", - "version": "4.17.12", + "version": "4.18.2", "main": "lib/index.cjs", "module": "lib/index.mjs", "typings": "lib/index.d.ts", @@ -26,7 +26,7 @@ "koishi" ], "devDependencies": { - "@minatojs/driver-memory": "^3.5.0", + "@minatojs/driver-memory": "^3.6.0", "@types/chai": "^4.3.16", "@types/chai-as-promised": "^7.1.8", "chai": "^5.1.1", @@ -36,10 +36,10 @@ "dependencies": { "@koishijs/i18n-utils": "^1.0.1", "@koishijs/utils": "^7.2.1", - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0", - "cosmokit": "^1.6.2", + "@satorijs/core": "^4.2.12", + "cordis": "^3.18.1", + "cosmokit": "^1.6.3", "fastest-levenshtein": "^1.0.16", - "minato": "^3.5.0" + "minato": "^3.6.1" } } diff --git a/packages/i18n-utils/package.json b/packages/i18n-utils/package.json index 5a41f9536..936863858 100644 --- a/packages/i18n-utils/package.json +++ b/packages/i18n-utils/package.json @@ -35,6 +35,6 @@ "fallback" ], "dependencies": { - "cosmokit": "^1.6.2" + "cosmokit": "^1.6.3" } } diff --git a/packages/koishi/package.json b/packages/koishi/package.json index 2d34ab952..bba2bc1e1 100644 --- a/packages/koishi/package.json +++ b/packages/koishi/package.json @@ -1,7 +1,7 @@ { "name": "koishi", "description": "Cross-Platform Chatbot Framework Made with Love", - "version": "4.17.12", + "version": "4.18.2", "main": "lib/index.cjs", "module": "lib/index.mjs", "types": "lib/index.d.ts", @@ -41,17 +41,31 @@ "chatbot", "discord", "telegram", - "koishi", + "cordis", "framework" ], + "cordis": { + "property": "koishi", + "ecosystem": { + "pattern": [ + "@koishijs/plugin-*", + "koishi-plugin-*" + ] + }, + "service": { + "implements": [ + "koishi" + ] + } + }, "dependencies": { - "@koishijs/core": "4.17.12", - "@koishijs/loader": "4.5.12", - "@koishijs/plugin-http": "^0.6.1", + "@koishijs/core": "4.18.2", + "@koishijs/loader": "4.6.2", + "@koishijs/plugin-http": "^0.6.3", "@koishijs/plugin-proxy-agent": "^0.3.3", - "@koishijs/plugin-server": "^3.2.3", + "@koishijs/plugin-server": "^3.2.4", "@koishijs/utils": "^7.2.1", - "@satorijs/core": "^4.2.1", + "@satorijs/core": "^4.2.12", "cac": "^6.7.14", "kleur": "^4.1.5" }, diff --git a/packages/loader/package.json b/packages/loader/package.json index ec56dc64f..befbcdaf2 100644 --- a/packages/loader/package.json +++ b/packages/loader/package.json @@ -1,23 +1,23 @@ { "name": "@koishijs/loader", "description": "Config Loader for Koishi", - "version": "4.5.12", + "version": "4.6.2", "main": "lib/index.js", "module": "lib/index.mjs", "types": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "node": { "require": "./lib/index.js", "import": "./lib/index.mjs" }, - "browser": "./lib/shared.mjs", - "types": "./lib/index.d.ts" + "browser": "./lib/shared.mjs" }, "./shared": { + "types": "./lib/shared.d.ts", "require": "./lib/shared.js", - "import": "./lib/shared.mjs", - "types": "./lib/shared.d.ts" + "import": "./lib/shared.mjs" }, "./src/*": "./src/*", "./package.json": "./package.json" @@ -45,10 +45,10 @@ "config" ], "peerDependencies": { - "@koishijs/core": "4.17.12" + "@koishijs/core": "4.18.2" }, "devDependencies": { - "@koishijs/core": "4.17.12", + "@koishijs/core": "4.18.2", "@types/js-yaml": "^4.0.9" }, "dependencies": { diff --git a/packages/utils/package.json b/packages/utils/package.json index 64da15a30..7ab1c5313 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -30,7 +30,7 @@ "@sinonjs/fake-timers": "^6.0.1" }, "dependencies": { - "cosmokit": "^1.6.2", + "cosmokit": "^1.6.3", "inaba": "^1.1.1" } } diff --git a/plugins/common/bind/package.json b/plugins/common/bind/package.json index ffceff185..ac4eff903 100644 --- a/plugins/common/bind/package.json +++ b/plugins/common/bind/package.json @@ -46,12 +46,12 @@ ] }, "peerDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "@minatojs/driver-memory": "^3.5.0", - "koishi": "^4.17.12", - "minato": "^3.5.0" + "@minatojs/driver-memory": "^3.6.0", + "koishi": "^4.18.2", + "minato": "^3.6.1" } } diff --git a/plugins/common/broadcast/package.json b/plugins/common/broadcast/package.json index 88c328ffb..f0ad4b5a5 100644 --- a/plugins/common/broadcast/package.json +++ b/plugins/common/broadcast/package.json @@ -45,12 +45,12 @@ ] }, "peerDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "@minatojs/driver-memory": "^3.5.0", - "koishi": "^4.17.12", - "minato": "^3.5.0" + "@minatojs/driver-memory": "^3.6.0", + "koishi": "^4.18.2", + "minato": "^3.6.1" } } diff --git a/plugins/common/callme/package.json b/plugins/common/callme/package.json index 843f44890..c1c7a2d03 100644 --- a/plugins/common/callme/package.json +++ b/plugins/common/callme/package.json @@ -45,10 +45,10 @@ ] }, "peerDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "koishi": "^4.17.12" + "koishi": "^4.18.2" } } diff --git a/plugins/common/echo/package.json b/plugins/common/echo/package.json index 139d5fdcc..bfe083e15 100644 --- a/plugins/common/echo/package.json +++ b/plugins/common/echo/package.json @@ -41,10 +41,10 @@ ] }, "peerDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "koishi": "^4.17.12" + "koishi": "^4.18.2" } } diff --git a/plugins/common/help/package.json b/plugins/common/help/package.json index e4a1e0d95..9983046cd 100644 --- a/plugins/common/help/package.json +++ b/plugins/common/help/package.json @@ -45,12 +45,12 @@ ] }, "peerDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "@minatojs/driver-memory": "^3.5.0", - "koishi": "^4.17.12", - "minato": "^3.5.0" + "@minatojs/driver-memory": "^3.6.0", + "koishi": "^4.18.2", + "minato": "^3.6.1" } } diff --git a/plugins/common/inspect/package.json b/plugins/common/inspect/package.json index 06cc7b2fc..7a8e1a83e 100644 --- a/plugins/common/inspect/package.json +++ b/plugins/common/inspect/package.json @@ -47,10 +47,10 @@ ] }, "peerDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "koishi": "^4.17.12" + "koishi": "^4.18.2" } } diff --git a/plugins/hmr/package.json b/plugins/hmr/package.json index b37d9729e..5c255cce6 100644 --- a/plugins/hmr/package.json +++ b/plugins/hmr/package.json @@ -42,13 +42,13 @@ } }, "peerDependencies": { - "@koishijs/loader": "^4.5.12", - "koishi": "^4.17.12" + "@koishijs/loader": "^4.6.2", + "koishi": "^4.18.2" }, "devDependencies": { "@types/babel__code-frame": "^7.0.6", - "esbuild": "^0.23.0", - "koishi": "^4.17.12" + "esbuild": "^0.23.1", + "koishi": "^4.18.2" }, "dependencies": { "@babel/code-frame": "^7.24.2", diff --git a/plugins/http/package.json b/plugins/http/package.json index 9db82b358..c3c3d9ab4 100644 --- a/plugins/http/package.json +++ b/plugins/http/package.json @@ -1,16 +1,16 @@ { "name": "@koishijs/plugin-http", "description": "HTTP and WebSocket client for Koishi", - "version": "0.6.1", + "version": "0.6.3", "type": "module", "main": "index.cjs", "module": "index.mjs", "types": "index.d.ts", "exports": { ".": { + "types": "./index.d.ts", "require": "./index.cjs", - "import": "./index.mjs", - "types": "./index.d.ts" + "import": "./index.mjs" }, "./package.json": "./package.json" }, @@ -48,12 +48,12 @@ } }, "peerDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "devDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "dependencies": { - "@cordisjs/plugin-http": "^0.6.1" + "@cordisjs/plugin-http": "^0.6.3" } } diff --git a/plugins/mock/package.json b/plugins/mock/package.json index 5d1b4827c..41f45371a 100644 --- a/plugins/mock/package.json +++ b/plugins/mock/package.json @@ -41,10 +41,10 @@ } }, "peerDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "devDependencies": { - "@koishijs/plugin-server": "^3.2.3", - "koishi": "^4.17.12" + "@koishijs/plugin-server": "^3.2.4", + "koishi": "^4.18.2" } } diff --git a/plugins/proxy-agent/package.json b/plugins/proxy-agent/package.json index e4fce5c17..d4febd803 100644 --- a/plugins/proxy-agent/package.json +++ b/plugins/proxy-agent/package.json @@ -8,9 +8,9 @@ "types": "index.d.ts", "exports": { ".": { + "types": "./index.d.ts", "require": "./index.cjs", - "import": "./index.mjs", - "types": "./index.d.ts" + "import": "./index.mjs" }, "./package.json": "./package.json" }, @@ -52,11 +52,11 @@ } }, "peerDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "devDependencies": { - "cordis": "^3.18.0", - "koishi": "^4.17.12" + "cordis": "^3.18.1", + "koishi": "^4.18.2" }, "dependencies": { "@cordisjs/plugin-proxy-agent": "^0.3.3" diff --git a/plugins/server/package.json b/plugins/server/package.json index 690b2afb2..ae322d526 100644 --- a/plugins/server/package.json +++ b/plugins/server/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-server", "description": "Server service for Koishi", - "version": "3.2.3", + "version": "3.2.4", "type": "module", "exports": { ".": { @@ -48,13 +48,13 @@ } }, "peerDependencies": { - "koishi": "^4.17.12" + "koishi": "^4.18.2" }, "devDependencies": { - "cordis": "^3.18.0", - "koishi": "^4.17.12" + "cordis": "^3.18.1", + "koishi": "^4.18.2" }, "dependencies": { - "@cordisjs/plugin-server": "^0.2.3" + "@cordisjs/plugin-server": "^0.2.4" } }