Skip to content

Commit 77e052b

Browse files
author
郑傲今
committed
feat: Typescript
1 parent 05caa27 commit 77e052b

File tree

5 files changed

+8
-128
lines changed

5 files changed

+8
-128
lines changed

README-en.md

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -31,67 +31,6 @@ npm start
3131
npm run build
3232
~~~
3333

34-
## Log
35-
`2019-08-30`
36-
- Optimize global loading presentation logic
37-
38-
- When request is initiated, the loading is automatically rendered
39-
- You can also manually control the loading in other cases
40-
- Add [slcss](https://github.com/Jines-z/slcss), reduce the amount of css code
41-
42-
`2019-06-23`
43-
- Upgrade:react-starter-kit -> rs-admin-cli v3.0.0
44-
45-
`2019-05-24`
46-
- Upgrade to v2.2
47-
- Extract the package file from the local to the npm package and add version detection and updates
48-
- Expanded project configuration file
49-
50-
`2019-02-15`
51-
- Added timeout or exception handling
52-
- Added webpackChunkName
53-
54-
`2019-01-24`
55-
- Use the mock to replace the setTimeout to simulate landing
56-
- Added proxy and flyio, deleted fetch
57-
58-
`2018-12-17`
59-
- Compatible with IE
60-
61-
`2018-12-12`
62-
- Upgrade to v2.0.0
63-
64-
- Upgrade react@16.6.3 and mobx@5.7.0
65-
- Refactor `mobx` (The `mobx` in "v1" applies to mobile)
66-
- Added theme configuration in "project.config.js"
67-
- Streamline the path
68-
- Refactor styles folder
69-
70-
`2018-10-26`
71-
- Add ESLint (You can control the switch in "project.config.js")
72-
73-
`2018-10-22`
74-
- Upgrade to @babel 7
75-
76-
`2018-10-18`
77-
- Dynamically inject `dll` to index.html at compile time
78-
79-
`2018-07-20`
80-
- Modify the location of some folders
81-
82-
`2018-05-11`
83-
- Upgrade to webpack@4.21.0
84-
85-
- development (time):4.8s -> 3.8s
86-
- production (time):11.5s -> 5.4s
87-
- size:916kb -> 747kb
88-
- refresh:-100ms
89-
90-
`2018-03-29`
91-
- Global loading
92-
- Message
93-
94-
`2018-03-28`
95-
- Repairing the Right lacks the route props
34+
[Log](https://github.com/Jines-z/rs-admin-cli/wiki/Log)
9635

9736

README.md

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -31,65 +31,4 @@ npm start
3131
npm run build
3232
~~~
3333

34-
## 更新日志
35-
`2019-08-30`
36-
- 优化全局 loading 展示逻辑
37-
38-
- 发起 request 时,会自动渲染 loading
39-
- 也可以在其他情况下手动控制 loading
40-
- 添加 [slcss](https://github.com/Jines-z/slcss),减少 css 代码量
41-
42-
`2019-06-23`
43-
- 重构升级:react-starter-kit -> rs-admin-cli v3.0.0
44-
45-
`2019-05-24`
46-
- 升级到 v2.2
47-
- 将打包文件从本地抽离成 npm 包,并添加了版本检测与更新
48-
- 扩展了项目配置文件
49-
50-
`2019-02-15`
51-
- 添加超时/异常处理
52-
- 添加 webpackChunkName
53-
54-
`2019-01-24`
55-
- 使用 mock 替换 setTimeout 来模拟登录
56-
- 添加 proxy 和 flyio, 删除 fetch
57-
58-
`2018-12-17`
59-
- 兼容IE
60-
61-
`2018-12-12`
62-
- 升级至 v2.0.0
63-
64-
- 升级 react@16.6.3 和 mobx@5.7.0
65-
- 重构了 `mobx` (v1 版本中的使用方法适用于移动端)
66-
- 在 project.config.js 中添加了主题配置
67-
- 简化了 path
68-
- 重新设计了 styles 文件夹的结构
69-
70-
`2018-10-26`
71-
- 添加 ESLint (可以在 project.config.js" 控制是否开启)
72-
73-
`2018-10-22`
74-
- 升级 @babel 7
75-
76-
`2018-10-18`
77-
- 编译时,动态注入 dll
78-
79-
`2018-07-20`
80-
- 修改了一些文件夹的位置
81-
82-
`2018-05-11`
83-
- 升级 webpack 到 v4.21.0
84-
85-
- development (time):4.8s -> 3.8s
86-
- production (time):11.5s -> 5.4s
87-
- size:916kb -> 747kb
88-
- refresh:-100ms
89-
90-
`2018-03-29`
91-
- Global loading
92-
- Message
93-
94-
`2018-03-28`
95-
- 修复 Right 组件缺少props
34+
[更新日志](https://github.com/Jines-z/rs-admin-cli/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97)

lib/Inquirer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ const promptList = [{
1212
message: 'Choose a state management library: ',
1313
name: 'state',
1414
choices: [
15+
'redux',
1516
'mobx',
16-
'redux'
17+
'mobx-typescript'
1718
]
1819
}]
1920

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rs-admin-cli",
3-
"version": "3.0.2",
3+
"version": "3.1.0",
44
"description": "Command line interface for react",
55
"author": "zhengaojin <zhengaojin@live.cn>",
66
"private": false,
@@ -13,7 +13,8 @@
1313
"cli",
1414
"admin",
1515
"redux",
16-
"mobx"
16+
"mobx",
17+
"typescript"
1718
],
1819
"license": "MIT",
1920
"dependencies": {

0 commit comments

Comments
 (0)