zyncat-ui 0.17.0 → 0.19.0

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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1861,11 +1861,12 @@ function wireMcp(cwd) {
1861
1861
  if (!parsed) bail(`.mcp.json exists but is not valid JSON - fix it, then re-run init.`);
1862
1862
  config = parsed;
1863
1863
  }
1864
- const existed = JSON.stringify(config.mcpServers?.["zyncat-ui"]) === JSON.stringify(MCP_SERVER_ENTRY);
1864
+ if (JSON.stringify(config.mcpServers?.["zyncat-ui"]) === JSON.stringify(MCP_SERVER_ENTRY))
1865
+ return { line: row("MCP server", ".mcp.json \xB7 kept"), done: true };
1865
1866
  config.mcpServers = { ...config.mcpServers, "zyncat-ui": MCP_SERVER_ENTRY };
1866
1867
  writeFileSync(path, `${JSON.stringify(config, null, 2)}
1867
1868
  `);
1868
- return { line: row("MCP server", existed ? ".mcp.json \xB7 kept" : `.mcp.json ${arrow} zyncat-ui`), done: true };
1869
+ return { line: row("MCP server", `.mcp.json ${arrow} zyncat-ui`), done: true };
1869
1870
  }
1870
1871
  function shippedDecisionsCss(packageRoot) {
1871
1872
  const source = join3(packageRoot, THEME_SOURCE);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zyncat-ui",
3
- "version": "0.17.0",
3
+ "version": "0.19.0",
4
4
  "description": "Setup CLI for @zyncat/ui - one command installs the package and wires the project.",
5
5
  "keywords": [
6
6
  "zyncat",