@akanjs/cli 0.9.23 → 0.9.24
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/cjs/index.js +4 -4
- package/esm/index.js +4 -4
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -3775,8 +3775,8 @@ var Start = ({ appName, bcp, fcp, csr, onExit, maxLength = 100 }) => {
|
|
|
3775
3775
|
exit();
|
|
3776
3776
|
process.exit(0);
|
|
3777
3777
|
};
|
|
3778
|
-
process.on("SIGINT", () => {
|
|
3779
|
-
|
|
3778
|
+
process.on("SIGINT", async () => {
|
|
3779
|
+
await destroy();
|
|
3780
3780
|
});
|
|
3781
3781
|
return () => {
|
|
3782
3782
|
void destroy();
|
|
@@ -3993,7 +3993,7 @@ var ApplicationRunner = class {
|
|
|
3993
3993
|
setTimeout(() => (0, import_open.default)("http://localhost:8080/backend/graphql"), 3e3);
|
|
3994
3994
|
return app.dist.spawnSync("node", ["--watch", "main.js"], {
|
|
3995
3995
|
env,
|
|
3996
|
-
stdio: withInk ? ["
|
|
3996
|
+
stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit",
|
|
3997
3997
|
cwd: `${app.dist.cwdPath}/backend`
|
|
3998
3998
|
});
|
|
3999
3999
|
}
|
|
@@ -4041,7 +4041,7 @@ var ApplicationRunner = class {
|
|
|
4041
4041
|
onStart?.();
|
|
4042
4042
|
return app.spawnSync("npx", ["next", "dev", "-p", "4200", ...turbo ? ["--turbo"] : []], {
|
|
4043
4043
|
env,
|
|
4044
|
-
stdio: withInk ? ["
|
|
4044
|
+
stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit"
|
|
4045
4045
|
});
|
|
4046
4046
|
}
|
|
4047
4047
|
async #getViteConfig(app, command, viteConfig = {}) {
|
package/esm/index.js
CHANGED
|
@@ -3757,8 +3757,8 @@ var Start = ({ appName, bcp, fcp, csr, onExit, maxLength = 100 }) => {
|
|
|
3757
3757
|
exit();
|
|
3758
3758
|
process.exit(0);
|
|
3759
3759
|
};
|
|
3760
|
-
process.on("SIGINT", () => {
|
|
3761
|
-
|
|
3760
|
+
process.on("SIGINT", async () => {
|
|
3761
|
+
await destroy();
|
|
3762
3762
|
});
|
|
3763
3763
|
return () => {
|
|
3764
3764
|
void destroy();
|
|
@@ -3975,7 +3975,7 @@ var ApplicationRunner = class {
|
|
|
3975
3975
|
setTimeout(() => openBrowser("http://localhost:8080/backend/graphql"), 3e3);
|
|
3976
3976
|
return app.dist.spawnSync("node", ["--watch", "main.js"], {
|
|
3977
3977
|
env,
|
|
3978
|
-
stdio: withInk ? ["
|
|
3978
|
+
stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit",
|
|
3979
3979
|
cwd: `${app.dist.cwdPath}/backend`
|
|
3980
3980
|
});
|
|
3981
3981
|
}
|
|
@@ -4023,7 +4023,7 @@ var ApplicationRunner = class {
|
|
|
4023
4023
|
onStart?.();
|
|
4024
4024
|
return app.spawnSync("npx", ["next", "dev", "-p", "4200", ...turbo ? ["--turbo"] : []], {
|
|
4025
4025
|
env,
|
|
4026
|
-
stdio: withInk ? ["
|
|
4026
|
+
stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit"
|
|
4027
4027
|
});
|
|
4028
4028
|
}
|
|
4029
4029
|
async #getViteConfig(app, command, viteConfig = {}) {
|