@plasmicapp/nextjs-app-router 1.0.10 → 1.0.11
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.
|
@@ -7599,9 +7599,7 @@ async function main() {
|
|
|
7599
7599
|
});
|
|
7600
7600
|
const killDevServer = () => {
|
|
7601
7601
|
devProcess.kill("SIGKILL");
|
|
7602
|
-
fkill(`:${port}`, { force: true }).
|
|
7603
|
-
import_process.default.exit(commandProcess.exitCode ?? void 0);
|
|
7604
|
-
}).catch((err) => {
|
|
7602
|
+
return fkill(`:${port}`, { force: true }).catch((err) => {
|
|
7605
7603
|
console.error(`Plasmic: Failed to kill dev server: ${err}`);
|
|
7606
7604
|
});
|
|
7607
7605
|
};
|
|
@@ -7618,11 +7616,15 @@ async function main() {
|
|
|
7618
7616
|
commandProcess.stderr?.pipe(import_process.default.stderr);
|
|
7619
7617
|
commandProcess.on("error", (err) => {
|
|
7620
7618
|
console.error(`Plasmic: Command error: ${err}`);
|
|
7621
|
-
killDevServer()
|
|
7619
|
+
killDevServer().then(() => {
|
|
7620
|
+
import_process.default.exit(commandProcess.exitCode ?? void 0);
|
|
7621
|
+
});
|
|
7622
7622
|
});
|
|
7623
7623
|
commandProcess.on("exit", () => {
|
|
7624
7624
|
console.log(`Plasmic: Command finished; killing prepass dev server...`);
|
|
7625
|
-
killDevServer()
|
|
7625
|
+
killDevServer().then(() => {
|
|
7626
|
+
import_process.default.exit(void 0);
|
|
7627
|
+
});
|
|
7626
7628
|
});
|
|
7627
7629
|
}
|
|
7628
7630
|
if (require.main === module) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/nextjs-app-router",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"react": "^18.2.0",
|
|
73
73
|
"typescript": "^5.2.2"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "ec1ec1085b5ea8cdaf8eea3b901340c32656fc0d"
|
|
76
76
|
}
|