oipage 1.5.0-alpha.2 → 1.5.0-alpha.3

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/CHANGELOG CHANGED
@@ -105,6 +105,8 @@ v1.5.0:
105
105
  2、服务器响应类型由 Content-type 改为 Content-Type
106
106
  3、修复dateFormat第二个参数无法缺省报错
107
107
  4、修复numberFormat不支持负数问题
108
+ - 优化改造
109
+ 1、优化run命令日志打印
108
110
  - 新增功能
109
111
  1、开发服务器 / 应用市场
110
112
  * 聊天工具
package/bin/run CHANGED
@@ -72,22 +72,22 @@ else if (process.argv[2] === "run") {
72
72
 
73
73
  // 监听子线程的stdout
74
74
  child.stdout.on('data', (data) => {
75
- console.log(`[${index + 1}] log:${data}`);
75
+ process.stdout.write(`${data}`);
76
76
  });
77
77
 
78
78
  // 监听子线程的stderr
79
79
  child.stderr.on('data', (data) => {
80
- console.error(`[${index + 1}] error:${data}`);
80
+ process.stdout.write(`${data}`);
81
81
  });
82
82
 
83
83
  // 子线程结束处理
84
84
  child.on('close', (code) => {
85
- console.log(`[${index + 1}] 子线程结束,退出码 ${code}`);
85
+ console.log(`子线程${index + 1}结束,退出码 ${code}`);
86
86
  });
87
87
 
88
88
  // 子线程出错处理
89
89
  child.on('error', (error) => {
90
- console.error(`[${index + 1}] 子线程错误: ${error.message}`);
90
+ console.error(`子线程${index + 1}错误: ${error.message}`);
91
91
  });
92
92
  }
93
93
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * animation of OIPage v1.5.0-alpha.2
2
+ * animation of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * cmdlog of OIPage v1.5.0-alpha.2
2
+ * cmdlog of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * disk of OIPage v1.5.0-alpha.2
2
+ * disk of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * format of OIPage v1.5.0-alpha.2
2
+ * format of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * json of OIPage v1.5.0-alpha.2
2
+ * json of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
  const {reader} = require("../reader/index.js");
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * logform of OIPage v1.5.0-alpha.2
2
+ * logform of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
  const {linelog} = require("../cmdlog/index.js");
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * reader of OIPage v1.5.0-alpha.2
2
+ * reader of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * throttle of OIPage v1.5.0-alpha.2
2
+ * throttle of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oipage",
3
- "version": "1.5.0-alpha.2",
3
+ "version": "1.5.0-alpha.3",
4
4
  "description": "前端网页或应用快速开发助手,包括开发服务器、辅助命令、实用API等",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * XMLHttpRequest of OIPage v1.5.0-alpha.2
2
+ * XMLHttpRequest of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * animation of OIPage v1.5.0-alpha.2
2
+ * animation of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * format of OIPage v1.5.0-alpha.2
2
+ * format of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
package/web/json/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * json of OIPage v1.5.0-alpha.2
2
+ * json of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
  import {reader} from "../reader/index.js";
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * onReady of OIPage v1.5.0-alpha.2
2
+ * onReady of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * performChunk of OIPage v1.5.0-alpha.2
2
+ * performChunk of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * reader of OIPage v1.5.0-alpha.2
2
+ * reader of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * style of OIPage v1.5.0-alpha.2
2
+ * style of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * throttle of OIPage v1.5.0-alpha.2
2
+ * throttle of OIPage v1.5.0-alpha.3
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5