@deneb-ui/cli 2.0.16 → 2.0.18
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 +2 -3
- package/package.json +3 -7
package/bin/index.js
CHANGED
|
@@ -66,7 +66,7 @@ function packageCleanZip(sourceDir, outputPath) {
|
|
|
66
66
|
const projectRequire = createRequire(path.resolve(process.cwd(), 'package.json'));
|
|
67
67
|
AdmZip = projectRequire('adm-zip');
|
|
68
68
|
} catch {
|
|
69
|
-
console.error('Error: adm-zip is required to package templates. Run "npm install -D adm-zip" or install @
|
|
69
|
+
console.error('Error: adm-zip is required to package templates. Run "npm install -D adm-zip" or install @deneb-ui/cli with its dependencies.');
|
|
70
70
|
process.exit(1);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -791,7 +791,7 @@ function updateDependencies(cmdArgs = []) {
|
|
|
791
791
|
// 1. Update npm packages
|
|
792
792
|
if (isLocal) {
|
|
793
793
|
const uiDir = path.join(localPath, 'packages', 'deneb-ui');
|
|
794
|
-
const cliDir = path.join(localPath, 'cli', '
|
|
794
|
+
const cliDir = path.join(localPath, 'cli', 'deneb-cli');
|
|
795
795
|
|
|
796
796
|
if (fs.existsSync(uiDir) && fs.existsSync(cliDir)) {
|
|
797
797
|
console.log('🔄 Updating from local workspace:');
|
|
@@ -1236,4 +1236,3 @@ Examples:
|
|
|
1236
1236
|
deneb add all`);
|
|
1237
1237
|
process.exit(1);
|
|
1238
1238
|
}
|
|
1239
|
-
|
package/package.json
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deneb-ui/cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.18",
|
|
4
4
|
"description": "Official developer CLI for DENEB UI — Validating, scaffolding, testing, and packaging storefront templates. Created by Chamika Gayashan & Induranga Kawishwara.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"deneb": "bin/index.js",
|
|
7
7
|
"denebui": "bin/index.js",
|
|
8
|
-
"deneb-cli": "bin/index.js"
|
|
9
|
-
"@deneb-ui/cli": "bin/index.js",
|
|
10
|
-
"cli": "bin/index.js",
|
|
11
|
-
"ceeg": "bin/index.js",
|
|
12
|
-
"ceegui": "bin/index.js"
|
|
8
|
+
"deneb-cli": "bin/index.js"
|
|
13
9
|
},
|
|
14
10
|
"publishConfig": {
|
|
15
11
|
"access": "public"
|
|
16
12
|
},
|
|
17
13
|
"repository": {
|
|
18
14
|
"type": "git",
|
|
19
|
-
"url": "https://github.com/deneb-ui/core.git",
|
|
15
|
+
"url": "git+https://github.com/deneb-ui/core.git",
|
|
20
16
|
"directory": "cli/deneb-cli"
|
|
21
17
|
},
|
|
22
18
|
"homepage": "https://github.com/deneb-ui/core#readme",
|