@blocklet/cli 1.6.23 → 1.6.26
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/README.md +2 -0
- package/bin/blocklet.js +2 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -70,6 +70,8 @@ Commands:
|
|
|
70
70
|
a blocklet
|
|
71
71
|
upload [options] [metafile] Upload the blocklet to blocklet store
|
|
72
72
|
exec <script> Execute script in blocklet running context
|
|
73
|
+
connect [options] <store-url> Connect to blocklet store and configure
|
|
74
|
+
development environment
|
|
73
75
|
create [name] Create a blocklet use create-blocklet
|
|
74
76
|
config [options] Manage the Blocklet Server configuration
|
|
75
77
|
files, use blocklet config help to see detail
|
package/bin/blocklet.js
CHANGED
|
@@ -4,6 +4,8 @@ const path = require('path');
|
|
|
4
4
|
|
|
5
5
|
const { name } = require('../package.json');
|
|
6
6
|
|
|
7
|
+
process.env.ABT_NODE_MAX_CLUSTER_SIZE = Math.min(Math.max(Number(process.env.ABT_NODE_MAX_CLUSTER_SIZE) || 32, 1), 32);
|
|
8
|
+
|
|
7
9
|
const getCLIBinaryName = () => {
|
|
8
10
|
const [, binaryPath] = process.argv;
|
|
9
11
|
return path.basename(binaryPath, path.extname(binaryPath));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/cli",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.26",
|
|
4
4
|
"description": "Command line tools to manage Blocklet and Blocklet Server",
|
|
5
5
|
"homepage": "https://github.com/ArcBlock/blocklet-server#readme",
|
|
6
6
|
"main": "bin/blocklet.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"url": "https://github.com/ArcBlock/blocklet-server/issues"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@abtnode/cli": "1.6.
|
|
34
|
+
"@abtnode/cli": "1.6.26",
|
|
35
35
|
"colors": "1.4.0",
|
|
36
36
|
"shelljs": "^0.8.4"
|
|
37
37
|
},
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=12"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "4e92f2af78718332882c7542fd475cc261903788"
|
|
45
45
|
}
|