@kcinternals/nx-plugin
Version:
nx plugins for kcws internal usage
37 lines (36 loc) • 966 B
JSON
{
"$schema": "https://json-schema.org/draft-07/schema",
"$id": "Generator",
"title": "Nx Plugin Generator",
"description": "Create a Generator for an Nx Plugin.",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Generator name",
"$default": {
"$source": "argv",
"index": 0
},
"minLength": 1,
"maxLength": 64,
"x-prompt": "What name would you like to use?"
},
"description": {
"type": "string",
"description": "Generator description",
"$default": {
"$source": "argv",
"index": 1
},
"maxLength": 64,
"x-prompt": "What description would you like to use?"
},
"plugin": {
"type": "string",
"description": "Target Nx plugin (default to @kcinternals/nx-plugin)",
"x-prompt": "What is Nx plugin to install?"
}
},
"required": ["name", "description", "@kcinternals/nx-plugin"]
}