fix(core): add release.projects option to schema (#20645)

This commit is contained in:
James Henry 2023-12-08 02:12:53 +04:00 committed by GitHub
parent 61429c05a6
commit d11a22bbd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,6 +101,22 @@
"description": "Configuration for the nx release commands.",
"additionalProperties": false,
"properties": {
"projects": {
"oneOf": [
{
"type": "string",
"description": "A project name"
},
{
"type": "array",
"description": "An array of project names",
"minItems": 1,
"items": {
"type": "string"
}
}
]
},
"groups": {
"type": "object",
"additionalProperties": {
@ -113,14 +129,16 @@
"projects": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
"type": "string",
"description": "A project name"
},
{
"type": "string"
"type": "array",
"description": "An array of project names",
"minItems": 1,
"items": {
"type": "string"
}
}
]
},
@ -421,6 +439,7 @@
{
"type": "array",
"description": "An array of project names",
"minItems": 1,
"items": {
"type": "string"
}