@nocobase/cli 2.0.0-alpha.13 → 2.0.0-alpha.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/cli",
3
- "version": "2.0.0-alpha.13",
3
+ "version": "2.0.0-alpha.14",
4
4
  "description": "",
5
5
  "license": "AGPL-3.0",
6
6
  "main": "./src/index.js",
@@ -8,7 +8,7 @@
8
8
  "nocobase": "./bin/index.js"
9
9
  },
10
10
  "dependencies": {
11
- "@nocobase/app": "2.0.0-alpha.13",
11
+ "@nocobase/app": "2.0.0-alpha.14",
12
12
  "@nocobase/license-kit": "^0.2.17",
13
13
  "@types/fs-extra": "^11.0.1",
14
14
  "@umijs/utils": "3.5.20",
@@ -27,12 +27,12 @@
27
27
  "tsx": "^4.19.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@nocobase/devtools": "2.0.0-alpha.13"
30
+ "@nocobase/devtools": "2.0.0-alpha.14"
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
34
34
  "url": "git+https://github.com/nocobase/nocobase.git",
35
35
  "directory": "packages/core/cli"
36
36
  },
37
- "gitHead": "b5b60c6ddb996b96bdc1e6d21604ef6585ae01e8"
37
+ "gitHead": "6b4785d03d0a551f1fe6815e9bcbc7a9f38901df"
38
38
  }
@@ -99,7 +99,7 @@ class Package {
99
99
  async isDepPackage() {
100
100
  const pkg1 = path.resolve(process.cwd(), 'node_modules', this.packageName, 'package.json');
101
101
  const pkg2 = path.resolve(process.cwd(), process.env.PLUGIN_STORAGE_PATH, this.packageName, 'package.json');
102
- if (await fs.exists(pkg1) && await fs.exists(pkg2)) {
102
+ if ((await fs.exists(pkg1)) && (await fs.exists(pkg2))) {
103
103
  const readPath1 = fs.realpathSync(pkg1);
104
104
  const readPath2 = fs.realpathSync(pkg2);
105
105
  if (readPath1 !== readPath2) {