crabatool 1.0.270 → 1.0.273

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/lib/server.js CHANGED
@@ -11,7 +11,7 @@ var app = new express();
11
11
  app.use(compression()); // 开启压缩
12
12
 
13
13
  // 自定义打包js
14
- if (config.modName && config.childModList && config.childModList.length > 0) {
14
+ if (config.modName && config.childModList) {
15
15
  require('../tool/bizAndInit.js');
16
16
  }
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crabatool",
3
- "version": "1.0.270",
3
+ "version": "1.0.273",
4
4
  "description": "crabatool",
5
5
  "main": "index.js",
6
6
  "bin": {
package/tool/start.js CHANGED
@@ -210,7 +210,7 @@ class Start {
210
210
  // 按配置对项目init.js和biz.js打包
211
211
  mergeInit() {
212
212
  start.checkPath();
213
- if (config.modName && config.childModList && config.childModList.length > 0) {
213
+ if (config.modName && config.childModList) {
214
214
  config.mergeinitjs = true; // 标记仅打包,不监视文件变动
215
215
  require('./bizAndInit.js');
216
216
  } else {
package/tool/upgrade.js CHANGED
@@ -190,7 +190,7 @@ class Upgrade {
190
190
 
191
191
  var logs = [];
192
192
  this.gitLogs.forEach(function(log, index) {
193
- logs.push('【日志' + (index + 1) + '】' + log.branch_log + ',时间:' + log.create_time);
193
+ logs.push(log.branch_log + '【craba日志' + (index + 1) + '】' + ',时间:' + log.create_time);
194
194
  });
195
195
  var msg = logs.join(';\t');
196
196