@deneb-ui/create-template 2.0.3 → 2.0.5

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/index.js CHANGED
@@ -79,34 +79,54 @@ function runScaffolding(targetInput) {
79
79
  const skipInstall = process.argv.includes('--skip-install');
80
80
 
81
81
  if (!skipInstall) {
82
- console.log(`📦 Installing dependencies with npm (this may take a minute)...`);
82
+ console.log(`\n\x1b[36m📦 Installing dependencies with npm...\x1b[0m \x1b[90m(Next.js 15, Tailwind CSS, @deneb-ui/ui)\x1b[0m\n`);
83
83
  try {
84
84
  const npmCmd = process.platform === 'win32' ? 'npm.cmd' : 'npm';
85
85
  const installRes = require('node:child_process').spawnSync(npmCmd, ['install'], {
86
86
  cwd: targetPath,
87
87
  stdio: 'inherit',
88
+ shell: process.platform === 'win32',
88
89
  });
89
90
 
90
91
  if (installRes.status === 0) {
91
- console.log(`\n\x1b[32m✔ All dependencies and DENEB UI packages installed successfully!\x1b[0m\n`);
92
+ console.log(`\n\x1b[32m✔ All dependencies and DENEB UI components installed successfully!\x1b[0m\n`);
92
93
  } else {
93
- console.log(`\n\x1b[33mNote: npm install exited with code ${installRes.status}. You can run 'npm install' inside the folder manually.\x1b[0m\n`);
94
+ console.log(`\n\x1b[33m! Note: npm install exited with code ${installRes.status}. Run "npm install" inside ${folderName}.\x1b[0m\n`);
94
95
  }
95
- } catch {
96
- console.log(`\n\x1b[33mNote: Could not run npm install automatically. Run 'npm install' inside the folder.\x1b[0m\n`);
96
+ } catch (err) {
97
+ console.log(`\n\x1b[33m! Note: Could not run npm install automatically: ${err.message}\x1b[0m\n`);
97
98
  }
98
99
  }
99
100
 
100
- console.log(`Ready to develop! Run:`);
101
- console.log(` \x1b[36mcd ${folderName}\x1b[0m`);
101
+ console.log(`\x1b[32m══════════════════════════════════════════════════════════════════════════════\x1b[0m`);
102
+ console.log(` \x1b[1m\x1b[32m🎉 Success! Created ${folderName} at ${targetPath}\x1b[0m`);
103
+ console.log(`\x1b[32m══════════════════════════════════════════════════════════════════════════════\x1b[0m\n`);
104
+ console.log(`Your storefront template is pre-configured with:`);
105
+ console.log(` \x1b[36m⚡ Next.js 15 App Router\x1b[0m (React 19 + Static Export support)`);
106
+ console.log(` \x1b[36m🎨 Tailwind CSS\x1b[0m (Pre-configured tailwind.config.ts & tokens)`);
107
+ console.log(` \x1b[36m💎 @deneb-ui/ui\x1b[0m (28+ Visual-First Editable Components)`);
108
+ console.log(` \x1b[36m🛠️ @deneb-ui/cli\x1b[0m (Visual Lab, Preflight Validator & Packager)`);
109
+ console.log(` \x1b[36m📋 Fivora Manifest\x1b[0m (Version 2 Contract Compliant)\n`);
110
+
111
+ console.log(`\x1b[1mNext Steps:\x1b[0m\n`);
112
+ console.log(` \x1b[36m1. cd ${folderName}\x1b[0m`);
113
+ console.log(` Navigate into your template directory.\n`);
102
114
  if (skipInstall) {
103
- console.log(` \x1b[36mnpm install\x1b[0m`);
115
+ console.log(` \x1b[36m2. npm install\x1b[0m`);
116
+ console.log(` Install dependencies.\n`);
104
117
  }
105
- console.log(` \x1b[36mnpm run dev\x1b[0m \x1b[90m# Start local Next.js development\x1b[0m`);
106
- console.log(` \x1b[36mnpm run lab\x1b[0m \x1b[90m# Start Visual Editing Lab\x1b[0m`);
107
- console.log(` \x1b[36mnpm run validate\x1b[0m \x1b[90m# Verify contract compliance\x1b[0m`);
108
- console.log(` \x1b[36mnpm run zip\x1b[0m \x1b[90m# Package clean ZIP for 1-click upload\x1b[0m\n`);
109
- console.log(`Happy coding with DENEB UI! 🚀\n`);
118
+ console.log(` \x1b[36m${skipInstall ? '3' : '2'}. npm run dev\x1b[0m`);
119
+ console.log(` Start the local dev server at \x1b[4mhttp://localhost:3000\x1b[0m.`);
120
+ console.log(` Follow the in-app developer guide right on your homepage!\n`);
121
+ console.log(` \x1b[36m${skipInstall ? '4' : '3'}. npm run lab\x1b[0m`);
122
+ console.log(` Launch the interactive Fivora Visual Editing Lab simulation.\n`);
123
+ console.log(` \x1b[36m${skipInstall ? '5' : '4'}. npm run validate\x1b[0m`);
124
+ console.log(` Verify preflight compliance to ensure 100% marketplace approval.\n`);
125
+ console.log(` \x1b[36m${skipInstall ? '6' : '5'}. npm run zip\x1b[0m`);
126
+ console.log(` Package a clean, upload-ready \x1b[1mfivora-template.zip\x1b[0m.\n`);
127
+
128
+ console.log(`\x1b[90mArchitecture created by Chamika Gayashan & Induranga Kawishwara\x1b[0m`);
129
+ console.log(`\x1b[1m\x1b[36mHappy building with DENEB UI! 🚀\x1b[0m\n`);
110
130
  }
111
131
 
112
132
  printBanner();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deneb-ui/create-template",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "Scaffold a modern, pre-validated DENEB UI storefront template in seconds. Created by Chamika Gayashan & Induranga Kawishwara.",
5
5
  "bin": {
6
6
  "create-deneb-template": "bin/index.js",
@@ -28,11 +28,10 @@
28
28
  "typescript": "5.8.3",
29
29
  "@deneb-ui/cli": "^2.0.0",
30
30
  "tailwindcss": "^3.4.17",
31
- "postcss": "^8.4.49",
31
+ "postcss": "8.5.26",
32
32
  "autoprefixer": "^10.4.20"
33
33
  },
34
34
  "overrides": {
35
- "postcss": "8.5.26",
36
35
  "sharp": "0.35.3"
37
36
  }
38
37
  }