Commit b44cc6b7 authored by nanahira's avatar nanahira

bump

parent 5b5c3314
...@@ -13,10 +13,11 @@ const app = new Context({ ...@@ -13,10 +13,11 @@ const app = new Context({
}); });
// Console and sandbox // Console and sandbox
app.plugin(SandboxPlugin); // app.plugin(SandboxPlugin);
app.plugin(ConsolePlugin, { app.plugin(ConsolePlugin, {
open: false, open: false,
}); });
app.plugin(SandboxPlugin);
// Some services // Some services
// app.plugin(CachePlugin); // app.plugin(CachePlugin);
......
This diff is collapsed.
...@@ -44,17 +44,17 @@ ...@@ -44,17 +44,17 @@
"testEnvironment": "node" "testEnvironment": "node"
}, },
"dependencies": { "dependencies": {
"koishi-target-def": "^2.0.0", "koishi-target-def": "^2.1.1",
"koishi-thirdeye": "^11.0.12", "koishi-thirdeye": "^11.1.0",
"lodash": "^4.17.21" "lodash": "^4.17.21"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.8.7" "koishi": "^4.9.1"
}, },
"devDependencies": { "devDependencies": {
"@koishijs/plugin-console": "^4.1.1", "@koishijs/plugin-console": "^4.5.4",
"@koishijs/plugin-database-memory": "^1.4.1", "@koishijs/plugin-database-memory": "^1.5.0",
"@koishijs/plugin-sandbox": "^2.0.1", "@koishijs/plugin-sandbox": "^2.2.9",
"@types/jest": "^27.4.1", "@types/jest": "^27.4.1",
"@types/lodash": "^4.14.180", "@types/lodash": "^4.14.180",
"@types/node": "^17.0.21", "@types/node": "^17.0.21",
......
...@@ -39,9 +39,10 @@ export class Instance extends StarterPlugin(InstanceConfig) { ...@@ -39,9 +39,10 @@ export class Instance extends StarterPlugin(InstanceConfig) {
} }
@DefinePlugin() @DefinePlugin()
export default class AlertmanagerPlugin export default class AlertmanagerPlugin extends MultiInstancePlugin(
extends MultiInstancePlugin(Instance, AlertmanagerPluginConfig) Instance,
{ AlertmanagerPluginConfig,
) {
@Inject(true) @Inject(true)
private bots: Bot[]; private bots: Bot[];
......
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