@nocobase/cli-v1 2.1.15 → 2.1.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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/util.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/cli-v1",
3
- "version": "2.1.15",
3
+ "version": "2.1.18",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./src/index.js",
@@ -9,9 +9,9 @@
9
9
  "nocobase-v1": "./bin/index.js"
10
10
  },
11
11
  "dependencies": {
12
- "@nocobase/cli": "2.1.15",
12
+ "@nocobase/cli": "2.1.18",
13
13
  "@nocobase/license-kit": "^0.3.8",
14
- "@nocobase/utils": "2.1.15",
14
+ "@nocobase/utils": "2.1.18",
15
15
  "chalk": "^4.1.1",
16
16
  "commander": "^9.2.0",
17
17
  "deepmerge": "^4.3.1",
@@ -33,5 +33,5 @@
33
33
  "url": "git+https://github.com/nocobase/nocobase.git",
34
34
  "directory": "packages/core/cli"
35
35
  },
36
- "gitHead": "1219585bbb4f5ebb6378be99fa2ff04b3376e6a2"
36
+ "gitHead": "2234b42b21c96d22a4b65a1f16a65ae61f434779"
37
37
  }
package/src/util.js CHANGED
@@ -456,6 +456,9 @@ function isAppDevHtml() {
456
456
  }
457
457
 
458
458
  function buildIndexHtml(force = false) {
459
+ if (process.env.NOCOBASE_EXTRACT_CLIENT_ASSETS === 'true') {
460
+ return;
461
+ }
459
462
  const file = `${process.env.APP_PACKAGE_ROOT}/dist/client/index.html`;
460
463
  if (!fs.existsSync(file)) {
461
464
  return;