zyncat-ui 0.17.0 → 0.18.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 (3) hide show
  1. package/dist/cli.js +3 -2
  2. package/package.json +7 -6
  3. package/LICENSE +0 -21
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.18.0",
4
4
  "description": "Setup CLI for @zyncat/ui - one command installs the package and wires the project.",
5
5
  "keywords": [
6
6
  "zyncat",
@@ -30,6 +30,11 @@
30
30
  "engines": {
31
31
  "node": ">=18"
32
32
  },
33
+ "scripts": {
34
+ "build": "tsup",
35
+ "typecheck": "tsc -p tsconfig.json",
36
+ "prepublishOnly": "pnpm build"
37
+ },
33
38
  "publishConfig": {
34
39
  "access": "public"
35
40
  },
@@ -39,9 +44,5 @@
39
44
  "picocolors": "^1.1.1",
40
45
  "tsup": "^8.5.0",
41
46
  "typescript": "~6.0.3"
42
- },
43
- "scripts": {
44
- "build": "tsup",
45
- "typecheck": "tsc -p tsconfig.json"
46
47
  }
47
- }
48
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Tabsir Ahammed
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.