Skip to content

Commit

Permalink
chore: update versionrc
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Aug 19, 2023
1 parent 97336b7 commit 249d4b7
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .versionrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
types: [
{ type: 'feat', section: '✨ Features' },
{ type: 'fix', section: 'πŸ› Bug Fixes' },
{ type: 'docs', section: '✏️ Documentation' },
{ type: 'style', section: 'πŸ’„ Styles' },
{ type: 'refactor', section: '♻️ Code Refactoring' },
{ type: 'perf', section: '⚑ Performance Improvements' },
{ type: 'test', section: 'βœ… Tests' },
{ type: 'revert', section: 'βͺ Revert', hidden: true },
{ type: 'build', section: 'πŸ“¦β€ Build System' },
{ type: 'chore', section: 'πŸš€ Chore' },
{ type: 'ci', section: 'πŸ‘· Continuous Integration' },
],
};
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,3 +492,23 @@ pnpm install standard-version -D
}
```

> .versionrc.js
```json
module.exports = {
types: [
{ type: 'feat', section: '✨ Features' },
{ type: 'fix', section: 'πŸ› Bug Fixes' },
{ type: 'docs', section: '✏️ Documentation' },
{ type: 'style', section: 'πŸ’„ Styles' },
{ type: 'refactor', section: '♻️ Code Refactoring' },
{ type: 'perf', section: '⚑ Performance Improvements' },
{ type: 'test', section: 'βœ… Tests' },
{ type: 'revert', section: 'βͺ Revert', hidden: true },
{ type: 'build', section: 'πŸ“¦β€ Build System' },
{ type: 'chore', section: 'πŸš€ Chore' },
{ type: 'ci', section: 'πŸ‘· Continuous Integration' },
],
};
```

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "standard-dev-demo",
"version": "1.0.2",
"version": "1.0.3",
"description": "> Stack: pnpm, eslint, prettier, commitizen, husky, commitlint",
"main": "index.ts",
"scripts": {
Expand Down

0 comments on commit 249d4b7

Please sign in to comment.