juxscript 1.0.53 → 1.0.54
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.js +7 -6
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -437,12 +437,12 @@ jux.paragraph('counter')
|
|
|
437
437
|
console.log('+ Created juxconfig.js');
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
//
|
|
441
|
-
const configExampleDest = path.join(PATHS.projectRoot, 'juxconfig.example.js');
|
|
442
|
-
if (!fs.existsSync(configExampleDest)) {
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
}
|
|
440
|
+
// ❌ REMOVE: Don't copy example - it's available in node_modules
|
|
441
|
+
// const configExampleDest = path.join(PATHS.projectRoot, 'juxconfig.example.js');
|
|
442
|
+
// if (!fs.existsSync(configExampleDest)) {
|
|
443
|
+
// fs.copyFileSync(configExampleSrc, configExampleDest);
|
|
444
|
+
// console.log('+ Created juxconfig.example.js (reference)');
|
|
445
|
+
// }
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
console.log('\n✅ JUX project initialized!\n');
|
|
@@ -454,6 +454,7 @@ jux.paragraph('counter')
|
|
|
454
454
|
console.log('Next steps:');
|
|
455
455
|
console.log(' npm install # Install dependencies');
|
|
456
456
|
console.log(' npm run dev # Start dev server\n');
|
|
457
|
+
console.log('📖 Config reference: node_modules/juxscript/juxconfig.example.js\n');
|
|
457
458
|
|
|
458
459
|
} else if (command === 'build') {
|
|
459
460
|
// ✅ Run bootstrap before build
|