yap2app 1.1.0 → 1.1.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/bin/cli-esm.js CHANGED
@@ -15,10 +15,11 @@ async function main() {
15
15
  console.log(`\nšŸ” Yap2App Codebase Context Scanner:`);
16
16
  const context = await scanCodebase(process.cwd());
17
17
  console.log(`\nProject: ${context.project_name}`);
18
- console.log(`Framework: ${context.framework} (${context.router_type})`);
19
- console.log(`Path Alias: ${context.path_alias}`);
20
- console.log(`Dependencies Detected: ${context.dependencies.length}`);
21
- console.log(`UI Components Catalog: ${context.component_names.join(', ') || 'None'}`);
18
+ console.log(`Framework: ${context.framework} (${context.framework_display_name || 'Generic'})`);
19
+ console.log(`Path Alias: ${context.path_alias || '@/'}`);
20
+ const depCount = Array.isArray(context.dependencies) ? context.dependencies.length : Object.keys(context.dependencies || {}).length;
21
+ console.log(`Dependencies Detected: ${depCount}`);
22
+ console.log(`UI Components Catalog: ${(context.component_names || []).join(', ') || 'None'}`);
22
23
  console.log(`\nFull Context JSON:\n`, JSON.stringify(context, null, 2));
23
24
  } else if (command === 'start' || command === 'bridge' || command === 'server') {
24
25
  // Start Localhost Bridge for Web Studio UI