@nocobase/cli 1.7.0-beta.7 → 1.7.0-beta.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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/util.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/cli",
3
- "version": "1.7.0-beta.7",
3
+ "version": "1.7.0-beta.8",
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": "1.7.0-beta.7",
11
+ "@nocobase/app": "1.7.0-beta.8",
12
12
  "@types/fs-extra": "^11.0.1",
13
13
  "@umijs/utils": "3.5.20",
14
14
  "chalk": "^4.1.1",
@@ -25,12 +25,12 @@
25
25
  "tsx": "^4.19.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@nocobase/devtools": "1.7.0-beta.7"
28
+ "@nocobase/devtools": "1.7.0-beta.8"
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",
32
32
  "url": "git+https://github.com/nocobase/nocobase.git",
33
33
  "directory": "packages/core/cli"
34
34
  },
35
- "gitHead": "cd4ee4a58c0dc80418a71b3bba3b56552b85526f"
35
+ "gitHead": "9ad35ee90db98d95dfa660645d155f4f4e81b47c"
36
36
  }
package/src/util.js CHANGED
@@ -460,6 +460,8 @@ exports.initEnv = function initEnv() {
460
460
  process.env.SOCKET_PATH = generateGatewayPath();
461
461
  fs.mkdirpSync(dirname(process.env.SOCKET_PATH), { force: true, recursive: true });
462
462
  fs.mkdirpSync(process.env.PM2_HOME, { force: true, recursive: true });
463
+ const pkgDir = resolve(process.cwd(), 'storage/plugins', '@nocobase/plugin-multi-app-manager');
464
+ fs.existsSync(pkgDir) && fs.rmdirSync(pkgDir, { force: true });
463
465
  };
464
466
 
465
467
  exports.generatePlugins = function () {