diff --git a/AUTHORS b/AUTHORS index 6fcffd4f..1f7e4fbc 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,4 +1,9 @@ +程柳锋 LeoEatle +Lewis Cheng +LewisCheng +Stevenzwzhai +WnineM <3458168437@qq.com> cpselvis +i-solar qiuqiu <416665079@qq.com> -nikewu <862751557@qq.com> \ No newline at end of file diff --git a/lib/core/index.js b/lib/core/index.js index e80a10c2..0b08c9ce 100644 --- a/lib/core/index.js +++ b/lib/core/index.js @@ -48,19 +48,12 @@ class Feflow { this.args = camelizeKeys(args); this.cmd = new Command(); - - // 常用及通用的功能传递给 脚手架|builder|deploy 及插件使用 - this.coreFn = { - // 一系列常用库集合 如chalk inquirer opn 等等 + + // Pass useful functions through feflow context to generator, builer and plugins + this.utils = { chalk: chalk, - // 执行异步操作可调用统一输出产品 feflow 心智 - Loading: Loading, - // 实用方法套件插件也使用 - log: this.log - // 数据埋点方法函数.. - // 消息通知 notice 等封装函数.. + Loading: Loading }; - } /** diff --git a/package.json b/package.json index d0df4982..8742d3ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "feflow-cli", - "version": "0.15.0", + "version": "0.15.1", "description": "A command line tool aims to improve front-end engineer workflow.", "main": "lib/index.js", "scripts": {