Skip to content

Commit

Permalink
fix(config): schema commit type
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Jun 27, 2022
1 parent 101b1cb commit 0747fe1
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion packages/config/schema.json
Expand Up @@ -50,7 +50,27 @@
"default": []
},
"commit": {
"type": "boolean",
"anyOf": [
{
"type": "array",
"items": [
{
"type": "string",
"title": "Commit Generator Path"
},
{ "title": "Commit Generator Options" }
],
"minItems": 1,
"maxItems": 2
},
{
"type": "boolean"
},
{
"type": "string",
"title": "Commit Generator Path"
}
],
"description": "Determines whether Changesets should commit the results of the add and version command.",
"default": false
},
Expand Down

0 comments on commit 0747fe1

Please sign in to comment.