@nocobase/cli-v1 2.2.0-alpha.3 → 2.2.0-alpha.4
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-alpha.
|
|
3
|
+
"version": "2.2.0-alpha.4",
|
|
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-alpha.
|
|
12
|
+
"@nocobase/cli": "2.2.0-alpha.4",
|
|
13
13
|
"@nocobase/license-kit": "^0.3.8",
|
|
14
|
-
"@nocobase/utils": "2.2.0-alpha.
|
|
14
|
+
"@nocobase/utils": "2.2.0-alpha.4",
|
|
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": "81bf8733db4bccf08a6bc5e6d97f274bce349161"
|
|
37
37
|
}
|
package/src/util.js
CHANGED
|
@@ -487,6 +487,9 @@ function shouldRefreshLegacyIndexTemplate(data = '') {
|
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
function buildIndexHtml(force = false) {
|
|
490
|
+
if (process.env.NOCOBASE_EXTRACT_CLIENT_ASSETS === 'true') {
|
|
491
|
+
return;
|
|
492
|
+
}
|
|
490
493
|
const file = `${process.env.APP_PACKAGE_ROOT}/dist/client/index.html`;
|
|
491
494
|
if (!fs.existsSync(file)) {
|
|
492
495
|
return;
|