mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
refactor: for test
This commit is contained in:
@@ -19,10 +19,11 @@
|
||||
"@certd/plugin-aliyun": "workspace:^0.3.0",
|
||||
"@certd/plugin-tencent": "workspace:^0.3.0",
|
||||
"@certd/plugin-host": "workspace:^0.3.0",
|
||||
"@certd/plugin-cert": "workspace:0.3.0"
|
||||
"@certd/plugin-cert": "workspace:^0.3.0",
|
||||
"@certd/plugin-huawei": "workspace:^0.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@certd/pipeline": "workspace:0.3.0",
|
||||
"@certd/pipeline": "workspace:^0.3.0",
|
||||
"log4js": "^6.7.1",
|
||||
"@types/lodash": "^4.14.186",
|
||||
"vue-tsc": "^0.38.9",
|
||||
|
||||
@@ -1,4 +1,23 @@
|
||||
import * as cert from "@certd/plugin-cert";
|
||||
import * as aliyun from "@certd/plugin-aliyun";
|
||||
import * as tencent from "@certd/plugin-tencent";
|
||||
import * as host from "@certd/plugin-host";
|
||||
import * as huawei from "@certd/plugin-huawei";
|
||||
|
||||
function register(exports: any) {
|
||||
for (const key in exports) {
|
||||
const value = exports[key];
|
||||
console.log("value");
|
||||
}
|
||||
}
|
||||
register(cert);
|
||||
register(aliyun);
|
||||
register(tencent);
|
||||
register(host);
|
||||
register(huawei);
|
||||
|
||||
export * from "@certd/plugin-cert";
|
||||
export * from "@certd/plugin-aliyun";
|
||||
export * from "@certd/plugin-tencent";
|
||||
export * from "@certd/plugin-host";
|
||||
export * from "@certd/plugin-huawei";
|
||||
|
||||
@@ -3,7 +3,7 @@ import "mocha";
|
||||
import { Executor, RunHistory, FileStorage } from "@certd/pipeline";
|
||||
import { pipeline } from "./pipeline.define";
|
||||
import { AccessServiceTest } from "./access-service-test";
|
||||
import * as all from "../../src";
|
||||
import "../../src";
|
||||
describe("pipeline", function () {
|
||||
it("#pipeline", async function () {
|
||||
this.timeout(120000);
|
||||
|
||||
@@ -8,13 +8,13 @@ export default defineConfig({
|
||||
name: "pipeline",
|
||||
},
|
||||
rollupOptions: {
|
||||
external: ["vue", "lodash-es", "dayjs", "@fast-crud/fast-crud"],
|
||||
external: ["vue", "lodash", "dayjs", "@fast-crud/fast-crud"],
|
||||
output: {
|
||||
// Provide global variables to use in the UMD build
|
||||
// for externalized deps
|
||||
globals: {
|
||||
vue: "Vue",
|
||||
"lodash-es": "_",
|
||||
"lodash": "_",
|
||||
dayjs: "dayjs",
|
||||
"@fast-crud/fast-crud": "FastCrud",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user