Skip to content

Commit

Permalink
feat(wechat-official): add adapter-wechat-official
Browse files Browse the repository at this point in the history
  • Loading branch information
XxLittleCxX committed Aug 6, 2023
1 parent 0a36ec6 commit b60ca90
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
48 changes: 48 additions & 0 deletions plugins/adapter/wechat-official/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "@koishijs/plugin-adapter-wechat-official",
"description": "Wechat Official Adapter for Koishi",
"version": "1.0.0",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib"
],
"author": "LittleC <i@ltlec.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/satorijs/satori.git",
"directory": "adapters/wechat-official"
},
"bugs": {
"url": "https://github.com/satorijs/satori/issues"
},
"homepage": "https://koishi.chat/plugins/adapter/wechat-official.html",
"keywords": [
"bot",
"adapter",
"chatbot",
"koishi",
"wechatofficial"
],
"koishi": {
"description": {
"en": "Wechat Official Adapter",
"zh": "微信公众平台适配器"
},
"service": {
"implements": [
"adapter"
]
}
},
"peerDependencies": {
"koishi": "^4.14.0"
},
"devDependencies": {
"koishi": "^4.14.0"
},
"dependencies": {
"@satorijs/adapter-wechat-official": "^1.0.0"
}
}
4 changes: 4 additions & 0 deletions plugins/adapter/wechat-official/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { WechatOfficialBot } from '@satorijs/adapter-wechat-official'

export default WechatOfficialBot
export * from '@satorijs/adapter-wechat-official'
10 changes: 10 additions & 0 deletions plugins/adapter/wechat-official/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../../../tsconfig.base",
"compilerOptions": {
"outDir": "lib",
"rootDir": "src",
},
"include": [
"src",
],
}

0 comments on commit b60ca90

Please sign in to comment.