Skip to content

Commit 979aeda

Browse files
committed
feat: 0.0.6 fix bug
1 parent 882eeea commit 979aeda

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,23 @@ cd <项目名称>
2424
npm install
2525
```
2626

27+
安装过程中有以下四种模式可供选择
28+
29+
1. 默认模式:包含webpack、babel、eslint、commitlint
30+
2. css模式:默认模式 + css和less支持
31+
3. typescript:默认模式 + ts 支持
32+
4. 原始模式:不推荐
33+
2734
----
2835

2936
附加功能: 启动一个开发服务器
3037

3138
```
3239
ebuild run
33-
```
40+
```
41+
42+
## QA
43+
44+
如在windos上遇到 C:\xxx\Roaming\npm\ebuild.ps1,因为在此系统上禁止运行脚本。
45+
46+
请CMD执行 set-ExecutionPolicy RemoteSigned

bin/ebuild-init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function downloadProject(answers) {
115115

116116
render('package.json', answers);
117117

118-
if(mode !== 'origin'){
118+
if(answers.mode !== 'origin'){
119119
render('webpack-config/build.js', answers);
120120
}
121121

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ebuild-cli",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "A project for build a project easily",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)