echospace 0.1.0-alpha.2 → 0.1.0-alpha.3
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/cli/index.js +9 -7
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -1008,7 +1008,7 @@ async function runInit() {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
1010
|
// src/cli/index.ts
|
|
1011
|
-
var VERSION = "0.1.0-alpha.
|
|
1011
|
+
var VERSION = "0.1.0-alpha.3";
|
|
1012
1012
|
var CONFIG_DIR2 = path5.join(homedir2(), ".echospace");
|
|
1013
1013
|
function loadEnvFile(dir) {
|
|
1014
1014
|
const envPath = path5.join(dir, ".env");
|
|
@@ -1038,13 +1038,15 @@ program.name("echospace").description("The best open-source local prompt debuggi
|
|
|
1038
1038
|
fs3.mkdirSync(CONFIG_DIR2, { recursive: true });
|
|
1039
1039
|
ensureConfig(CONFIG_DIR2);
|
|
1040
1040
|
const port = options.port ? parseInt(options.port, 10) : await getPort({ port: portNumbers(3240, 3249) });
|
|
1041
|
+
const url = `http://localhost:${port}`;
|
|
1041
1042
|
console.log(`
|
|
1042
|
-
\
|
|
1043
|
-
\
|
|
1044
|
-
\
|
|
1045
|
-
\
|
|
1046
|
-
\
|
|
1047
|
-
\
|
|
1043
|
+
\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588
|
|
1044
|
+
\u2588\u2588 \u2588\u2588 EchoSpace v${VERSION}
|
|
1045
|
+
\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588
|
|
1046
|
+
\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 Workspace ${workspaceDir}
|
|
1047
|
+
\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 URL ${url}
|
|
1048
|
+
\u2588\u2588 \u2588\u2588
|
|
1049
|
+
\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588
|
|
1048
1050
|
`);
|
|
1049
1051
|
const isDev = process.env.NODE_ENV !== "production" && import.meta.url.includes("/src/");
|
|
1050
1052
|
startServer({ port, workspaceDir, configDir: CONFIG_DIR2, dev: isDev });
|