juxscript 1.1.94 → 1.1.95

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,6 +1,6 @@
1
1
  {
2
2
  "totalComponents": 63,
3
- "generatedAt": "2026-02-12T20:03:25.609Z",
3
+ "generatedAt": "2026-02-12T20:04:49.529Z",
4
4
  "components": [
5
5
  {
6
6
  "file": "alert.js",
@@ -309,17 +309,26 @@ export class JuxCompiler {
309
309
  return entry;
310
310
  }
311
311
 
312
+ reportValidationIssues() {
313
+ if (!this._validationIssues || this._validationIssues.length === 0) return;
314
+
315
+ console.log('\n⚠️ Validation Issues:\n');
316
+ this._validationIssues.forEach(issue => {
317
+ const icon = issue.type === 'error' ? '❌' : '⚠️';
318
+ console.log(` ${icon} ${issue.view}:${issue.line} - ${issue.message}`);
319
+ });
320
+ console.log('');
321
+ }
322
+
312
323
  /**
313
- * ✅ Generate routes based on folder structure
324
+ * ✅ Generate routes based on folder structure (SINGLE DEFINITION)
314
325
  */
315
326
  _generateRouter(views) {
316
327
  let routeMap = '';
317
328
 
318
329
  views.forEach(v => {
319
- // ✅ Generate route from folder structure
320
330
  const routePath = this._generateRoutePath(v.file);
321
331
  const functionName = this._generateFunctionName(v.name);
322
-
323
332
  routeMap += ` '${routePath}': render${functionName},\n`;
324
333
  });
325
334
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juxscript",
3
- "version": "1.1.94",
3
+ "version": "1.1.95",
4
4
  "type": "module",
5
5
  "description": "A JavaScript UX authorship platform",
6
6
  "main": "index.js",