abler-api 0.1.74 → 0.1.76
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/dist/cjs/pp-util.js +6 -3
- package/package.json +2 -1
package/dist/cjs/pp-util.js
CHANGED
|
@@ -27,7 +27,8 @@ var require$$0__default$1 = /*#__PURE__*/_interopDefaultLegacy(require$$0$1);
|
|
|
27
27
|
const fs$1 = require$$0__default["default"];
|
|
28
28
|
const path = require$$1__default["default"];
|
|
29
29
|
const {
|
|
30
|
-
t_f: t_f$3
|
|
30
|
+
t_f: t_f$3,
|
|
31
|
+
t: t$1
|
|
31
32
|
} = require$$2__default["default"];
|
|
32
33
|
const ppUtil$4 = require$$3__default["default"].ppUtil;
|
|
33
34
|
const {
|
|
@@ -107,7 +108,7 @@ class preconditions$2 {
|
|
|
107
108
|
}
|
|
108
109
|
let text = "";
|
|
109
110
|
if (preconditions$2.messages) {
|
|
110
|
-
text = t_f$3("*** 由于以下原因,%s 尚不能正常提供服务:\n\n", preconditions$2.appName) + preconditions$2.messages.join("\n\n") + "\n\n*** 请检查以上各项条件,修复后重新启动服务";
|
|
111
|
+
text = t_f$3("*** 由于以下原因,%s 尚不能正常提供服务:\n\n", preconditions$2.appName) + preconditions$2.messages.join("\n\n") + t$1("\n\n*** 请检查以上各项条件,修复后重新启动服务");
|
|
111
112
|
console.log("\n" + text);
|
|
112
113
|
// for (let i = 0; i < preconditions.messages.length; i++) {
|
|
113
114
|
// console.log(preconditions.messages[i]);
|
|
@@ -256,7 +257,9 @@ const {
|
|
|
256
257
|
t_f: t_f$2,
|
|
257
258
|
t
|
|
258
259
|
} = require$$2__default["default"];
|
|
259
|
-
const
|
|
260
|
+
const {
|
|
261
|
+
ppUtil: ppUtil$3
|
|
262
|
+
} = require$$3__default["default"];
|
|
260
263
|
const {
|
|
261
264
|
dbUtil,
|
|
262
265
|
kvStorage
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abler-api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.76",
|
|
4
4
|
"description": "API服务相关工具",
|
|
5
5
|
"main": "./dist/cjs/pp-util.js",
|
|
6
6
|
"-module": "./dist/es/pp-util.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "npx rollup -c rollup.config.js",
|
|
9
|
+
"postbuild": "node ..\\postbuild.js",
|
|
9
10
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
10
11
|
},
|
|
11
12
|
"files": [
|