@nocobase/cli 1.6.18 → 1.6.19

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 +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/cli",
3
- "version": "1.6.18",
3
+ "version": "1.6.19",
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.6.18",
11
+ "@nocobase/app": "1.6.19",
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.6.18"
28
+ "@nocobase/devtools": "1.6.19"
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": "252e7916124a5946814fd8230dc4d99375db4cd7"
35
+ "gitHead": "58e1912d15868102d36095991b635d1ed0e700fa"
36
36
  }
package/src/util.js CHANGED
@@ -461,7 +461,7 @@ exports.initEnv = function initEnv() {
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
463
  const pkgDir = resolve(process.cwd(), 'storage/plugins', '@nocobase/plugin-multi-app-manager');
464
- fs.existsSync(pkgDir) && fs.rmdirSync(pkgDir, { force: true });
464
+ fs.existsSync(pkgDir) && fs.rmdirSync(pkgDir, { recursive: true, force: true });
465
465
  };
466
466
 
467
467
  exports.generatePlugins = function () {