@nocobase/cli-v1 2.2.0-beta.8 → 2.2.0-beta.9
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 +4 -4
- 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.2.0-beta.
|
|
3
|
+
"version": "2.2.0-beta.9",
|
|
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.2.0-beta.
|
|
12
|
+
"@nocobase/cli": "2.2.0-beta.9",
|
|
13
13
|
"@nocobase/license-kit": "^0.3.8",
|
|
14
|
-
"@nocobase/utils": "2.2.0-beta.
|
|
14
|
+
"@nocobase/utils": "2.2.0-beta.9",
|
|
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": "
|
|
36
|
+
"gitHead": "60e3d7abbaa0c7cead76f71a4f3d5eedb6b8acdb"
|
|
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;
|