Skip to content

Commit

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

export default WecomBot
export * from '@satorijs/adapter-wecom'
10 changes: 10 additions & 0 deletions plugins/adapter/wecom/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 cae511f

Please sign in to comment.