midsomar 0.1.13 → 0.1.14
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/index.js +1 -6
- package/package.json +1 -1
- package/scripts/postinstall.js +3 -2
package/dist/index.js
CHANGED
|
@@ -59,12 +59,7 @@ async function cmdWeb(args) {
|
|
|
59
59
|
hostname: host,
|
|
60
60
|
});
|
|
61
61
|
const url = `http://${host}:${ui.port}`;
|
|
62
|
-
process.stdout.write(
|
|
63
|
-
─────────────────────────────────────
|
|
64
|
-
midsomar ready at ${url}
|
|
65
|
-
─────────────────────────────────────
|
|
66
|
-
Next: open ${url} in your browser
|
|
67
|
-
`);
|
|
62
|
+
process.stdout.write(`midsomar ready at ${url}\n`);
|
|
68
63
|
const { default: open } = await import("open");
|
|
69
64
|
open(url).catch(() => { });
|
|
70
65
|
process.on("SIGINT", () => { engine.kill(); ui.close(); process.exit(0); });
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
const msg = `
|
|
2
2
|
__ ___ ___ ___ __ _ ___ __ _ _ __ ___
|
|
3
3
|
/ _|/ __/ __|/ _ \\ / _\` | / _ \\ / _\` || '_ \` _ \\
|
|
4
4
|
\\__ \\__ \\__ \\ (_) | (_| || (_) | (_| || | | | | |
|
|
@@ -16,4 +16,5 @@ console.log(`
|
|
|
16
16
|
|
|
17
17
|
Report issues:
|
|
18
18
|
https://github.com/anomalyco/opencode/issues
|
|
19
|
-
`
|
|
19
|
+
`
|
|
20
|
+
process.stderr.write(msg)
|