@abtnode/core 1.16.29-beta-db5c4ed6 → 1.16.29-beta-bb5685f8
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/lib/util/blocklet.js +2 -0
- package/package.json +21 -21
package/lib/util/blocklet.js
CHANGED
|
@@ -68,6 +68,7 @@ const {
|
|
|
68
68
|
BLOCKLET_PREFERENCE_PREFIX,
|
|
69
69
|
BLOCKLET_RESOURCE_DIR,
|
|
70
70
|
BLOCKLET_TENANT_MODES,
|
|
71
|
+
PROJECT,
|
|
71
72
|
} = require('@blocklet/constant');
|
|
72
73
|
const validateBlockletEntry = require('@blocklet/meta/lib/entry');
|
|
73
74
|
const { getBlockletEngine } = require('@blocklet/meta/lib/engine');
|
|
@@ -169,6 +170,7 @@ const getComponentDirs = (component, { dataDirs, ensure = false, ancestors = []
|
|
|
169
170
|
if (ensure) {
|
|
170
171
|
try {
|
|
171
172
|
fs.mkdirSync(dataDir, { recursive: true });
|
|
173
|
+
fs.mkdirSync(path.join(dataDir, PROJECT.DIR), { recursive: true });
|
|
172
174
|
fs.mkdirSync(logsDir, { recursive: true });
|
|
173
175
|
fs.mkdirSync(cacheDir, { recursive: true });
|
|
174
176
|
fs.mkdirSync(appDir, { recursive: true }); // prevent getDiskInfo failed from custom blocklet
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.29-beta-
|
|
6
|
+
"version": "1.16.29-beta-bb5685f8",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@abtnode/analytics": "1.16.29-beta-
|
|
23
|
-
"@abtnode/auth": "1.16.29-beta-
|
|
24
|
-
"@abtnode/certificate-manager": "1.16.29-beta-
|
|
25
|
-
"@abtnode/constant": "1.16.29-beta-
|
|
26
|
-
"@abtnode/cron": "1.16.29-beta-
|
|
27
|
-
"@abtnode/logger": "1.16.29-beta-
|
|
28
|
-
"@abtnode/models": "1.16.29-beta-
|
|
29
|
-
"@abtnode/queue": "1.16.29-beta-
|
|
30
|
-
"@abtnode/rbac": "1.16.29-beta-
|
|
31
|
-
"@abtnode/router-provider": "1.16.29-beta-
|
|
32
|
-
"@abtnode/static-server": "1.16.29-beta-
|
|
33
|
-
"@abtnode/timemachine": "1.16.29-beta-
|
|
34
|
-
"@abtnode/util": "1.16.29-beta-
|
|
22
|
+
"@abtnode/analytics": "1.16.29-beta-bb5685f8",
|
|
23
|
+
"@abtnode/auth": "1.16.29-beta-bb5685f8",
|
|
24
|
+
"@abtnode/certificate-manager": "1.16.29-beta-bb5685f8",
|
|
25
|
+
"@abtnode/constant": "1.16.29-beta-bb5685f8",
|
|
26
|
+
"@abtnode/cron": "1.16.29-beta-bb5685f8",
|
|
27
|
+
"@abtnode/logger": "1.16.29-beta-bb5685f8",
|
|
28
|
+
"@abtnode/models": "1.16.29-beta-bb5685f8",
|
|
29
|
+
"@abtnode/queue": "1.16.29-beta-bb5685f8",
|
|
30
|
+
"@abtnode/rbac": "1.16.29-beta-bb5685f8",
|
|
31
|
+
"@abtnode/router-provider": "1.16.29-beta-bb5685f8",
|
|
32
|
+
"@abtnode/static-server": "1.16.29-beta-bb5685f8",
|
|
33
|
+
"@abtnode/timemachine": "1.16.29-beta-bb5685f8",
|
|
34
|
+
"@abtnode/util": "1.16.29-beta-bb5685f8",
|
|
35
35
|
"@arcblock/did": "1.18.124",
|
|
36
36
|
"@arcblock/did-auth": "1.18.124",
|
|
37
37
|
"@arcblock/did-ext": "^1.18.124",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"@arcblock/pm2-events": "^0.0.5",
|
|
43
43
|
"@arcblock/validator": "^1.18.124",
|
|
44
44
|
"@arcblock/vc": "1.18.124",
|
|
45
|
-
"@blocklet/constant": "1.16.29-beta-
|
|
46
|
-
"@blocklet/env": "1.16.29-beta-
|
|
47
|
-
"@blocklet/meta": "1.16.29-beta-
|
|
48
|
-
"@blocklet/resolver": "1.16.29-beta-
|
|
49
|
-
"@blocklet/sdk": "1.16.29-beta-
|
|
50
|
-
"@blocklet/store": "1.16.29-beta-
|
|
45
|
+
"@blocklet/constant": "1.16.29-beta-bb5685f8",
|
|
46
|
+
"@blocklet/env": "1.16.29-beta-bb5685f8",
|
|
47
|
+
"@blocklet/meta": "1.16.29-beta-bb5685f8",
|
|
48
|
+
"@blocklet/resolver": "1.16.29-beta-bb5685f8",
|
|
49
|
+
"@blocklet/sdk": "1.16.29-beta-bb5685f8",
|
|
50
|
+
"@blocklet/store": "1.16.29-beta-bb5685f8",
|
|
51
51
|
"@did-space/client": "^0.5.4",
|
|
52
52
|
"@fidm/x509": "^1.2.1",
|
|
53
53
|
"@ocap/mcrypto": "1.18.124",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"jest": "^29.7.0",
|
|
104
104
|
"unzipper": "^0.10.11"
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "e1180f28ed9ce6a5a93141352ca5fbabd2b64cbc"
|
|
107
107
|
}
|