# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.13.2](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.13.1...@gem-mine/cli-service@2.13.2) (2021-05-28)

**Note:** Version bump only for package @gem-mine/cli-service





## [2.13.1](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.13.1-alpha.0...@gem-mine/cli-service@2.13.1) (2021-05-06)

**Note:** Version bump only for package @gem-mine/cli-service





# [2.13.0](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.11.9-alpha.2...@gem-mine/cli-service@2.13.0) (2021-04-19)


### Bug Fixes

* **cli-service:** 移除node版本要求 因为不独立运行 ([2c4489c](https://git.sdp.nd/gem-mine/toolkit/commits/2c4489c8f8ee84a7d8b867c393be20ecff20da06))


### Features

* **cli-service:** 支持tsnode/js运行 ([2b2ebd4](https://git.sdp.nd/gem-mine/toolkit/commits/2b2ebd42b175e561ecf9a7eb5be9f136d4e27a73))
* **cli-service:** new build ([983fbe5](https://git.sdp.nd/gem-mine/toolkit/commits/983fbe52316076bebeb498d5567f2519c1833745))
* **cli-service:** prod切换成js输出 ([0b89443](https://git.sdp.nd/gem-mine/toolkit/commits/0b894439a578c5396fd364b7bf70a955452e05da))





## [2.12.1](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.12.0...@gem-mine/cli-service@2.12.1) (2021-02-02)


### Bug Fixes

* **cli-service:** 移除node版本要求 因为不独立运行 ([2c4489c](https://git.sdp.nd/gem-mine/toolkit/commits/2c4489c8f8ee84a7d8b867c393be20ecff20da06))





# [2.12.0](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.11.8...@gem-mine/cli-service@2.12.0) (2021-02-02)


### Features

* **cli-service:** 支持tsnode/js运行 ([2b2ebd4](https://git.sdp.nd/gem-mine/toolkit/commits/2b2ebd42b175e561ecf9a7eb5be9f136d4e27a73))
* **cli-service:** new build ([983fbe5](https://git.sdp.nd/gem-mine/toolkit/commits/983fbe52316076bebeb498d5567f2519c1833745))
* **cli-service:** prod切换成js输出 ([0b89443](https://git.sdp.nd/gem-mine/toolkit/commits/0b894439a578c5396fd364b7bf70a955452e05da))





## [2.11.8](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.11.8-alpha.0...@gem-mine/cli-service@2.11.8) (2021-01-28)

**Note:** Version bump only for package @gem-mine/cli-service





## [2.11.7](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.11.7-alpha.0...@gem-mine/cli-service@2.11.7) (2021-01-12)

**Note:** Version bump only for package @gem-mine/cli-service





## [2.11.6](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.11.5-alpha.0...@gem-mine/cli-service@2.11.6) (2020-12-16)

**Note:** Version bump only for package @gem-mine/cli-service





## [2.11.5](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.11.5-alpha.0...@gem-mine/cli-service@2.11.5) (2020-12-16)

**Note:** Version bump only for package @gem-mine/cli-service





## [2.11.4](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.11.2...@gem-mine/cli-service@2.11.4) (2020-12-02)


### Bug Fixes

* **cli-service:** 修正路径错误 ([33ea816](https://git.sdp.nd/gem-mine/toolkit/commits/33ea8169caafcd9feccec2067145ef1d8c5efa18))





## [2.11.2](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.11.2-alpha.0...@gem-mine/cli-service@2.11.2) (2020-11-19)

**Note:** Version bump only for package @gem-mine/cli-service





## [2.11.1](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.11.1-alpha.0...@gem-mine/cli-service@2.11.1) (2020-09-25)


### Bug Fixes

* **cli-service:** node14兼容，不能传递number类型数值给fs.writeFileSync ([84afd72](https://git.sdp.nd/gem-mine/toolkit/commits/84afd722b17cf3d201428b680ca3323cc7129501))





# [2.11.0](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.10.3...@gem-mine/cli-service@2.11.0) (2020-07-08)


### Bug Fixes

* **cli-service:** statistics永远返回false ([e7405bc](https://git.sdp.nd/gem-mine/toolkit/commits/e7405bc942885059ee5c82543bde5c3a63180e08))
* **cli-service:** 根据实测修复BUG ([fdfd648](https://git.sdp.nd/gem-mine/toolkit/commits/fdfd648000b0d8ae9d657f6f6ccbf9c2573fd9d0))


### Features

* **cli-service:** 本地服务不再自己尝试保存.gem-mine文件，改由cli自己实现 ([55e75fb](https://git.sdp.nd/gem-mine/toolkit/commits/55e75fb590aeb4747c40caeefc4361e5027f1cf9))





## [2.10.3](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.10.3-alpha.1...@gem-mine/cli-service@2.10.3) (2020-06-19)

**Note:** Version bump only for package @gem-mine/cli-service





## [2.10.2](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.10.0...@gem-mine/cli-service@2.10.2) (2020-06-15)

**Note:** Version bump only for package @gem-mine/cli-service





## [2.10.1](https://git.sdp.nd/gem-mine/toolkit/compare/@gem-mine/cli-service@2.10.0...@gem-mine/cli-service@2.10.1) (2020-06-12)


### Bug Fixes

* **cli-service:** pm2 disconnect穿透 ([b29c961](https://git.sdp.nd/gem-mine/toolkit/commits/b29c961568151f350ac512b219127665d7dfe9b5))
* **cli-service:** 修复创建项目服务启动失败会退出的BUG ([1e7ea4e](https://git.sdp.nd/gem-mine/toolkit/commits/1e7ea4e28ebaf1116f207701c9b0f55f74d55c4c))
* **cli-service:** 修正'/project'没有按照projectid检索的BUG ([cc26cf6](https://git.sdp.nd/gem-mine/toolkit/commits/cc26cf6b2978e72569ceefd32d0b2b3e40482339))
* **cli-service:** 修正fish-pro文档地址 ([6c7082f](https://git.sdp.nd/gem-mine/toolkit/commits/6c7082fe8266c3a4367fe3aa66de271a6d90482d))
* **cli-service:** 向下兼容恢复模块 ([3deec8a](https://git.sdp.nd/gem-mine/toolkit/commits/3deec8a5d3344965fa13cd2cf708b21124e2232c))
* **cli-service:** 新版routing-controllers导致的包依赖缺少 ([fbd198f](https://git.sdp.nd/gem-mine/toolkit/commits/fbd198fa62840429fded44ba24c757619ba5c980))
* **cli-service:** 更新依赖，修复console在apply下报错 ([d1cff7f](https://git.sdp.nd/gem-mine/toolkit/commits/d1cff7f2bdabaf0dd6f8505079d6d27727adad51))
* **cli-service:** 移除无用的preuninstall ([6f2d98e](https://git.sdp.nd/gem-mine/toolkit/commits/6f2d98e45b7f0a344b7f43e6987e0d8e603db520))
* **cli-service:** 补充缺少的koa-bodyparser ([33c734c](https://git.sdp.nd/gem-mine/toolkit/commits/33c734cf4001bd9d6cdcdbc0e438c4c3a4fc8ff5))
* **cli-service:** 语法错误 ([540fe5b](https://git.sdp.nd/gem-mine/toolkit/commits/540fe5b6c34bbac8463907328b05cfbb564b720b))


### Features

* cli-service新UI ([420de1a](https://git.sdp.nd/gem-mine/toolkit/commits/420de1a4b93a22039ed36f91e63f5b2d0d2882ff))
* **cl-service-ui:** 实现函数调用 ([94b4afe](https://git.sdp.nd/gem-mine/toolkit/commits/94b4afe15cb1e67d7881303e42d42959423186e3))
* **cli:** 支持Yarn安装进度条 ([4b08b52](https://git.sdp.nd/gem-mine/toolkit/commits/4b08b52ebd243d1456306226d635f468bfb49417))
* **cli:** 新增postuninstall后，删除PM2环境 ([d3bd3ca](https://git.sdp.nd/gem-mine/toolkit/commits/d3bd3caac485166478eb8512518d8d88e7010b89))
* **cli-service:** ui新构建 ([290528f](https://git.sdp.nd/gem-mine/toolkit/commits/290528fa43a514e41306bb9800cc319d35b3c39e))
* **cli-service:** 同步新的UI代码 ([3e23334](https://git.sdp.nd/gem-mine/toolkit/commits/3e2333442ae321d8fdb34ef33d6e6b8fd2168e9d))
* **cli-service:** 后台API支持add指令 ([b12244a](https://git.sdp.nd/gem-mine/toolkit/commits/b12244a779a331e76ec0827b2c71b1d97e82ecbe))
* **cli-service:** 后台API支持teminal-exec ([5aef656](https://git.sdp.nd/gem-mine/toolkit/commits/5aef65631f4abef828a3650949b6f0a41312fa1d))
* **cli-service:** 增加console事件 ([c4f1a9f](https://git.sdp.nd/gem-mine/toolkit/commits/c4f1a9fa9fe37dbe012fde29d04ee7be6cb8f8d4))
* **cli-service:** 支持create ([7566ea1](https://git.sdp.nd/gem-mine/toolkit/commits/7566ea10c592ca7777ae0cc8ded5b29d6cf72a71))
* **cli-service:** 新增cli-service文档说明 ([0156a1e](https://git.sdp.nd/gem-mine/toolkit/commits/0156a1ef3b4e26991e2c1bb35b49ebe3e7e1170e))
* **cli-service:** 新增是否存活检测 ([cc3db47](https://git.sdp.nd/gem-mine/toolkit/commits/cc3db47b502d1001224fa25c2a2c9413504e3282))
* **cli-service:** 移除手动Stack console ([92ebb3c](https://git.sdp.nd/gem-mine/toolkit/commits/92ebb3c2733081d4914db814170dcea2636b9e92))



# 2.3.0 (2019-12-23)


### Bug Fixes

* **cli-service:** 表修正hook执行失败修复 ([4d1115f](https://git.sdp.nd/gem-mine/toolkit/commits/4d1115f12f7d34d4375e2d78dc7bd69b6b29e10f))



## 2.2.5 (2019-12-18)



## 2.2.4 (2019-12-18)



## 2.2.3 (2019-12-17)


### Bug Fixes

* **cli-service:** 修复error原生属性message无法传递 ([e86516b](https://git.sdp.nd/gem-mine/toolkit/commits/e86516b74f2802e6cc3dec7e573f00699b2433c7))
* **cli-service:** 修正全局错误导致的日志来不及写入的问题，暂时setTimeout，后续再详细解决 ([20ac694](https://git.sdp.nd/gem-mine/toolkit/commits/20ac6947f61ccc4d39e0a750400d1d155568cedf))
* **cli-service:** 修正日志写入错误 ([ef5f1b3](https://git.sdp.nd/gem-mine/toolkit/commits/ef5f1b343df1fd72cbbaa3c627f17585b4771c1b))
* **cli-service:** 修正过去后置数据库修复的策略导致的star重复列 ([2612d23](https://git.sdp.nd/gem-mine/toolkit/commits/2612d231b5b51bc5f7f57a658244d8b72765a18d))
* **cli-service:** 恢复误删除的404模板，修改构建 ([8a32eec](https://git.sdp.nd/gem-mine/toolkit/commits/8a32eec22b01d089ec679c7764a241af19a9b61a))
* **cli-service:** 本地存储 version 逻辑修正 ([3062082](https://git.sdp.nd/gem-mine/toolkit/commits/306208256635ffba0cbdcf7e1202baddddff6787))
* **cli-service:** 生产状态下tsc默认跳过node_modules导致无编译 ([46a083c](https://git.sdp.nd/gem-mine/toolkit/commits/46a083cc3073aaf3d25d874fda97664181f398dd))
* **cli-service:** 补充缺少的错误处理 ([cd411cd](https://git.sdp.nd/gem-mine/toolkit/commits/cd411cdc31db57d5f57d7ca02dd90eecec244e23))


### Features

* **cli-service:** ts-node-dev支持指定端口 ([aec7cb3](https://git.sdp.nd/gem-mine/toolkit/commits/aec7cb3495facf055398787997b4d2d03a283452))
* **cli-service:** 启动的时候数据库自动同步schema ([fa90416](https://git.sdp.nd/gem-mine/toolkit/commits/fa904163ddb9256119f14956210f18801e7947cd))
* **cli-service:** 完善后台UI统计，controller增加子route，表改名， 修复tslint错误 ([ea8f798](https://git.sdp.nd/gem-mine/toolkit/commits/ea8f7983fb6a4d56df624735efd37dfce4f17c14))
* **cli-service:** 客户端服务器端增加socketio demo ([bbf7189](https://git.sdp.nd/gem-mine/toolkit/commits/bbf7189b405f863dc14b9c1b012446079d8af5fc))
* **cli-service:** 恢复数据库日志输出 ([9dc8e64](https://git.sdp.nd/gem-mine/toolkit/commits/9dc8e64ea580ffd14864b84e8b6f3aee65a55d62))
* **cli-service:** 新增project.subTemplatelist字段 ([54d7544](https://git.sdp.nd/gem-mine/toolkit/commits/54d75441c624faa794d4588efddbde4118d5cc07))
* **cli-service:** 新增UI组件数据统计表 ([6431f4d](https://git.sdp.nd/gem-mine/toolkit/commits/6431f4dc9418d54447d6204f22140b1d644018b4))
* **cli-service:** 新增启动代码，尝试修复弹窗问题 ([101205d](https://git.sdp.nd/gem-mine/toolkit/commits/101205d580f4c3d2619e2a3fe1f1441354ca20d3))
* **cli-service:** 新增本地component token保存 ([b9095d0](https://git.sdp.nd/gem-mine/toolkit/commits/b9095d0c5c729907ccbfe759aeb887b797ebdb39))
* **cli-service:** 服务器端接收CMD功能完成 ([07becdb](https://git.sdp.nd/gem-mine/toolkit/commits/07becdb3a4358a3ac204d1b3ad8bc0855c37aaf8))
* **cli-service:** 移除stderr判定为错误，增加ansi转码 ([ad8a32c](https://git.sdp.nd/gem-mine/toolkit/commits/ad8a32caee7d65297e92fe96c8fb1ff5fff6e96f))
* **cli-service-ui:** 隐藏创建项目入口 ([babba4b](https://git.sdp.nd/gem-mine/toolkit/commits/babba4bb1d43c98795b08935b08f3d96340dc1d7))



## 1.2.1 (2019-09-30)


### Bug Fixes

* **cli-service:** os 接口执行本地指令增加 windowsHide ([589520e](https://git.sdp.nd/gem-mine/toolkit/commits/589520eca65ca5322e83989c9a036fc71bbcf6e4))
* **cli-service:** 修复 cli-service-ui 创建项目失败问题 ([88e84cb](https://git.sdp.nd/gem-mine/toolkit/commits/88e84cbb3f6a5bd39e6cbc0d2dbf66469427e2af))


### Features

* 关联仓库，打开文件夹功能增加 ([a597501](https://git.sdp.nd/gem-mine/toolkit/commits/a5975011e41f16750a7dc586640346031afd6059))
* 本地 ui 库版本，服务端 ui 库最近版本获取能力增加 ([5b10b5a](https://git.sdp.nd/gem-mine/toolkit/commits/5b10b5a22dfdedc0a1cfd459c3a807dca6f96c80))



# 1.2.0 (2019-09-05)


### Bug Fixes

* **cli-service:** 修复数据库未同步问题 ([287ef24](https://git.sdp.nd/gem-mine/toolkit/commits/287ef24dd218fc213e462d7a064b5a35b9ed0c75))



## 1.1.11 (2019-08-28)


### Bug Fixes

* **cli-service:** 修正打开编辑器异常 ([2b4fa06](https://git.sdp.nd/gem-mine/toolkit/commits/2b4fa06e61a2db18331dcd0522b45d7a962a2a7f))



## 1.1.9 (2019-08-15)


### Features

* **cli-service:** project put 方法修改 ([4e58b09](https://git.sdp.nd/gem-mine/toolkit/commits/4e58b0990b72b94b2bb65430acac69b93245e8b8))
* **cli-service:** 添加open 接口、修改delete 接口 ([36a33c0](https://git.sdp.nd/gem-mine/toolkit/commits/36a33c0196a8f543ebf29e773cda8d552ba29fcf))



## 1.1.5 (2019-07-24)


### Bug Fixes

* **cli-service:** project_id 写入本地文件逻辑调整 ([ce40452](https://git.sdp.nd/gem-mine/toolkit/commits/ce404521aea6e768646db98be4c1665b73147f8b))



## 1.1.4 (2019-07-22)



## 1.1.3 (2019-07-16)


### Features

* **cli-service:** 创建成功设置本地 .gem-mine 文件 ([305f047](https://git.sdp.nd/gem-mine/toolkit/commits/305f047e74dca2bfb8854384e8c823b5a9eb408c))



## 1.1.1 (2019-07-05)


### Bug Fixes

* **cli-service:** sqlite 启动 transactionType 修改为 DEFERRED ([fba7858](https://git.sdp.nd/gem-mine/toolkit/commits/fba785854433d26f57b0bd4658ec224bff0ecfa0))



## 1.0.9 (2019-06-27)


### Bug Fixes

* **cli-service:** lodash 库引入写法调整 ([346b824](https://git.sdp.nd/gem-mine/toolkit/commits/346b82443b5faa9949e0e3b5e3a1ea33d425c2e0))



## 1.0.8 (2019-06-24)


### Bug Fixes

* **cli-service:** 本地服务 Project 表路径首字母都转为大写 ([4d6063a](https://git.sdp.nd/gem-mine/toolkit/commits/4d6063aba8b5ccf00f2cf63ae58de469d8e4ea66))


### Features

* **cli-service:** 服务启动增加回调通知 ([4f1520a](https://git.sdp.nd/gem-mine/toolkit/commits/4f1520a2c426ca8065497d529742d50479f9810a))



## 1.0.6 (2019-06-21)


### Bug Fixes

* cli 卸载前停止本地服务 ([78e407b](https://git.sdp.nd/gem-mine/toolkit/commits/78e407bf2d35930624af16e3a1029eff7ca7a1a9))



## 1.0.4 (2019-06-18)



## 1.0.3 (2019-06-17)



## 1.0.2 (2019-06-12)



# 1.0.0 (2019-06-03)


### Bug Fixes

* **cli-service:** create project name 没有保存问题修复 ([238e5e2](https://git.sdp.nd/gem-mine/toolkit/commits/238e5e20febffa23ff921e5152da711d68d1934b))


### Features

* **cli-service:** update 接口增加 ([6aa1d82](https://git.sdp.nd/gem-mine/toolkit/commits/6aa1d8229f2ffb00146b583755aad94e8ef42695))
* **cli-service:** 增加删除项目接口 ([7d3fccb](https://git.sdp.nd/gem-mine/toolkit/commits/7d3fccb0eb7db0e1bfe86c4afcc8813433f0c6b5))



## 0.1.15 (2019-05-27)


### Bug Fixes

* **cli-service:** cli 创建项目去除 confirm 流程 ([bd625ee](https://git.sdp.nd/gem-mine/toolkit/commits/bd625ee1d071915c3152b0992f4cc618366a6b3d))



## 0.1.14 (2019-05-27)


### Features

* **cli-service:** 增加本地 template 数据存储模块 ([065c5f3](https://git.sdp.nd/gem-mine/toolkit/commits/065c5f31e6f95d947d524aa4f0ddf3ded656b16f))
* **cli-service:** 本地服务心跳检查增加，用于确定有多少个客户端打开 ([85808ae](https://git.sdp.nd/gem-mine/toolkit/commits/85808ae47adf8974a15b225437a4047e8087d1e8))
* **cli-service:** 页面代码增加 ([14d59a5](https://git.sdp.nd/gem-mine/toolkit/commits/14d59a578079ca362bb2d99453d5c6962b8d6172))



## 0.1.11 (2019-05-16)


### Bug Fixes

* **cli-service:** generate 接口执行前先 ensureDir ([32518be](https://git.sdp.nd/gem-mine/toolkit/commits/32518bebc95b00e99d57c2c1b6be8c234223790e))
* **cli-service:** project getList 入参问题修正 ([0682905](https://git.sdp.nd/gem-mine/toolkit/commits/0682905645db6f372c2ce2fd74e1e396e400605d))
* **cli-service:** 构建埋点查询语法问题修复 ([0289f5b](https://git.sdp.nd/gem-mine/toolkit/commits/0289f5b59b86431b694698cc2c49b37e80826b3f))


### Features

* **@gem-mine/cli-service:** project list 查询支持 path 与 name 查询条件 ([490e1cd](https://git.sdp.nd/gem-mine/toolkit/commits/490e1cde3446f1dbdbf6eb3462caef707e53a5f5))
* **cli-service:** 命令行工具调用及创建项目接口增加 ([29d0ed8](https://git.sdp.nd/gem-mine/toolkit/commits/29d0ed8c9715b8a69bb367d97ad3ea9d6256582e))
