Commit 62231004 authored by nanahira's avatar nanahira

migrate to rc1

parent d46f0520
This diff is collapsed.
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
"source-map-support": "^0.5.20" "source-map-support": "^0.5.20"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.0.0-rc.0" "koishi": "^4.0.0-rc.1"
}, },
"devDependencies": { "devDependencies": {
"@types/lodash": "^4.14.175", "@types/lodash": "^4.14.175",
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1", "eslint-plugin-prettier": "^3.4.1",
"koishi": "^4.0.0-rc.0", "koishi": "^4.0.0-rc.1",
"prettier": "^2.4.1", "prettier": "^2.4.1",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"ts-loader": "^9.2.6", "ts-loader": "^9.2.6",
......
...@@ -5,12 +5,6 @@ import { MyPluginConfig } from './config'; ...@@ -5,12 +5,6 @@ import { MyPluginConfig } from './config';
export { MyPluginConfig } from './config'; export { MyPluginConfig } from './config';
export { ChatSession } from './plugin'; export { ChatSession } from './plugin';
declare module 'koishi' {
interface Modules {
thesaurus: typeof import('.');
}
}
export const name = 'thesaurus'; export const name = 'thesaurus';
const plugin = new MyPlugin(); const plugin = new MyPlugin();
export const Config = plugin.schema; export const Config = plugin.schema;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment