Skip to content

Commit 947aacd

Browse files
committed
📝 fix(commit-types): add test documents
1 parent 8259e5d commit 947aacd

File tree

2 files changed

+41
-16
lines changed

2 files changed

+41
-16
lines changed

packages/commit-types/CHANGELOG.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
11
# 更新日志
2-
3-
## @gitmoji/commit-types [1.1.4](https://github.com/arvinxx/commit-gitmoji/compare/@gitmoji/commit-types@1.1.3...@gitmoji/commit-types@1.1.4) (2021-01-25)
4-
5-
6-
### 🐛 Bug Fixes | 修复
7-
8-
* **(Other)**: clean changelog ([8479426](https://github.com/arvinxx/commit-gitmoji/commit/8479426))
9-
* **(Other)**: link deps ([e4526ed](https://github.com/arvinxx/commit-gitmoji/commit/e4526ed))
10-
11-
# [@gitmoji/commit-types-v1.1.3](https://github.com/arvinxx/commit-gitmoji/compare/@gitmoji/commit-types-v1.1.2...@gitmoji/commit-types-v1.1.3) (2021-01-25)
12-
13-
14-
### 🐛 Bug Fixes | 修复
15-
16-
* clean changelog ([8479426](https://github.com/arvinxx/commit-gitmoji/commit/8479426))
17-
* link deps ([e4526ed](https://github.com/arvinxx/commit-gitmoji/commit/e4526ed))

packages/commit-types/README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# @gitmoji/commit-types
2+
3+
[![NPM version][type-image]][type-url] [![NPM downloads][download-image]][download-url] [![semantic-release][semantic-release]][semantic-release-repo] ![][license-url]
4+
5+
Gitmoji styles Commit Types
6+
7+
## Signature
8+
9+
```typescript
10+
type CommitTypes =
11+
| 'feat' // Introducing new features
12+
| 'fix' // Fixing a bug
13+
| 'refactor' // Refactoring code (Not Introducing features or fix)
14+
| 'docs' // add documents
15+
| 'test' // Adding unit tests or e2e test
16+
| 'perf' // Improving performance
17+
| 'revert' // Reverting changes or commits
18+
| 'style' // Updating the UI and style files
19+
| 'build' // build artifacts
20+
| 'ci' // working about CI build system
21+
| 'wip' // Work in progress
22+
| 'chore'; // Work with configuration or other stuff
23+
```
24+
25+
[license-url]: https://img.shields.io/github/license/arvinxx/commit-gitmoji
26+
27+
<!-- npm url -->
28+
29+
[type-image]: http://img.shields.io/npm/v/@gitmoji/commit-types.svg?style=flat-square&color=deepgreen&label=latest
30+
[type-url]: http://npmjs.org/package/@gitmoji/commit-types
31+
[download-image]: https://img.shields.io/npm/dm/html2sketch.svg?style=flat-square
32+
[download-url]: https://npmjs.org/package/html2sketch
33+
34+
<!-- semantic-release -->
35+
36+
[semantic-release]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
37+
[semantic-release-repo]: https://github.com/semantic-release/semantic-release
38+
39+
## License
40+
41+
[MIT](../../LICENSE) ® Arvin Xu

0 commit comments

Comments
 (0)