cc-core-cli 1.0.5 → 1.0.6

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
@@ -78,9 +78,6 @@ if (action === 'upgrade') {
78
78
 
79
79
  spinner.succeed('(2/2) Running npm install!')
80
80
  })
81
-
82
-
83
-
84
81
  }
85
82
 
86
83
  if (action === 'admin') {
@@ -97,8 +94,8 @@ if (action === 'admin') {
97
94
 
98
95
  if (action === 'genpkg') {
99
96
  const mode = options['_'][1] || '';
100
- if (!['core-lib', 'admin-lib'].includes(mode)) {
101
- console.error('Please type a valid mode [core-lib | admin-lib]');
97
+ if (!['core', 'admin'].includes(mode)) {
98
+ console.error('Please type a valid mode [core|admin]');
102
99
  return false;
103
100
  }
104
101
  const path = options['_'][2] || '.';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-core-cli",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
File without changes
File without changes