juxscript 1.1.370 → 1.1.372

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 (2) hide show
  1. package/bin/cli.js +0 -41
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -497,47 +497,6 @@ async function runComp(compName) {
497
497
  console.log('');
498
498
  }
499
499
 
500
- /**
501
- * Resolve a safe folder name: compName -> compName-jux -> compName-1, compName-2, ...
502
- */
503
- function resolveDestFolderName(parentDir, baseName) {
504
- const first = path.join(parentDir, baseName);
505
- if (!fs.existsSync(first)) return baseName;
506
-
507
- const juxName = baseName + '-jux';
508
- const second = path.join(parentDir, juxName);
509
- if (!fs.existsSync(second)) return juxName;
510
-
511
- for (let i = 1; i <= 99; i++) {
512
- const numbered = `${baseName}-${i}`;
513
- if (!fs.existsSync(path.join(parentDir, numbered))) return numbered;
514
- }
515
-
516
- // Last resort — timestamp
517
- return `${baseName}-${Date.now()}`;
518
- }
519
-
520
- /**
521
- * List all files in a directory recursively, returning relative paths
522
- */
523
- function listFilesRecursive(dir, base = '') {
524
- const results = [];
525
- const entries = fs.readdirSync(dir, { withFileTypes: true });
526
-
527
- for (const entry of entries) {
528
- if (entry.name.startsWith('.')) continue;
529
- const rel = base ? path.join(base, entry.name) : entry.name;
530
-
531
- if (entry.isDirectory()) {
532
- results.push(...listFilesRecursive(path.join(dir, entry.name), rel));
533
- } else {
534
- results.push(rel);
535
- }
536
- }
537
-
538
- return results;
539
- }
540
-
541
500
  // ═══════════════════════════════════════════════════════════════
542
501
  // MAIN ROUTER
543
502
  // ═══════════════════════════════════════════════════════════════
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juxscript",
3
- "version": "1.1.370",
3
+ "version": "1.1.372",
4
4
  "type": "module",
5
5
  "description": "A JavaScript UX authorship platform",
6
6
  "main": "./dist/lib/index.js",