-
-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(router): support @koishijs/plugin-router-proxy
- Loading branch information
Showing
7 changed files
with
72 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
tsconfig.tsbuildinfo |
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,47 @@ | ||
{ | ||
"name": "@koishijs/plugin-router-proxy", | ||
"description": "Proxy service for Koishi", | ||
"version": "1.0.0", | ||
"main": "lib/index.js", | ||
"module": "lib/index.mjs", | ||
"typings": "lib/index.d.ts", | ||
"files": [ | ||
"lib", | ||
"src" | ||
], | ||
"author": "Shigma <shigma10826@gmail.com>", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/satorijs/satori.git", | ||
"directory": "packages/proxy" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/satorijs/satori/issues" | ||
}, | ||
"homepage": "https://koishi.chat/plugins/develop/proxy.html", | ||
"keywords": [ | ||
"bot", | ||
"adapter", | ||
"protocol", | ||
"chatbot", | ||
"koishi", | ||
"proxy", | ||
"router" | ||
], | ||
"koishi": { | ||
"description": { | ||
"en": "Router Proxy Service", | ||
"zh": "路由代理服务" | ||
} | ||
}, | ||
"peerDependencies": { | ||
"koishi": "^4.15.4" | ||
}, | ||
"devDependencies": { | ||
"koishi": "^4.15.4" | ||
}, | ||
"dependencies": { | ||
"@satorijs/router-proxy": "^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,5 @@ | ||
# [@koishijs/plugin-router-proxy](https://koishi.chat/plugins/develop/router-proxy.html) | ||
|
||
Proxy service for [Koishi](https://koishi.chat). | ||
|
||
- [Documentation](https://koishi.chat/plugins/develop/router-proxy.html) |
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 ProxyService from '@satorijs/router-proxy' | ||
|
||
export default ProxyService | ||
export * from '@satorijs/router-proxy' |
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", | ||
], | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# [@koishijs/plugin-adapter-satori](https://koishi.chat/plugins/adapter/satori.html) | ||
# [@koishijs/plugin-server](https://koishi.chat/plugins/develop/server.html) | ||
|
||
Satori protocol adapter for [Koishi](https://koishi.chat). | ||
Satori server for [Koishi](https://koishi.chat). | ||
|
||
- [Documentation](https://koishi.chat/plugins/adapter/satori.html) | ||
- [Documentation](https://koishi.chat/plugins/develop/server.html) |