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
@@ -4,11 +4,11 @@ import * as previewConfig from './config/config.preview';
import * as defaultConfig from './config/config.default';
import { Configuration, App } from '@midwayjs/decorator';
import * as koa from '@midwayjs/koa';
import orm from '@midwayjs/typeorm';
import cache from '@midwayjs/cache';
import * as orm from '@midwayjs/typeorm';
import * as cache from '@midwayjs/cache';
import cors from '@koa/cors';
import { join } from 'path';
import flyway from 'midway-flyway-js';
import * as flyway from 'midway-flyway-js';
import { ReportMiddleware } from './middleware/report';
import { GlobalExceptionMiddleware } from './middleware/global-exception';
import { PreviewMiddleware } from './middleware/preview';
@@ -1,6 +1,6 @@
// src/index.ts
import '@certd/plugin-all';
export { PipelineConfiguration as Configuration } from '@certd/pipeline';
// export { PipelineConfiguration as Configuration } from '@certd/pipeline';
// export * from './controller/user';
// export * from './controller/api';
// export * from './service/user';
@@ -1,27 +0,0 @@
import { ILogger } from "@midwayjs/logger";
import { ITaskPlugin,Autowire, IsTaskPlugin, TaskInput } from "@certd/pipeline";
@IsTaskPlugin({
name: "EchoPlugin",
title: "测试插件",
desc: "test",
})
export class EchoPlugin implements ITaskPlugin {
@TaskInput({
title: "测试属性",
component: {
name: "text",
},
})
test?: string;
@Autowire()
// @ts-ignore
logger: ILogger;
async onInstance(){}
async execute(): Promise<void> {
return Promise.resolve(undefined);
}
}