@abtnode/util 1.16.29-beta-8671c2cf → 1.16.29-beta-1fb308f8
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.
|
@@ -21,7 +21,7 @@ const defaultLogger = {
|
|
|
21
21
|
// TODO add dependencies
|
|
22
22
|
// TODO remove code in @abtnode/cli
|
|
23
23
|
|
|
24
|
-
const createRelease = (dir, { printError = defaultLogger.error, printInfo = defaultLogger.info } = {}) =>
|
|
24
|
+
const createRelease = (dir, { printError = defaultLogger.error, printInfo = defaultLogger.info, tarball = '' } = {}) =>
|
|
25
25
|
// eslint-disable-next-line no-async-promise-executor
|
|
26
26
|
new Promise(async (resolve, reject) => {
|
|
27
27
|
const destDir = path.join(dir, BLOCKLET_RELEASE_FOLDER_NAME);
|
|
@@ -36,7 +36,7 @@ const createRelease = (dir, { printError = defaultLogger.error, printInfo = defa
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
meta.dist = {};
|
|
39
|
-
meta.dist.tarball = `${slugify(meta.name)}-${meta.version}.tgz`;
|
|
39
|
+
meta.dist.tarball = tarball || `${slugify(meta.name)}-${meta.version}.tgz`;
|
|
40
40
|
|
|
41
41
|
const destFile = path.join(destDir, meta.dist.tarball);
|
|
42
42
|
const metaFile = path.join(destDir, BLOCKLET_RELEASE_FILE);
|
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-1fb308f8",
|
|
7
7
|
"description": "ArcBlock's JavaScript utility",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@abtnode/constant": "1.16.29-beta-
|
|
22
|
-
"@abtnode/logger": "1.16.29-beta-
|
|
21
|
+
"@abtnode/constant": "1.16.29-beta-1fb308f8",
|
|
22
|
+
"@abtnode/logger": "1.16.29-beta-1fb308f8",
|
|
23
23
|
"@arcblock/pm2": "^5.4.0",
|
|
24
|
-
"@blocklet/constant": "1.16.29-beta-
|
|
25
|
-
"@blocklet/meta": "1.16.29-beta-
|
|
24
|
+
"@blocklet/constant": "1.16.29-beta-1fb308f8",
|
|
25
|
+
"@blocklet/meta": "1.16.29-beta-1fb308f8",
|
|
26
26
|
"@ocap/client": "1.18.126",
|
|
27
27
|
"@ocap/mcrypto": "1.18.126",
|
|
28
28
|
"@ocap/util": "1.18.126",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"fs-extra": "^11.2.0",
|
|
80
80
|
"jest": "^29.7.0"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "1bf1d605a02f4df2789215e6e9518a62b1c3f806"
|
|
83
83
|
}
|