@mindfiredigital/ignix-lite-cli 1.4.1 → 1.4.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @mindfiredigital/ignix-lite-cli@1.4.1 build /home/runner/work/ignix-lite/ignix-lite/packages/cli
2
+ > @mindfiredigital/ignix-lite-cli@1.4.3 build /home/runner/work/ignix-lite/ignix-lite/packages/cli
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,5 +9,5 @@
9
9
  CLI Target: es2022
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
- ESM dist/index.js 29.12 KB
13
- ESM ⚡️ Build success in 28ms
12
+ ESM dist/index.js 29.18 KB
13
+ ESM ⚡️ Build success in 24ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @mindfiredigital/ignix-lite-cli
2
2
 
3
+ ## 1.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - resolve package dependency issues
8
+
9
+ - Updated dependencies []:
10
+ - @mindfiredigital/ignix-lite-engine@1.4.2
11
+ - @mindfiredigital/ignix-lite-mcp@1.6.3
12
+
3
13
  ## 1.4.1
4
14
 
5
15
  ### Patch Changes
package/README.md CHANGED
@@ -272,10 +272,10 @@ ignix-lite preview component.html --output screenshot.png --width 800 --theme da
272
272
  Automatically configure the Ignix-Lite MCP server for your AI editor. **Zero manual steps** — the CLI writes directly to the editor's config file.
273
273
 
274
274
  ```bash
275
- ignix-lite mcp setup claude
276
- ignix-lite mcp setup claude-code
277
- ignix-lite mcp setup gemini
278
- ignix-lite mcp setup cursor
275
+ ignix-lite mcp setup claude
276
+ ignix-lite mcp setup claude-code
277
+ ignix-lite mcp setup gemini
278
+ ignix-lite mcp setup cursor
279
279
  ```
280
280
 
281
281
  **All clients are fully auto-configured.** After running the command:
package/dist/index.js CHANGED
@@ -328,8 +328,10 @@ async function validateCommand(filePath) {
328
328
  if (result.valid) {
329
329
  console.log(
330
330
  pc4.bold(
331
- pc4.green(`
332
- \u2714 PASS: All checks passed! Score: ${result.score ?? 100}/100`)
331
+ pc4.green(
332
+ `
333
+ \u2714 PASS: All checks passed! Score: ${result.score ?? 100}/100`
334
+ )
333
335
  )
334
336
  );
335
337
  } else {
@@ -519,13 +521,19 @@ async function buildCommand(prompt, options) {
519
521
  if (!data || data.source === "no-match") {
520
522
  console.log(pc8.red(`
521
523
  Could not synthesize UI for: "${prompt}"`));
522
- console.log(pc8.yellow(`Suggestion: ${data?.suggestion || "Try clarifying your request."}
523
- `));
524
+ console.log(
525
+ pc8.yellow(
526
+ `Suggestion: ${data?.suggestion || "Try clarifying your request."}
527
+ `
528
+ )
529
+ );
524
530
  return;
525
531
  }
526
532
  const outputContent = options.emmetOnly ? data.emmet : data.html;
527
533
  if (!outputContent) {
528
- console.log(pc8.red("Error: Response does not contain any synthesized code."));
534
+ console.log(
535
+ pc8.red("Error: Response does not contain any synthesized code.")
536
+ );
529
537
  return;
530
538
  }
531
539
  if (options.output) {
@@ -539,9 +547,7 @@ Successfully wrote output to ${pc8.blue(options.output)}
539
547
  );
540
548
  } catch (err) {
541
549
  const msg = err instanceof Error ? err.message : String(err);
542
- console.log(
543
- pc8.red(`Error: Failed to write output to file. ${msg}`)
544
- );
550
+ console.log(pc8.red(`Error: Failed to write output to file. ${msg}`));
545
551
  }
546
552
  } else {
547
553
  console.log(pc8.cyan("\nSynthesized Output:"));
@@ -585,7 +591,9 @@ async function previewCommand(filePath, options) {
585
591
  try {
586
592
  result = JSON.parse(response.content[0].text);
587
593
  } catch {
588
- spinner.fail(pc9.red("Render failed: Invalid JSON response from preview engine."));
594
+ spinner.fail(
595
+ pc9.red("Render failed: Invalid JSON response from preview engine.")
596
+ );
589
597
  return;
590
598
  }
591
599
  if (result.error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindfiredigital/ignix-lite-cli",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "CLI tool for Ignix-Lite project scaffolding, validation, and theming",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -14,8 +14,8 @@
14
14
  "picocolors": "^1.1.1",
15
15
  "prompts": "^2.4.2",
16
16
  "zod": "^3.24.2",
17
- "@mindfiredigital/ignix-lite-engine": "1.4.1",
18
- "@mindfiredigital/ignix-lite-mcp": "1.6.1"
17
+ "@mindfiredigital/ignix-lite-engine": "1.4.2",
18
+ "@mindfiredigital/ignix-lite-mcp": "1.6.3"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^25.8.0",
@@ -35,13 +35,19 @@ export async function buildCommand(
35
35
 
36
36
  if (!data || data.source === 'no-match') {
37
37
  console.log(pc.red(`\nCould not synthesize UI for: "${prompt}"`))
38
- console.log(pc.yellow(`Suggestion: ${data?.suggestion || 'Try clarifying your request.'}\n`))
38
+ console.log(
39
+ pc.yellow(
40
+ `Suggestion: ${data?.suggestion || 'Try clarifying your request.'}\n`
41
+ )
42
+ )
39
43
  return
40
44
  }
41
45
 
42
46
  const outputContent = options.emmetOnly ? data.emmet : data.html
43
47
  if (!outputContent) {
44
- console.log(pc.red('Error: Response does not contain any synthesized code.'))
48
+ console.log(
49
+ pc.red('Error: Response does not contain any synthesized code.')
50
+ )
45
51
  return
46
52
  }
47
53
 
@@ -54,9 +60,7 @@ export async function buildCommand(
54
60
  )
55
61
  } catch (err: unknown) {
56
62
  const msg = err instanceof Error ? err.message : String(err)
57
- console.log(
58
- pc.red(`Error: Failed to write output to file. ${msg}`)
59
- )
63
+ console.log(pc.red(`Error: Failed to write output to file. ${msg}`))
60
64
  }
61
65
  } else {
62
66
  console.log(pc.cyan('\nSynthesized Output:'))
@@ -45,7 +45,9 @@ export async function previewCommand(
45
45
  try {
46
46
  result = JSON.parse(response.content[0].text)
47
47
  } catch {
48
- spinner.fail(pc.red('Render failed: Invalid JSON response from preview engine.'))
48
+ spinner.fail(
49
+ pc.red('Render failed: Invalid JSON response from preview engine.')
50
+ )
49
51
  return
50
52
  }
51
53
 
@@ -21,7 +21,9 @@ export async function validateCommand(filePath: string) {
21
21
  if (result.valid) {
22
22
  console.log(
23
23
  pc.bold(
24
- pc.green(`\n✔ PASS: All checks passed! Score: ${result.score ?? 100}/100`)
24
+ pc.green(
25
+ `\n✔ PASS: All checks passed! Score: ${result.score ?? 100}/100`
26
+ )
25
27
  )
26
28
  )
27
29
  } else {
package/tsup.config.ts CHANGED
@@ -6,6 +6,6 @@ export default defineConfig({
6
6
  clean: true,
7
7
  dts: false,
8
8
  banner: {
9
- js: '#!/usr/bin/env node',
10
- },
9
+ js: '#!/usr/bin/env node'
10
+ }
11
11
  })