Merge branch 'release/questions'
Showing
5 changed files
with
31 additions
and
5 deletions
... | @@ -2,6 +2,13 @@ | ... | @@ -2,6 +2,13 @@ |
2 | 2 | ||
3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | 3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. |
4 | 4 | ||
5 | ## [1.2.0](https://gitlab.zb100.com/templates/mui-template/compare/v1.1.0...v1.2.0) (2019-12-17) | ||
6 | |||
7 | |||
8 | ### Features | ||
9 | |||
10 | * add questions for init ([7a660a1](https://gitlab.zb100.com/templates/mui-template/commit/7a660a1aaf76fbab20447bc4d43e05a0fe136bd6)) | ||
11 | |||
5 | ## 1.1.0 (2019-12-14) | 12 | ## 1.1.0 (2019-12-14) |
6 | 13 | ||
7 | 14 | ... | ... |
1 | { | 1 | { |
2 | "name": "@zb100/${repository}", | 2 | "name": "@zb100/${projectName}", |
3 | "version": "1.0.0", | 3 | "version": "1.0.0", |
4 | "description": "", | 4 | "description": "${description}", |
5 | "dependencies": {}, | 5 | "dependencies": {}, |
6 | "devDependencies": { | 6 | "devDependencies": { |
7 | "@commitlint/cli": "^8.2.0", | 7 | "@commitlint/cli": "^8.2.0", |
... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
32 | }, | 32 | }, |
33 | "repository": { | 33 | "repository": { |
34 | "type": "git", | 34 | "type": "git", |
35 | "url": "ssh://git@gitlab.zb100.com:10022/mui/${repository}.git" | 35 | "url": "ssh://git@gitlab.zb100.com:10022/mui/${repo}.git" |
36 | }, | 36 | }, |
37 | "author": "${author}", | 37 | "author": "${author}", |
38 | "license": "ISC", | 38 | "license": "ISC", | ... | ... |
index.js
0 → 100644
1 | module.exports = { | ||
2 | projectName: { | ||
3 | desc: '请输入工程名称', | ||
4 | default: 'my-awesome-project' | ||
5 | }, | ||
6 | description: { | ||
7 | desc: '请输入工程描述', | ||
8 | default: 'my awesome project' | ||
9 | }, | ||
10 | author: { | ||
11 | desc: '请输入开发者名称', | ||
12 | default: '' | ||
13 | }, | ||
14 | repo: { | ||
15 | desc: '请输入 git 仓库名', | ||
16 | default: 'my-awesome-project' | ||
17 | } | ||
18 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | { | 1 | { |
2 | "name": "@zb100/mui-template", | 2 | "name": "@zb100/mui-template", |
3 | "version": "1.1.0", | 3 | "version": "1.2.0", |
4 | "description": "小程序组件模版", | 4 | "description": "小程序组件模版", |
5 | "main": "index.js", | ||
5 | "scripts": { | 6 | "scripts": { |
6 | "release": "standard-version", | 7 | "release": "standard-version", |
7 | "commit": "npx git-cz" | 8 | "commit": "npx git-cz" | ... | ... |
-
Please register or sign in to post a comment