Complete Nx plugin development toolkit: create custom generators, executors, and extend Nx workspaces with reusable automation
93
94%
Does it follow best practices?
Impact
92%
1.00xAverage score across 5 eval scenarios
Passed
No known issues
Use this reference when designing schema.json for custom Nx executors.
{
"$schema": "http://json-schema.org/schema",
"type": "object",
"properties": {
"outputPath": {
"type": "string",
"description": "Where generated artifacts are written"
},
"watch": {
"type": "boolean",
"default": false,
"description": "Enable incremental watch mode"
}
},
"required": ["outputPath"]
}required for mandatory operational parameters.{
"type": "object",
"properties": {
"mode": { "enum": ["dev", "prod"] },
"minify": { "type": "boolean" }
},
"allOf": [
{
"if": { "properties": { "mode": { "const": "prod" } } },
"then": { "required": ["minify"] }
}
]
}