From 0cd7d8e41ed18f96e3fb08eeed026cd85382020f Mon Sep 17 00:00:00 2001 From: Shigma Date: Thu, 24 Oct 2024 14:49:47 +0000 Subject: [PATCH] chore: bump versions --- .github/workflows/build.yaml | 2 +- adapters/dingtalk/package.json | 10 +++++----- adapters/discord/package.json | 8 ++++---- adapters/kook/package.json | 8 ++++---- adapters/lark/package.json | 10 +++++----- adapters/line/package.json | 8 ++++---- adapters/mail/package.json | 6 +++--- adapters/matrix/package.json | 8 ++++---- adapters/qq/package.json | 8 ++++---- adapters/satori/package.json | 6 +++--- adapters/satori/src/ws.ts | 2 +- adapters/slack/package.json | 8 ++++---- adapters/telegram/package.json | 10 +++++----- adapters/wechat-official/package.json | 8 ++++---- adapters/wecom/package.json | 8 ++++---- adapters/whatsapp/package.json | 8 ++++---- adapters/zulip/package.json | 6 +++--- package.json | 10 +++++----- packages/core/package.json | 18 ++++++++++-------- packages/create/package.json | 6 +++--- packages/element/package.json | 14 +++++++------- packages/protocol/package.json | 6 +++--- packages/satori/package.json | 15 +++++++-------- packages/server/package.json | 16 ++++++++-------- 24 files changed, 105 insertions(+), 104 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 63c89582..1612b508 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -37,7 +37,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18, 20] + node-version: [18, 20, 22] steps: - name: Check out diff --git a/adapters/dingtalk/package.json b/adapters/dingtalk/package.json index 4c4879df..c499f618 100644 --- a/adapters/dingtalk/package.json +++ b/adapters/dingtalk/package.json @@ -31,12 +31,12 @@ "chat" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@cordisjs/plugin-server-temp": "^0.4.0", - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@cordisjs/plugin-server": "^0.2.4", + "@cordisjs/plugin-server-temp": "^0.5.0", + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" } } diff --git a/adapters/discord/package.json b/adapters/discord/package.json index bba7b90f..6518ac05 100644 --- a/adapters/discord/package.json +++ b/adapters/discord/package.json @@ -1,7 +1,7 @@ { "name": "@satorijs/adapter-discord", "description": "Discord Adapter for Satorijs", - "version": "4.5.8", + "version": "4.5.9", "type": "module", "main": "lib/index.cjs", "typings": "lib/index.d.ts", @@ -33,10 +33,10 @@ "chat" ], "devDependencies": { - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" } } diff --git a/adapters/kook/package.json b/adapters/kook/package.json index b80dcdc7..011c61f4 100644 --- a/adapters/kook/package.json +++ b/adapters/kook/package.json @@ -30,11 +30,11 @@ "chat" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@cordisjs/plugin-server": "^0.2.4", + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" } } diff --git a/adapters/lark/package.json b/adapters/lark/package.json index 7cbc3f0f..715b40c5 100644 --- a/adapters/lark/package.json +++ b/adapters/lark/package.json @@ -1,7 +1,7 @@ { "name": "@satorijs/adapter-lark", "description": "Lark (飞书) Adapter for Satorijs", - "version": "3.5.2", + "version": "3.5.3", "type": "module", "main": "lib/index.cjs", "types": "lib/index.d.ts", @@ -34,11 +34,11 @@ "chat" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@cordisjs/plugin-server": "^0.2.4", + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" } } diff --git a/adapters/line/package.json b/adapters/line/package.json index 542283d6..3b12ebae 100644 --- a/adapters/line/package.json +++ b/adapters/line/package.json @@ -30,11 +30,11 @@ "chat" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@cordisjs/plugin-server": "^0.2.4", + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" } } diff --git a/adapters/mail/package.json b/adapters/mail/package.json index 65512c5e..b9a4905b 100644 --- a/adapters/mail/package.json +++ b/adapters/mail/package.json @@ -32,13 +32,13 @@ "chat" ], "devDependencies": { - "@satorijs/core": "^4.2.1", + "@satorijs/core": "^4.2.9", "@types/node-imap": "^0.9.3", "@types/nodemailer": "^6.4.14", - "cordis": "^3.18.0" + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" }, "dependencies": { "@types/mailparser": "^3.4.4", diff --git a/adapters/matrix/package.json b/adapters/matrix/package.json index a4bb6d06..2d54c3dd 100644 --- a/adapters/matrix/package.json +++ b/adapters/matrix/package.json @@ -28,12 +28,12 @@ "chat" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@cordisjs/plugin-server": "^0.2.4", + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" }, "dependencies": { "html5parser": "^2.0.2", diff --git a/adapters/qq/package.json b/adapters/qq/package.json index eaca373e..aa4c99bf 100644 --- a/adapters/qq/package.json +++ b/adapters/qq/package.json @@ -1,7 +1,7 @@ { "name": "@satorijs/adapter-qq", "description": "QQ Adapter for Satorijs", - "version": "4.8.2", + "version": "4.8.3", "type": "module", "main": "lib/index.cjs", "typings": "lib/index.d.ts", @@ -31,10 +31,10 @@ "chat" ], "devDependencies": { - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" } } diff --git a/adapters/satori/package.json b/adapters/satori/package.json index 43f41baf..2fe15785 100644 --- a/adapters/satori/package.json +++ b/adapters/satori/package.json @@ -36,10 +36,10 @@ "chat" ], "devDependencies": { - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" } } diff --git a/adapters/satori/src/ws.ts b/adapters/satori/src/ws.ts index 86a182bf..0732be80 100644 --- a/adapters/satori/src/ws.ts +++ b/adapters/satori/src/ws.ts @@ -61,7 +61,7 @@ export class SatoriAdapter extends Adapter.WsClient bot.http = this.http.extend({ headers: { 'Satori-Platform': platform, - 'Satori-Login-ID': selfId, + 'Satori-User-ID': selfId, 'X-Platform': platform, 'X-Self-ID': selfId, }, diff --git a/adapters/slack/package.json b/adapters/slack/package.json index ae3b0765..a70986c5 100644 --- a/adapters/slack/package.json +++ b/adapters/slack/package.json @@ -30,12 +30,12 @@ "chat" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@cordisjs/plugin-server": "^0.2.4", + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" }, "dependencies": { "@slack/types": "^2.11.0" diff --git a/adapters/telegram/package.json b/adapters/telegram/package.json index 0f0a4a3a..bb4980a1 100644 --- a/adapters/telegram/package.json +++ b/adapters/telegram/package.json @@ -1,7 +1,7 @@ { "name": "@satorijs/adapter-telegram", "description": "Telegram Adapter for Satorijs", - "version": "4.5.7", + "version": "4.5.8", "type": "module", "main": "lib/index.cjs", "typings": "lib/index.d.ts", @@ -34,12 +34,12 @@ "chat" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@cordisjs/plugin-server": "^0.2.4", + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" }, "dependencies": { "file-type": "^16.5.4" diff --git a/adapters/wechat-official/package.json b/adapters/wechat-official/package.json index b8b06cb2..d8932492 100644 --- a/adapters/wechat-official/package.json +++ b/adapters/wechat-official/package.json @@ -30,13 +30,13 @@ "chat" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@satorijs/core": "^4.2.1", + "@cordisjs/plugin-server": "^0.2.4", + "@satorijs/core": "^4.2.9", "@types/xml2js": "^0.4.14", - "cordis": "^3.18.0" + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" }, "dependencies": { "@wecom/crypto": "^1.0.1", diff --git a/adapters/wecom/package.json b/adapters/wecom/package.json index 02709e62..05de5b1a 100644 --- a/adapters/wecom/package.json +++ b/adapters/wecom/package.json @@ -30,13 +30,13 @@ "chat" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@satorijs/core": "^4.2.1", + "@cordisjs/plugin-server": "^0.2.4", + "@satorijs/core": "^4.2.9", "@types/xml2js": "^0.4.14", - "cordis": "^3.18.0" + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" }, "dependencies": { "@wecom/crypto": "^1.0.1", diff --git a/adapters/whatsapp/package.json b/adapters/whatsapp/package.json index 0bfa2225..de576f7a 100644 --- a/adapters/whatsapp/package.json +++ b/adapters/whatsapp/package.json @@ -28,11 +28,11 @@ "satori" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@cordisjs/plugin-server": "^0.2.4", + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" } } diff --git a/adapters/zulip/package.json b/adapters/zulip/package.json index b50dfe92..d67d4324 100644 --- a/adapters/zulip/package.json +++ b/adapters/zulip/package.json @@ -30,11 +30,11 @@ "chat" ], "devDependencies": { - "@satorijs/core": "^4.2.1", - "cordis": "^3.18.0" + "@satorijs/core": "^4.2.9", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" }, "dependencies": { "marked": "^9.1.6" diff --git a/package.json b/package.json index 0ded5652..d04997da 100644 --- a/package.json +++ b/package.json @@ -28,15 +28,15 @@ "license": "MIT", "devDependencies": { "@cordisjs/eslint-config": "^1.1.1", - "@types/node": "^22.1.0", + "@types/node": "^22.7.5", "c8": "^7.14.0", - "esbuild": "^0.23.0", + "esbuild": "^0.23.1", "esbuild-register": "^3.5.0", "eslint": "^8.57.0", "shx": "^0.3.4", - "typescript": "^5.5.3", + "typescript": "^5.6.2", "yakumo": "^1.0.0-beta.18", - "yakumo-esbuild": "^1.0.0-beta.6", - "yakumo-tsc": "^1.0.0-beta.4" + "yakumo-esbuild": "^1.0.0-beta.7", + "yakumo-tsc": "^1.0.0-beta.5" } } diff --git a/packages/core/package.json b/packages/core/package.json index 28fce443..67f19713 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,16 +1,16 @@ { "name": "@satorijs/core", "description": "Core components of Satorijs", - "version": "4.2.1", + "version": "4.2.9", "type": "module", "main": "lib/index.cjs", "module": "lib/index.mjs", "types": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "require": "./lib/index.cjs", - "import": "./lib/index.mjs", - "types": "./lib/index.d.ts" + "import": "./lib/index.mjs" }, "./src/*": "./src/*", "./package.json": "./package.json" @@ -34,7 +34,8 @@ "satori", "element", "message", - "utilities" + "utilities", + "cordis" ], "scripts": { "compile:cjs": "esbuild src/index.ts --outfile=lib/index.cjs --bundle --sourcemap --sources-content=false --platform=node --external:cosmokit --external:cordis --target=es2022", @@ -43,6 +44,7 @@ }, "cordis": { "ecosystem": { + "name": "satori", "pattern": [ "@satorijs/adapter-*", "@satorijs/plugin-*", @@ -57,13 +59,13 @@ } }, "peerDependencies": { - "cordis": "^3.18.0" + "cordis": "^3.18.1" }, "dependencies": { - "@cordisjs/plugin-http": "^0.6.1", + "@cordisjs/plugin-http": "^0.6.2", "@satorijs/element": "^3.1.7", "@satorijs/protocol": "^1.4.2", - "cordis": "^3.18.0", - "cosmokit": "^1.6.2" + "cordis": "^3.18.1", + "cosmokit": "^1.6.3" } } diff --git a/packages/create/package.json b/packages/create/package.json index 8fea9b85..d475ce18 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,7 +1,7 @@ { "name": "create-satori", "description": "Setup a Satori application", - "version": "0.1.3", + "version": "0.1.4", "type": "module", "bin": "lib/bin.js", "files": [ @@ -27,9 +27,9 @@ "boilerplate" ], "devDependencies": { - "@types/node": "^22.1.0" + "@types/node": "^22.7.5" }, "dependencies": { - "create-cordis": "^0.2.3" + "create-cordis": "^0.2.4" } } diff --git a/packages/element/package.json b/packages/element/package.json index 1a035ba1..c996a620 100644 --- a/packages/element/package.json +++ b/packages/element/package.json @@ -7,19 +7,19 @@ "types": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "import": "./lib/index.mjs", - "require": "./lib/index.cjs", - "types": "./lib/index.d.ts" + "require": "./lib/index.cjs" }, "./jsx-runtime": { + "types": "./lib/index.d.ts", "import": "./lib/index.mjs", - "require": "./lib/index.cjs", - "types": "./lib/index.d.ts" + "require": "./lib/index.cjs" }, "./jsx-dev-runtime": { + "types": "./lib/index.d.ts", "import": "./lib/index.mjs", - "require": "./lib/index.cjs", - "types": "./lib/index.d.ts" + "require": "./lib/index.cjs" }, "./src/*": "./src/*", "./package.json": "./package.json" @@ -55,6 +55,6 @@ "chai-shape": "^1.1.0" }, "dependencies": { - "cosmokit": "^1.6.2" + "cosmokit": "^1.6.3" } } diff --git a/packages/protocol/package.json b/packages/protocol/package.json index 87840efc..86bc836e 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -8,9 +8,9 @@ "types": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "require": "./lib/index.cjs", - "import": "./lib/index.mjs", - "types": "./lib/index.d.ts" + "import": "./lib/index.mjs" }, "./src/*": "./src/*", "./package.json": "./package.json" @@ -39,6 +39,6 @@ ], "dependencies": { "@satorijs/element": "^3.1.7", - "cosmokit": "^1.6.2" + "cosmokit": "^1.6.3" } } diff --git a/packages/satori/package.json b/packages/satori/package.json index d71a4e3e..89e62dbe 100644 --- a/packages/satori/package.json +++ b/packages/satori/package.json @@ -1,16 +1,16 @@ { "name": "@satorijs/satori", "description": "Core components of Satorijs", - "version": "4.2.1", + "version": "4.2.5", "type": "module", "main": "lib/index.cjs", "module": "lib/index.mjs", "types": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "require": "./lib/index.cjs", - "import": "./lib/index.mjs", - "types": "./lib/index.d.ts" + "import": "./lib/index.mjs" }, "./src/*": "./src/*", "./package.json": "./package.json" @@ -35,14 +35,13 @@ "element", "message", "utilities", - "cordis", - "plugin" + "cordis" ], "peerDependencies": { - "cordis": "^3.18.0" + "cordis": "^3.18.1" }, "dependencies": { - "@satorijs/core": "4.2.1", - "cosmokit": "^1.6.2" + "@satorijs/core": "4.2.9", + "cosmokit": "^1.6.3" } } diff --git a/packages/server/package.json b/packages/server/package.json index 26835fec..9ed87abd 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,13 +1,13 @@ { "name": "@satorijs/plugin-server", "description": "Basic API server for Satori protocol", - "version": "2.7.1", + "version": "2.7.2", "type": "module", "exports": { ".": { + "types": "./lib/index.d.ts", "require": "./lib/index.cjs", - "import": "./lib/index.mjs", - "types": "./lib/index.d.ts" + "import": "./lib/index.mjs" }, "./src/*": "./src/*", "./package.json": "./package.json" @@ -35,12 +35,12 @@ "api" ], "devDependencies": { - "@cordisjs/plugin-server": "^0.2.3", - "@satorijs/core": "^4.2.1", - "@types/node": "^22.1.0", - "cordis": "^3.18.0" + "@cordisjs/plugin-server": "^0.2.4", + "@satorijs/core": "^4.2.9", + "@types/node": "^22.7.5", + "cordis": "^3.18.1" }, "peerDependencies": { - "@satorijs/core": "^4.2.1" + "@satorijs/core": "^4.2.9" } }