@novastorm-ai/cli 0.0.9 → 0.1.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/bin/nova.js
CHANGED
|
@@ -916,6 +916,15 @@ async function startCommand() {
|
|
|
916
916
|
const devServer = new DevServerRunner();
|
|
917
917
|
const proxyServer = new ProxyServer();
|
|
918
918
|
const wsServer = new WebSocketServer();
|
|
919
|
+
let earlyExit = true;
|
|
920
|
+
process.on("SIGINT", () => {
|
|
921
|
+
if (earlyExit) {
|
|
922
|
+
console.log(chalk6.dim("\nShutting down..."));
|
|
923
|
+
devServer.kill().catch(() => {
|
|
924
|
+
});
|
|
925
|
+
process.exit(0);
|
|
926
|
+
}
|
|
927
|
+
});
|
|
919
928
|
const licenseChecker = new LicenseChecker();
|
|
920
929
|
const indexer = new ProjectIndexer();
|
|
921
930
|
const logger = new NovaLogger();
|
|
@@ -955,7 +964,7 @@ async function startCommand() {
|
|
|
955
964
|
projectHash = createHash2("sha256").update(cwd).digest("hex");
|
|
956
965
|
}
|
|
957
966
|
const telemetry = new Telemetry();
|
|
958
|
-
const cliPkg = await import("./package-
|
|
967
|
+
const cliPkg = await import("./package-GXN6NQIN.js").catch(
|
|
959
968
|
() => ({ default: { version: "0.0.1" } })
|
|
960
969
|
);
|
|
961
970
|
telemetry.send({
|
|
@@ -1537,6 +1546,7 @@ Dev server error: ${error}`));
|
|
|
1537
1546
|
}
|
|
1538
1547
|
});
|
|
1539
1548
|
chat.start();
|
|
1549
|
+
earlyExit = false;
|
|
1540
1550
|
process.on("SIGINT", () => {
|
|
1541
1551
|
shutdown().catch(() => process.exit(1));
|
|
1542
1552
|
});
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.0
|
|
6
|
+
"version": "0.1.0",
|
|
7
7
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "dist/index.js",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"tsup": "^8.4.0",
|
|
37
37
|
"typescript": "^5.7.0",
|
|
38
38
|
"@novastorm-ai/core": "0.0.1",
|
|
39
|
-
"@novastorm-ai/
|
|
40
|
-
"@novastorm-ai/
|
|
39
|
+
"@novastorm-ai/licensing": "0.0.1",
|
|
40
|
+
"@novastorm-ai/proxy": "0.0.1"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "tsup",
|