@kubb/cli 4.21.2 → 4.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/dist/{generate-R5HtGqSp.cjs → generate-BJyvkuLI.cjs} +5 -4
- package/dist/{generate-R5HtGqSp.cjs.map → generate-BJyvkuLI.cjs.map} +1 -1
- package/dist/{generate-DgWO-YRb.js → generate-Bjj-OR20.js} +5 -4
- package/dist/{generate-DgWO-YRb.js.map → generate-Bjj-OR20.js.map} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/dist/{init-B7j_UJk9.cjs → init-CxLDdq2k.cjs} +2 -2
- package/dist/{init-B7j_UJk9.cjs.map → init-CxLDdq2k.cjs.map} +1 -1
- package/dist/{init-C9XEA7L6.js → init-D37jPiGV.js} +2 -2
- package/dist/{init-C9XEA7L6.js.map → init-D37jPiGV.js.map} +1 -1
- package/dist/{package-C1biCSPI.cjs → package-Cnl_fuIC.cjs} +2 -2
- package/dist/package-Cnl_fuIC.cjs.map +1 -0
- package/dist/package-Qh9BQXK6.js +6 -0
- package/dist/package-Qh9BQXK6.js.map +1 -0
- package/package.json +4 -4
- package/src/utils/streamServer.ts +5 -2
- package/dist/package-C1biCSPI.cjs.map +0 -1
- package/dist/package-DRskcFXO.js +0 -6
- package/dist/package-DRskcFXO.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-jHaXqnEa.js";
|
|
2
|
-
import { t as version } from "./package-
|
|
2
|
+
import { t as version } from "./package-Qh9BQXK6.js";
|
|
3
3
|
import { defineCommand, showUsage } from "citty";
|
|
4
4
|
import path, { relative, resolve } from "node:path";
|
|
5
5
|
import * as process$2 from "node:process";
|
|
@@ -1713,10 +1713,11 @@ async function handleGenerate(res, config, input, args) {
|
|
|
1713
1713
|
Connection: "keep-alive"
|
|
1714
1714
|
});
|
|
1715
1715
|
function send(type, ...data) {
|
|
1716
|
-
|
|
1716
|
+
const streamEvent = {
|
|
1717
1717
|
type,
|
|
1718
1718
|
data
|
|
1719
|
-
}
|
|
1719
|
+
};
|
|
1720
|
+
res.write(`data: ${JSON.stringify(streamEvent)}\n\n`);
|
|
1720
1721
|
}
|
|
1721
1722
|
await createStreamLogger(res).install(events, { logLevel });
|
|
1722
1723
|
try {
|
|
@@ -1891,4 +1892,4 @@ var generate_default = command;
|
|
|
1891
1892
|
|
|
1892
1893
|
//#endregion
|
|
1893
1894
|
export { generate_default as default };
|
|
1894
|
-
//# sourceMappingURL=generate-
|
|
1895
|
+
//# sourceMappingURL=generate-Bjj-OR20.js.map
|