repo-fixer
v0.1.1
Published
```json { "baseDirectory": ".", //optional default "git": { "mode": "create-branch", // optional default "mainBranch": "master", //optional default "remote": "origin", //optional default "destinationBranch": "technical/update-deps", "commitMessage": "[TIK
Downloads
5
Readme
Configuration
{
"baseDirectory": ".", //optional default
"git": {
"mode": "create-branch", // optional default
"mainBranch": "master", //optional default
"remote": "origin", //optional default
"destinationBranch": "technical/update-deps",
"commitMessage": "[TIKT-145] updating dependencies for that reason",
"commitFlags": [], //optional default
"pushFlags": [] //optional default
},
"projects": [
"project-1",
"project-two",
"third-project"
],
"commands": [
"npm i @that/[email protected]",
"npm i [email protected]"
],
"testCommand": "npm test" //optional default to skip
}
Git Configuration
mode
create-branch
- will create a new branch and push it to the specified remoteupdate-branch
- will checkout an existing remote branch and commit/push changes to itskip
- does not run any git commands before or after the specifiedcommands