chore: pre publish

This commit is contained in:
xiaojunnuo
2023-05-25 10:33:42 +08:00
parent c553f63127
commit c553b017af
16 changed files with 13 additions and 97 deletions
@@ -3,7 +3,7 @@ import { pluginRegistry } from "./registry";
import { PluginDefine, TaskInputDefine, TaskOutputDefine } from "./api";
import { Decorator } from "../decorator";
import { AUTOWIRE_KEY } from "../decorator";
import "reflect-metadata";
// 提供一个唯一 key
export const PLUGIN_CLASS_KEY = "pipeline:plugin";
@@ -1,4 +1,3 @@
import { ILogger } from "@midwayjs/logger";
import { ITaskPlugin } from "../api";
import { IsTaskPlugin, TaskInput } from "../decorator";
import { Autowire } from "../../decorator";
@@ -17,10 +16,6 @@ export class EchoPlugin implements ITaskPlugin {
})
test?: string;
@Autowire()
// @ts-ignore
logger: ILogger;
onInstance(): Promise<void> {
throw new Error("Method not implemented.");
}