forked from koishijs/koishi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dingtalk): add adapter-dingtalk
- Loading branch information
1 parent
b370375
commit 1d1250a
Showing
5 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"name": "@koishijs/plugin-adapter-dingtalk", | ||
"description": "Dingtalk Adapter for Koishi", | ||
"version": "1.0.0", | ||
"main": "lib/index.js", | ||
"module": "lib/index.mjs", | ||
"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/dingtalk" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/satorijs/satori/issues" | ||
}, | ||
"homepage": "https://koishi.chat/plugins/adapter/dingtalk.html", | ||
"keywords": [ | ||
"bot", | ||
"dingtalk", | ||
"chatbot", | ||
"koishi" | ||
], | ||
"koishi": { | ||
"browser": true, | ||
"description": { | ||
"en": "WhatsApp Adapter", | ||
"zh": "钉钉适配器" | ||
}, | ||
"service": { | ||
"implements": [ | ||
"adapter" | ||
] | ||
} | ||
}, | ||
"peerDependencies": { | ||
"koishi": "^4.13.7" | ||
}, | ||
"devDependencies": { | ||
"koishi": "^4.13.7" | ||
}, | ||
"dependencies": { | ||
"@satorijs/adapter-dingtalk": "^1.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { DingtalkBot } from '@satorijs/adapter-dingtalk' | ||
|
||
export default DingtalkBot | ||
export * from '@satorijs/adapter-dingtalk' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "../../../tsconfig.base", | ||
"compilerOptions": { | ||
"outDir": "lib", | ||
"rootDir": "src", | ||
}, | ||
"include": [ | ||
"src", | ||
], | ||
} |