juxscript 1.0.65 → 1.0.66

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 +2 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -302,6 +302,7 @@ function findJuxFiles(dir, fileList = []) {
302
302
 
303
303
  fs.mkdirSync(juxDir, { recursive: true }); // create it.
304
304
 
305
+ let filesCopied = 0;
305
306
  // Copy default presets
306
307
  const defaultPresetSrc = path.join(PATHS.packageRoot, 'create');
307
308
  if (fs.existsSync(defaultPresetSrc)) {
@@ -317,7 +318,7 @@ function findJuxFiles(dir, fileList = []) {
317
318
 
318
319
  // ✅ ADD: Safe fallback if presets are missing so build doesn't fail
319
320
  if (filesCopied === 0) {
320
- console.warn('⚠️ Presets not found. Creating default index.jux...');
321
+ console.warn('⚠️ Install pages not available. Creating default index.jux...');
321
322
  const indexContent = `import { jux } from 'juxscript';
322
323
 
323
324
  jux.hero('welcome', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juxscript",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "type": "module",
5
5
  "description": "A JavaScript UX authorship platform",
6
6
  "main": "lib/jux.js",