@dasidev/dasi-ui 1.0.6 → 1.0.8

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.
@@ -9,21 +9,31 @@ const ora = require('ora');
9
9
  program
10
10
  .name('dasi-ui')
11
11
  .description('DASI UI - Complete Admin Template Setup')
12
- .version('1.0.6');
12
+ .version('1.0.8');
13
13
 
14
14
  program
15
- .command('init')
15
+ .command('create [project-name]')
16
16
  .description('Initialize DASI UI admin template')
17
- .action(async () => {
17
+ .action(async (projectName) => {
18
18
  console.log(chalk.blue.bold('🚀 Welcome to DASI UI Admin Template Setup'));
19
19
  console.log(chalk.gray('This will set up a complete admin dashboard in your current directory\n'));
20
20
 
21
+ console.log(chalk.blue.bold(`
22
+ ╔══════════════════════════════════════════════════════════════╗
23
+ ║ ║
24
+ ║ 🚀 DASI UI - Complete Admin Template Generator ║
25
+ ║ ║
26
+ ║ Creating: ${chalk.cyan(projectName.padEnd(35))} ║
27
+ ║ ║
28
+ ╚══════════════════════════════════════════════════════════════╝
29
+ `));
30
+
21
31
  const questions = [
22
32
  {
23
33
  type: 'input',
24
34
  name: 'projectName',
25
35
  message: '📦 Project name:',
26
- default: 'my-admin-app',
36
+ default: projectName,
27
37
  validate: (input) => input.length > 0 || 'Project name is required'
28
38
  },
29
39
  {
@@ -63,24 +73,6 @@ program
63
73
  message: '🌙 Enable dark mode?',
64
74
  default: true
65
75
  },
66
- {
67
- type: 'confirm',
68
- name: 'includeAuth',
69
- message: '🔐 Include authentication module?',
70
- default: true
71
- },
72
- {
73
- type: 'confirm',
74
- name: 'includeCharts',
75
- message: '📊 Include chart components?',
76
- default: true
77
- },
78
- {
79
- type: 'confirm',
80
- name: 'includeMaps',
81
- message: '🗺️ Include map components?',
82
- default: false
83
- },
84
76
  {
85
77
  type: 'confirm',
86
78
  name: 'gitInit',
@@ -158,7 +150,13 @@ program
158
150
  }
159
151
  }
160
152
 
161
- spinner.succeed('✅ DASI UI Admin Template setup completed!');
153
+ console.log(chalk.green(`
154
+ ╔══════════════════════════════════════════════════════════════╗
155
+ ║ ║
156
+ ║ 🎉 Success! Your admin dashboard is ready! ║
157
+ ║ ║
158
+ ╚══════════════════════════════════════════════════════════════╝
159
+ `));
162
160
 
163
161
  console.log(chalk.green('\n🎉 Setup Complete! Your admin dashboard is ready.'));
164
162
  console.log(chalk.green('\n📋 What you get:'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dasidev/dasi-ui",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",