Commit 88bcb972 authored by nanahira's avatar nanahira

fix schema missing

parent 25ed237d
import { App, segment } from 'koishi';
import TargetPlugin from '../dist';
import TargetPlugin from '../src';
import * as Help from '@koishijs/plugin-help';
import ExtrasInDev from './extras';
import fs from 'fs';
......
......@@ -28,6 +28,7 @@
"prettier": "^2.8.1",
"raven": "^2.6.4",
"raw-loader": "^4.0.2",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
......
......@@ -6,7 +6,7 @@
"types": "dist/src/index.d.ts",
"scripts": {
"lint": "eslint --fix .",
"build": "webpack",
"build": "rimraf dist && tsc",
"start": "ts-node ./dev",
"test": "jest --passWithNoTests"
},
......@@ -68,6 +68,7 @@
"prettier": "^2.8.1",
"raven": "^2.6.4",
"raw-loader": "^4.0.2",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
......
......@@ -3,6 +3,7 @@ import {
DefinePlugin,
InjectLogger,
PluginDef,
PluginSchema,
RegisterSchema,
Reusable,
SchemaProperty,
......@@ -45,6 +46,7 @@ export class WechatyBotConfig {
}
@Reusable()
@PluginSchema(WechatyBotConfig)
@DefinePlugin()
export default class WechatyBot extends Bot<Partial<WechatyBotConfig>> {
internal: WechatyInstance;
......
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