dekit-cli 0.4.1 → 0.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dekit-cli",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "description": "A code-first design toolkit for agents and humans — create, preview, and screenshot HTML/CSS designs",
6
6
  "keywords": [
@@ -20,6 +20,5 @@ export async function startDesignServer(
20
20
  await server.listen();
21
21
  const address = server.httpServer!.address();
22
22
  const port = typeof address === "object" && address ? address.port : 0;
23
- console.log(` Design server running at http://localhost:${port}`);
24
23
  return server;
25
24
  }
@@ -62,7 +62,6 @@ export async function startEditorServer(
62
62
 
63
63
  return new Promise((resolve) => {
64
64
  server.listen(port, () => {
65
- console.log(` Editor server running at http://localhost:${port}`);
66
65
  resolve(server);
67
66
  });
68
67
  });
package/src/server.ts CHANGED
@@ -33,8 +33,6 @@ async function findAvailablePort(preferred: number): Promise<number> {
33
33
  export async function startServers(options: ServerOptions) {
34
34
  const configRef = { current: options.config };
35
35
 
36
- console.log("\n Dekit Dev Server\n");
37
-
38
36
  const designServer = await startDesignServer(configRef);
39
37
  const designAddr = designServer.httpServer!.address();
40
38
  const designPort =
@@ -48,7 +46,7 @@ export async function startServers(options: ServerOptions) {
48
46
  );
49
47
 
50
48
  const editorUrl = `http://localhost:${editorPort}`;
51
- console.log(`\n Open ${editorUrl} in your browser\n`);
49
+ console.log(`\n Dekit running at ${editorUrl}\n`);
52
50
 
53
51
  // Try to open browser
54
52
  if (!options.noOpen) {