@lsby/net-core 0.0.5 → 0.0.6
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/dist/bin/gen-test/bin.cjs +3 -2
- package/dist/bin/gen-test/index.cjs +3 -2
- package/dist/bin/gen-type/bin.cjs +3 -2
- package/dist/bin/gen-type/index.cjs +3 -2
- package/dist/cjs/bin/gen-test/bin.cjs +3 -2
- package/dist/cjs/bin/gen-test/index.cjs +3 -2
- package/dist/cjs/bin/gen-type/bin.cjs +3 -2
- package/dist/cjs/bin/gen-type/index.cjs +3 -2
- package/dist/esm/bin/gen-test/bin.js +1 -1
- package/dist/esm/bin/gen-test/index.js +1 -1
- package/dist/esm/bin/gen-type/bin.js +1 -1
- package/dist/esm/bin/gen-type/index.js +1 -1
- package/dist/esm/{chunk-DB7BWSXE.js → chunk-A44XPZUN.js} +3 -2
- package/dist/esm/{chunk-D2G3YVNR.js → chunk-U4JOS4H6.js} +3 -2
- package/dist/esm/index.js +3 -3
- package/package.json +1 -1
|
@@ -203077,8 +203077,9 @@ function main(tsconfigPath, interfaceFolderPath, outFilePath, filter) {
|
|
|
203077
203077
|
"it('exit', async () => process.exit(0))",
|
|
203078
203078
|
""
|
|
203079
203079
|
].join("\n");
|
|
203080
|
-
|
|
203081
|
-
|
|
203080
|
+
var outDir = import_node_path.default.dirname(outFilePath);
|
|
203081
|
+
if (!(0, import_node_fs.existsSync)(outDir)) {
|
|
203082
|
+
(0, import_node_fs.mkdirSync)(outDir, { recursive: true });
|
|
203082
203083
|
}
|
|
203083
203084
|
(0, import_node_fs.writeFileSync)(outFilePath, finalTestFile);
|
|
203084
203085
|
}).run();
|
|
@@ -203082,8 +203082,9 @@ function main(tsconfigPath, interfaceFolderPath, outFilePath, filter) {
|
|
|
203082
203082
|
"it('exit', async () => process.exit(0))",
|
|
203083
203083
|
""
|
|
203084
203084
|
].join("\n");
|
|
203085
|
-
|
|
203086
|
-
|
|
203085
|
+
var outDir = import_node_path.default.dirname(outFilePath);
|
|
203086
|
+
if (!(0, import_node_fs.existsSync)(outDir)) {
|
|
203087
|
+
(0, import_node_fs.mkdirSync)(outDir, { recursive: true });
|
|
203087
203088
|
}
|
|
203088
203089
|
(0, import_node_fs.writeFileSync)(outFilePath, finalTestFile);
|
|
203089
203090
|
}).run();
|
|
@@ -203109,8 +203109,9 @@ function main(tsconfigPath, apiFolderPath, outputPath) {
|
|
|
203109
203109
|
}
|
|
203110
203110
|
await log.debug("\u6210\u529F\u5904\u7406\u6240\u6709\u63A5\u53E3...").run();
|
|
203111
203111
|
const outputPathAbs = import_node_path.default.resolve(outputPath);
|
|
203112
|
-
|
|
203113
|
-
|
|
203112
|
+
var outDir = import_node_path.default.dirname(outputPathAbs);
|
|
203113
|
+
if (!(0, import_node_fs.existsSync)(outDir)) {
|
|
203114
|
+
(0, import_node_fs.mkdirSync)(outDir, { recursive: true });
|
|
203114
203115
|
}
|
|
203115
203116
|
import_node_fs.default.writeFileSync(outputPathAbs, `export type InterfaceType = [${result.join(",")}]`);
|
|
203116
203117
|
await log.debug("\u751F\u6210\u6210\u529F\uFF1A%o", outputPathAbs).run();
|
|
@@ -203114,8 +203114,9 @@ function main(tsconfigPath, apiFolderPath, outputPath) {
|
|
|
203114
203114
|
}
|
|
203115
203115
|
await log.debug("\u6210\u529F\u5904\u7406\u6240\u6709\u63A5\u53E3...").run();
|
|
203116
203116
|
const outputPathAbs = import_node_path.default.resolve(outputPath);
|
|
203117
|
-
|
|
203118
|
-
|
|
203117
|
+
var outDir = import_node_path.default.dirname(outputPathAbs);
|
|
203118
|
+
if (!(0, import_node_fs.existsSync)(outDir)) {
|
|
203119
|
+
(0, import_node_fs.mkdirSync)(outDir, { recursive: true });
|
|
203119
203120
|
}
|
|
203120
203121
|
import_node_fs.default.writeFileSync(outputPathAbs, `export type InterfaceType = [${result.join(",")}]`);
|
|
203121
203122
|
await log.debug("\u751F\u6210\u6210\u529F\uFF1A%o", outputPathAbs).run();
|
|
@@ -203077,8 +203077,9 @@ function main(tsconfigPath, interfaceFolderPath, outFilePath, filter) {
|
|
|
203077
203077
|
"it('exit', async () => process.exit(0))",
|
|
203078
203078
|
""
|
|
203079
203079
|
].join("\n");
|
|
203080
|
-
|
|
203081
|
-
|
|
203080
|
+
var outDir = import_node_path.default.dirname(outFilePath);
|
|
203081
|
+
if (!(0, import_node_fs.existsSync)(outDir)) {
|
|
203082
|
+
(0, import_node_fs.mkdirSync)(outDir, { recursive: true });
|
|
203082
203083
|
}
|
|
203083
203084
|
(0, import_node_fs.writeFileSync)(outFilePath, finalTestFile);
|
|
203084
203085
|
}).run();
|
|
@@ -203082,8 +203082,9 @@ function main(tsconfigPath, interfaceFolderPath, outFilePath, filter) {
|
|
|
203082
203082
|
"it('exit', async () => process.exit(0))",
|
|
203083
203083
|
""
|
|
203084
203084
|
].join("\n");
|
|
203085
|
-
|
|
203086
|
-
|
|
203085
|
+
var outDir = import_node_path.default.dirname(outFilePath);
|
|
203086
|
+
if (!(0, import_node_fs.existsSync)(outDir)) {
|
|
203087
|
+
(0, import_node_fs.mkdirSync)(outDir, { recursive: true });
|
|
203087
203088
|
}
|
|
203088
203089
|
(0, import_node_fs.writeFileSync)(outFilePath, finalTestFile);
|
|
203089
203090
|
}).run();
|
|
@@ -203109,8 +203109,9 @@ function main(tsconfigPath, apiFolderPath, outputPath) {
|
|
|
203109
203109
|
}
|
|
203110
203110
|
await log.debug("\u6210\u529F\u5904\u7406\u6240\u6709\u63A5\u53E3...").run();
|
|
203111
203111
|
const outputPathAbs = import_node_path.default.resolve(outputPath);
|
|
203112
|
-
|
|
203113
|
-
|
|
203112
|
+
var outDir = import_node_path.default.dirname(outputPathAbs);
|
|
203113
|
+
if (!(0, import_node_fs.existsSync)(outDir)) {
|
|
203114
|
+
(0, import_node_fs.mkdirSync)(outDir, { recursive: true });
|
|
203114
203115
|
}
|
|
203115
203116
|
import_node_fs.default.writeFileSync(outputPathAbs, `export type InterfaceType = [${result.join(",")}]`);
|
|
203116
203117
|
await log.debug("\u751F\u6210\u6210\u529F\uFF1A%o", outputPathAbs).run();
|
|
@@ -203114,8 +203114,9 @@ function main(tsconfigPath, apiFolderPath, outputPath) {
|
|
|
203114
203114
|
}
|
|
203115
203115
|
await log.debug("\u6210\u529F\u5904\u7406\u6240\u6709\u63A5\u53E3...").run();
|
|
203116
203116
|
const outputPathAbs = import_node_path.default.resolve(outputPath);
|
|
203117
|
-
|
|
203118
|
-
|
|
203117
|
+
var outDir = import_node_path.default.dirname(outputPathAbs);
|
|
203118
|
+
if (!(0, import_node_fs.existsSync)(outDir)) {
|
|
203119
|
+
(0, import_node_fs.mkdirSync)(outDir, { recursive: true });
|
|
203119
203120
|
}
|
|
203120
203121
|
import_node_fs.default.writeFileSync(outputPathAbs, `export type InterfaceType = [${result.join(",")}]`);
|
|
203121
203122
|
await log.debug("\u751F\u6210\u6210\u529F\uFF1A%o", outputPathAbs).run();
|
|
@@ -88,8 +88,9 @@ function main(tsconfigPath, apiFolderPath, outputPath) {
|
|
|
88
88
|
}
|
|
89
89
|
await log.debug("\u6210\u529F\u5904\u7406\u6240\u6709\u63A5\u53E3...").run();
|
|
90
90
|
const outputPathAbs = path.resolve(outputPath);
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
var outDir = path.dirname(outputPathAbs);
|
|
92
|
+
if (!existsSync(outDir)) {
|
|
93
|
+
mkdirSync(outDir, { recursive: true });
|
|
93
94
|
}
|
|
94
95
|
fs.writeFileSync(outputPathAbs, `export type InterfaceType = [${result.join(",")}]`);
|
|
95
96
|
await log.debug("\u751F\u6210\u6210\u529F\uFF1A%o", outputPathAbs).run();
|
|
@@ -81,8 +81,9 @@ function main(tsconfigPath, interfaceFolderPath, outFilePath, filter) {
|
|
|
81
81
|
"it('exit', async () => process.exit(0))",
|
|
82
82
|
""
|
|
83
83
|
].join("\n");
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
var outDir = path.dirname(outFilePath);
|
|
85
|
+
if (!existsSync(outDir)) {
|
|
86
|
+
mkdirSync(outDir, { recursive: true });
|
|
86
87
|
}
|
|
87
88
|
writeFileSync(outFilePath, finalTestFile);
|
|
88
89
|
}).run();
|
package/dist/esm/index.js
CHANGED
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
错误JSON结果,
|
|
10
10
|
错误结果
|
|
11
11
|
} from "./chunk-6MRTDFSR.js";
|
|
12
|
-
import {
|
|
13
|
-
服务器
|
|
14
|
-
} from "./chunk-R4LHKMZP.js";
|
|
15
12
|
import {
|
|
16
13
|
测试
|
|
17
14
|
} from "./chunk-ET2XZBZD.js";
|
|
15
|
+
import {
|
|
16
|
+
服务器
|
|
17
|
+
} from "./chunk-R4LHKMZP.js";
|
|
18
18
|
import {
|
|
19
19
|
接口类型
|
|
20
20
|
} from "./chunk-SF5Z34AP.js";
|