Skip to content

Commit

Permalink
feat(server): support @koishijs/plugin-server
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Sep 30, 2023
1 parent 9e7c534 commit d63a3d4
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/server/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
tsconfig.tsbuildinfo
47 changes: 47 additions & 0 deletions plugins/server/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"name": "@koishijs/plugin-server",
"description": "Satori Protocol Adapter for Koishi",
"version": "1.0.0-alpha.0",
"main": "lib/index.js",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib"
],
"author": "Shigma <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/satorijs/satori.git",
"directory": "packages/server"
},
"bugs": {
"url": "https://github.com/satorijs/satori/issues"
},
"homepage": "https://koishi.chat/plugins/develop/server.html",
"keywords": [
"bot",
"adapter",
"satori",
"protocol",
"chatbot",
"koishi",
"server",
"api"
],
"koishi": {
"description": {
"en": "Satori Server",
"zh": "Satori 服务器"
}
},
"peerDependencies": {
"koishi": "^4.14.6"
},
"devDependencies": {
"koishi": "^4.14.6"
},
"dependencies": {
"@satorijs/server": "^1.0.0-alpha.0"
}
}
5 changes: 5 additions & 0 deletions plugins/server/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# [@koishijs/plugin-adapter-satori](https://koishi.chat/plugins/adapter/satori.html)

Satori protocol adapter for [Koishi](https://koishi.chat).

- [Documentation](https://koishi.chat/plugins/adapter/satori.html)
1 change: 1 addition & 0 deletions plugins/server/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@satorijs/server'
10 changes: 10 additions & 0 deletions plugins/server/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 d63a3d4

Please sign in to comment.