@promptui-lib/cli 0.1.14 → 0.1.15

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.
@@ -273,9 +273,9 @@ export async function generateAllCommand(options) {
273
273
  // Isso garante que componentes filhos sejam gerados antes dos pais
274
274
  exportableNodes.sort((a, b) => b.depth - a.depth);
275
275
  console.log('[PromptUI] Generation order (leaves first):');
276
- for (const { node } of exportableNodes) {
276
+ for (const { node, depth } of exportableNodes) {
277
277
  const hasChildren = hasExportableChildren(node);
278
- console.log(` ${hasChildren ? '📦' : '🍃'} ${node.name}`);
278
+ console.log(` ${hasChildren ? '📦' : '🍃'} ${node.name} (depth: ${depth}, id: ${node.id.slice(0, 8)}...)`);
279
279
  }
280
280
  console.log('');
281
281
  let successCount = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptui-lib/cli",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "private": false,
5
5
  "description": "CLI for PromptUI - Figma to React code generator",
6
6
  "license": "UNLICENSED",
@@ -45,10 +45,10 @@
45
45
  "bin"
46
46
  ],
47
47
  "dependencies": {
48
- "@promptui-lib/figma-parser": "0.1.14",
49
- "@promptui-lib/core": "0.1.14",
50
- "@promptui-lib/codegen": "0.1.14",
51
- "@promptui-lib/mcp-agent": "0.1.14"
48
+ "@promptui-lib/core": "0.1.15",
49
+ "@promptui-lib/figma-parser": "0.1.15",
50
+ "@promptui-lib/codegen": "0.1.15",
51
+ "@promptui-lib/mcp-agent": "0.1.15"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/node": "^20.0.0",