fix: incorrect config parsing

This commit is contained in:
2023-08-19 20:18:40 +03:00
parent b5ca3152c1
commit e9d3c5e293
4 changed files with 48 additions and 7 deletions

38
README.md Normal file
View File

@@ -0,0 +1,38 @@
# rcz
Resultium commit standardization library
## Installation
1. Set up @resultium registry in an .npmrc file in your home directory with following content:
```
@resultium:registry=https://git.resultium.net/api/packages/technology/npm/
```
2. Install the package using npm
```
npm install -g @resultium/rcz
```
## Getting started
1. Make changes to your git initialized project
2. Run `rcz` in the root directory
3. Answer all the questions
4. Push to remote
## Configuration
You can create an `.rczrc` file in your root directory and specify available scopes and commit types
```json
{
"scopes": ["forms"],
"types": [
{
"label": "chore",
"value": "chore",
"hint": "a routine action"
}
]
}
```