@certd/pipeline 1.21.2 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/{d/access → access}/api.d.ts +2 -2
- package/dist/access/api.js +2 -0
- package/dist/{d/access → access}/decorator.d.ts +1 -1
- package/dist/access/decorator.js +34 -0
- package/dist/access/index.d.ts +3 -0
- package/dist/access/index.js +4 -0
- package/dist/{d/access → access}/registry.d.ts +1 -1
- package/dist/access/registry.js +4 -0
- package/dist/{d/context → context}/index.d.ts +1 -1
- package/dist/context/index.js +2 -0
- package/dist/{d/core → core}/context.d.ts +1 -1
- package/dist/core/context.js +66 -0
- package/dist/{d/core → core}/executor.d.ts +8 -8
- package/dist/core/executor.js +273 -0
- package/dist/{d/core → core}/file-store.d.ts +6 -1
- package/dist/core/file-store.js +41 -0
- package/dist/core/index.d.ts +5 -0
- package/dist/core/index.js +6 -0
- package/dist/{d/core → core}/run-history.d.ts +1 -1
- package/dist/core/run-history.js +143 -0
- package/dist/core/storage.js +120 -0
- package/dist/d.ts/fast-crud.js +2 -0
- package/dist/d.ts/index.js +3 -0
- package/dist/d.ts/pipeline.d.ts +123 -0
- package/dist/d.ts/pipeline.js +31 -0
- package/dist/decorator/common.js +12 -0
- package/dist/decorator/index.d.ts +2 -0
- package/dist/decorator/index.js +3 -0
- package/dist/decorator/utils.js +43 -0
- package/dist/dt/fast-crud.d.ts +107 -0
- package/dist/dt/fast-crud.js +2 -0
- package/dist/dt/index.d.ts +2 -0
- package/dist/dt/index.js +3 -0
- package/dist/dt/pipeline.js +31 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +11 -0
- package/dist/{d/plugin → plugin}/api.d.ts +7 -6
- package/dist/plugin/api.js +54 -0
- package/dist/{d/plugin → plugin}/decorator.d.ts +1 -1
- package/dist/plugin/decorator.js +74 -0
- package/dist/plugin/index.d.ts +3 -0
- package/dist/plugin/index.js +4 -0
- package/dist/plugin/registry.d.ts +3 -0
- package/dist/plugin/registry.js +3 -0
- package/dist/{d/plugin → plugin}/test/echo-plugin.d.ts +1 -1
- package/dist/plugin/test/echo-plugin.js +37 -0
- package/dist/registry/index.d.ts +1 -0
- package/dist/registry/index.js +2 -0
- package/dist/registry/registry.js +46 -0
- package/dist/service/email.js +2 -0
- package/dist/service/index.d.ts +1 -0
- package/dist/service/index.js +2 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.js +11 -0
- package/dist/utils/util.file.js +15 -0
- package/dist/utils/util.log.js +32 -0
- package/dist/utils/util.promise.d.ts +2 -0
- package/dist/utils/util.promise.js +26 -0
- package/dist/utils/util.request.js +56 -0
- package/dist/utils/util.shell.d.ts +23 -0
- package/dist/utils/util.shell.js +136 -0
- package/dist/utils/util.sleep.js +8 -0
- package/dist/utils/util.sp.d.ts +22 -0
- package/dist/utils/util.sp.js +91 -0
- package/fix-esm-import-paths.js +96 -0
- package/package.json +15 -12
- package/tsconfig.json +32 -14
- package/tsconfig.tsbuildinfo +1 -0
- package/dist/bundle.js +0 -23
- package/dist/d/access/index.d.ts +0 -3
- package/dist/d/core/index.d.ts +0 -5
- package/dist/d/decorator/index.d.ts +0 -2
- package/dist/d/index.d.ts +0 -11
- package/dist/d/plugin/index.d.ts +0 -3
- package/dist/d/plugin/registry.d.ts +0 -3
- package/dist/d/registry/index.d.ts +0 -1
- package/dist/d/service/index.d.ts +0 -1
- package/dist/d/utils/index.d.ts +0 -7
- package/dist/d/utils/util.promise.d.ts +0 -1
- package/rollup.config.js +0 -43
- package/vite.config.js +0 -59
- /package/dist/{d/core → core}/storage.d.ts +0 -0
- /package/dist/{d/d.ts → d.ts}/fast-crud.d.ts +0 -0
- /package/dist/{d/d.ts → d.ts}/index.d.ts +0 -0
- /package/dist/{d/decorator → decorator}/common.d.ts +0 -0
- /package/dist/{d/decorator → decorator}/utils.d.ts +0 -0
- /package/dist/{d/d.ts → dt}/pipeline.d.ts +0 -0
- /package/dist/{d/registry → registry}/registry.d.ts +0 -0
- /package/dist/{d/service → service}/email.d.ts +0 -0
- /package/dist/{d/utils → utils}/util.file.d.ts +0 -0
- /package/dist/{d/utils → utils}/util.log.d.ts +0 -0
- /package/dist/{d/utils → utils}/util.request.d.ts +0 -0
- /package/dist/{d/utils → utils}/util.sleep.d.ts +0 -0
package/dist/d/access/index.d.ts
DELETED
package/dist/d/core/index.d.ts
DELETED
package/dist/d/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import "util";
|
|
3
|
-
export * from "./core";
|
|
4
|
-
export * from "./d.ts";
|
|
5
|
-
export * from "./access";
|
|
6
|
-
export * from "./registry";
|
|
7
|
-
export * from "./plugin";
|
|
8
|
-
export * from "./utils";
|
|
9
|
-
export * from "./context";
|
|
10
|
-
export * from "./decorator";
|
|
11
|
-
export * from "./service";
|
package/dist/d/plugin/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./registry";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./email";
|
package/dist/d/utils/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function TimeoutPromise(callback: () => Promise<void>, ms?: number): Promise<unknown>;
|
package/rollup.config.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
const resolve = require("@rollup/plugin-node-resolve");
|
|
2
|
-
const commonjs = require("@rollup/plugin-commonjs");
|
|
3
|
-
//const Typescript = require("rollup-plugin-typescript2");
|
|
4
|
-
const Typescript = require("@rollup/plugin-typescript");
|
|
5
|
-
const json = require("@rollup/plugin-json");
|
|
6
|
-
const terser = require("@rollup/plugin-terser");
|
|
7
|
-
module.exports = {
|
|
8
|
-
input: "src/index.ts",
|
|
9
|
-
output: {
|
|
10
|
-
file: "dist/bundle.js",
|
|
11
|
-
format: "cjs",
|
|
12
|
-
},
|
|
13
|
-
plugins: [
|
|
14
|
-
// 解析第三方依赖
|
|
15
|
-
resolve(),
|
|
16
|
-
// 识别 commonjs 模式第三方依赖
|
|
17
|
-
commonjs(),
|
|
18
|
-
Typescript({
|
|
19
|
-
target: "esnext",
|
|
20
|
-
rootDir: "src",
|
|
21
|
-
declaration: true,
|
|
22
|
-
declarationDir: "dist/d",
|
|
23
|
-
exclude: ["./node_modules/**", "./src/**/*.vue"],
|
|
24
|
-
allowSyntheticDefaultImports: true,
|
|
25
|
-
}),
|
|
26
|
-
json(),
|
|
27
|
-
terser(),
|
|
28
|
-
],
|
|
29
|
-
external: [
|
|
30
|
-
"vue",
|
|
31
|
-
"lodash",
|
|
32
|
-
"dayjs",
|
|
33
|
-
"@certd/acme-client",
|
|
34
|
-
"@certd/pipeline",
|
|
35
|
-
"@certd/plugin-cert",
|
|
36
|
-
"@certd/plugin-aliyun",
|
|
37
|
-
"@certd/plugin-tencent",
|
|
38
|
-
"@certd/plugin-huawei",
|
|
39
|
-
"@certd/plugin-host",
|
|
40
|
-
"@certd/plugin-tencent",
|
|
41
|
-
"@certd/plugin-util",
|
|
42
|
-
],
|
|
43
|
-
};
|
package/vite.config.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "vite";
|
|
2
|
-
import visualizer from "rollup-plugin-visualizer";
|
|
3
|
-
import typescript from "@rollup/plugin-typescript";
|
|
4
|
-
// https://vitejs.dev/config/
|
|
5
|
-
export default defineConfig({
|
|
6
|
-
plugins: [],
|
|
7
|
-
build: {
|
|
8
|
-
target: "es2015",
|
|
9
|
-
lib: {
|
|
10
|
-
entry: "src/index.ts",
|
|
11
|
-
name: "CertdPipeline",
|
|
12
|
-
},
|
|
13
|
-
rollupOptions: {
|
|
14
|
-
plugins: [
|
|
15
|
-
visualizer(),
|
|
16
|
-
typescript({
|
|
17
|
-
target: "es2015",
|
|
18
|
-
rootDir: "src",
|
|
19
|
-
declaration: true,
|
|
20
|
-
declarationDir: "dist/d",
|
|
21
|
-
exclude: ["./node_modules/**", "./src/**/*.vue"],
|
|
22
|
-
allowSyntheticDefaultImports: true,
|
|
23
|
-
}),
|
|
24
|
-
],
|
|
25
|
-
external: [
|
|
26
|
-
"vue",
|
|
27
|
-
"lodash",
|
|
28
|
-
"dayjs",
|
|
29
|
-
"@certd/acme-client",
|
|
30
|
-
"@certd/plugin-cert",
|
|
31
|
-
"@certd/plugin-aliyun",
|
|
32
|
-
"@certd/plugin-tencent",
|
|
33
|
-
"@certd/plugin-huawei",
|
|
34
|
-
"@certd/plugin-host",
|
|
35
|
-
"@certd/plugin-tencent",
|
|
36
|
-
"@certd/plugin-util",
|
|
37
|
-
"log4js",
|
|
38
|
-
"@midwayjs/core",
|
|
39
|
-
"@midwayjs/decorator",
|
|
40
|
-
],
|
|
41
|
-
output: {
|
|
42
|
-
globals: {
|
|
43
|
-
vue: "Vue",
|
|
44
|
-
lodash: "_",
|
|
45
|
-
dayjs: "dayjs",
|
|
46
|
-
"@certd/plugin-cert": "CertdPluginCert",
|
|
47
|
-
"@certd/acme-client": "CertdAcmeClient",
|
|
48
|
-
"@certd/plugin-aliyun": "CertdPluginAliyun",
|
|
49
|
-
"@certd/plugin-host": "CertdPluginHost",
|
|
50
|
-
"@certd/plugin-huawei": "CertdPluginHuawei",
|
|
51
|
-
"@certd/plugin-util": "CertdPluginUtil",
|
|
52
|
-
log4js: "log4js",
|
|
53
|
-
"@midwayjs/core": "MidwayjsCore",
|
|
54
|
-
"@midwayjs/decorator": "MidwayjsDecorator",
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|