@yolkai/nx-workspace
Version:
36 lines (35 loc) • 1.11 kB
JSON
{
"title": "Run Commands",
"description": "Run Commands",
"type": "object",
"properties": {
"commands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "Command to run in child process"
}
},
"additionalProperties": false,
"required": ["command"]
}
},
"parallel": {
"type": "boolean",
"description": "Run commands in parallel",
"default": true
},
"readyWhen": {
"type": "string",
"description": "String to appear in stdout or stderr that indicates that the task is done. This option can only be used when parallel is set to true. If not specified, the task is done when all the child processes complete."
},
"args": {
"type": "string",
"description": "Extra arguments. You can pass them as follows: ng run project:target --args='--wait=100'. You can them use {args.wait} syntax to interpolate them in the workspace config file."
}
},
"required": ["commands"]
}