@blocklet/cli 1.8.29 → 1.8.31

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/bin/blocklet.js +0 -8
  2. package/package.json +3 -3
package/bin/blocklet.js CHANGED
@@ -1,17 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const path = require('path');
4
-
5
3
  const { name } = require('../package.json');
6
4
 
7
5
  process.env.ABT_NODE_MAX_CLUSTER_SIZE = Math.min(Math.max(Number(process.env.ABT_NODE_MAX_CLUSTER_SIZE) || 32, 1), 32);
8
6
 
9
- const getCLIBinaryName = () => {
10
- const [, binaryPath] = process.argv;
11
- return path.basename(binaryPath, path.extname(binaryPath));
12
- };
13
-
14
- process.env.ABT_NODE_BINARY_NAME = getCLIBinaryName();
15
7
  process.env.ABT_NODE_PACKAGE_NAME = name;
16
8
 
17
9
  require('@abtnode/cli/bin/blocklet');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/cli",
3
- "version": "1.8.29",
3
+ "version": "1.8.31",
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.8.29",
34
+ "@abtnode/cli": "1.8.31",
35
35
  "colors": "1.4.0",
36
36
  "shelljs": "^0.8.5"
37
37
  },
@@ -41,5 +41,5 @@
41
41
  "engines": {
42
42
  "node": ">=12"
43
43
  },
44
- "gitHead": "ee52d838f0cf97e551d53a6509cb0da7e5f31978"
44
+ "gitHead": "f3cc8becdca1b8c5e645eb8cf751fa780cf09cfe"
45
45
  }