@kubb/cli 4.21.1 → 4.21.2
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-CQPvBYQM.js → generate-DgWO-YRb.js} +4 -4
- package/dist/{generate-CQPvBYQM.js.map → generate-DgWO-YRb.js.map} +1 -1
- package/dist/{generate-ZQmGWQph.cjs → generate-R5HtGqSp.cjs} +4 -4
- package/dist/{generate-ZQmGWQph.cjs.map → generate-R5HtGqSp.cjs.map} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/dist/{init-BwAMwufQ.cjs → init-B7j_UJk9.cjs} +2 -2
- package/dist/{init-BwAMwufQ.cjs.map → init-B7j_UJk9.cjs.map} +1 -1
- package/dist/{init-alYt055j.js → init-C9XEA7L6.js} +2 -2
- package/dist/{init-alYt055j.js.map → init-C9XEA7L6.js.map} +1 -1
- package/dist/{package-DlWy5In7.cjs → package-C1biCSPI.cjs} +2 -2
- package/dist/package-C1biCSPI.cjs.map +1 -0
- package/dist/package-DRskcFXO.js +6 -0
- package/dist/package-DRskcFXO.js.map +1 -0
- package/package.json +4 -4
- package/src/utils/streamServer.ts +2 -2
- package/dist/package-CtmFDRp6.js +0 -6
- package/dist/package-CtmFDRp6.js.map +0 -1
- package/dist/package-DlWy5In7.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-C1_xRkKa.cjs');
|
|
2
|
-
const require_package = require('./package-
|
|
2
|
+
const require_package = require('./package-C1biCSPI.cjs');
|
|
3
3
|
let citty = require("citty");
|
|
4
4
|
let node_path = require("node:path");
|
|
5
5
|
node_path = require_chunk.__toESM(node_path);
|
|
@@ -1643,7 +1643,7 @@ async function startStreamServer({ port, host, configPath, config, input, args }
|
|
|
1643
1643
|
res.end();
|
|
1644
1644
|
return;
|
|
1645
1645
|
}
|
|
1646
|
-
if (req.url === "/health" && req.method === "GET") {
|
|
1646
|
+
if (req.url === "/api/health" && req.method === "GET") {
|
|
1647
1647
|
res.writeHead(200, { "Content-Type": "application/json" });
|
|
1648
1648
|
const body = {
|
|
1649
1649
|
status: "ok",
|
|
@@ -1699,7 +1699,7 @@ async function startStreamServer({ port, host, configPath, config, input, args }
|
|
|
1699
1699
|
_clack_prompts.log.info(picocolors.default.dim(`Config: ${node_path.default.relative(node_process.default.cwd(), configPath)}`));
|
|
1700
1700
|
_clack_prompts.log.info(picocolors.default.dim(`Connect: ${serverUrl}/api/info`));
|
|
1701
1701
|
_clack_prompts.log.info(picocolors.default.dim(`Stream: ${serverUrl}/api/stream`));
|
|
1702
|
-
_clack_prompts.log.info(picocolors.default.dim(`Health: ${serverUrl}/health`));
|
|
1702
|
+
_clack_prompts.log.info(picocolors.default.dim(`Health: ${serverUrl}/api/health`));
|
|
1703
1703
|
_clack_prompts.log.step(picocolors.default.yellow("Waiting for requests... (Press Ctrl+C to stop)"));
|
|
1704
1704
|
});
|
|
1705
1705
|
node_process.default.on("SIGINT", () => {
|
|
@@ -1897,4 +1897,4 @@ var generate_default = command;
|
|
|
1897
1897
|
|
|
1898
1898
|
//#endregion
|
|
1899
1899
|
exports.default = generate_default;
|
|
1900
|
-
//# sourceMappingURL=generate-
|
|
1900
|
+
//# sourceMappingURL=generate-R5HtGqSp.cjs.map
|