mirror of
https://github.com/go-task/task.git
synced 2025-12-16 11:47:44 +01:00
fix(schema): workaround IntelliJ JSON Schema validation bug (#2576)
This commit is contained in:
@@ -48,6 +48,8 @@
|
||||
(e.g., URLs or namespaced functions) (#2101, #2573 by @vmaerten).
|
||||
- The `--yes` flag is now accessible in templates via the new `CLI_ASSUME_YES`
|
||||
variable (#2577, #2479 by @semihbkgr).
|
||||
- Fixed false positive "property 'for' is not allowed" warnings in IntelliJ when
|
||||
using `for` loops in Taskfiles (#2576 by @vmaerten).
|
||||
|
||||
## v3.45.5 - 2025-11-11
|
||||
|
||||
|
||||
@@ -233,7 +233,10 @@
|
||||
"$ref": "#/definitions/defer_cmd_call"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/for_cmds_call"
|
||||
"$ref": "#/definitions/for_cmd_call"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/for_task_call"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -401,7 +404,7 @@
|
||||
"additionalProperties": false,
|
||||
"required": ["defer"]
|
||||
},
|
||||
"for_cmds_call": {
|
||||
"for_cmd_call": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"for": {
|
||||
@@ -415,6 +418,20 @@
|
||||
"description": "Silent mode disables echoing of command before Task runs it",
|
||||
"type": "boolean"
|
||||
},
|
||||
"platforms": {
|
||||
"description": "Specifies which platforms the command should be run on.",
|
||||
"$ref": "#/definitions/platforms"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": ["for", "cmd"]
|
||||
},
|
||||
"for_task_call": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"for": {
|
||||
"$ref": "#/definitions/for"
|
||||
},
|
||||
"task": {
|
||||
"description": "Task to run",
|
||||
"type": "string"
|
||||
@@ -423,14 +440,17 @@
|
||||
"description": "Values passed to the task called",
|
||||
"$ref": "#/definitions/vars"
|
||||
},
|
||||
"silent": {
|
||||
"description": "Silent mode disables echoing of command before Task runs it",
|
||||
"type": "boolean"
|
||||
},
|
||||
"platforms": {
|
||||
"description": "Specifies which platforms the command should be run on.",
|
||||
"$ref": "#/definitions/platforms"
|
||||
}
|
||||
},
|
||||
"oneOf": [{ "required": ["cmd"] }, { "required": ["task"] }],
|
||||
"additionalProperties": false,
|
||||
"required": ["for"]
|
||||
"required": ["for", "task"]
|
||||
},
|
||||
"for_deps_call": {
|
||||
"type": "object",
|
||||
@@ -451,9 +471,8 @@
|
||||
"$ref": "#/definitions/vars"
|
||||
}
|
||||
},
|
||||
"oneOf": [{ "required": ["cmd"] }, { "required": ["task"] }],
|
||||
"additionalProperties": false,
|
||||
"required": ["for"]
|
||||
"required": ["for", "task"]
|
||||
},
|
||||
"for": {
|
||||
"anyOf": [
|
||||
@@ -475,7 +494,7 @@
|
||||
"description": "A list of values to iterate over",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"type": ["string", "number"]
|
||||
}
|
||||
},
|
||||
"for_attribute": {
|
||||
|
||||
Reference in New Issue
Block a user