UNPKG

@nx/nest

Version:

The Nx Plugin for Nest contains executors and generators for allowing your workspace to create powerful Nest best in class APIs.

43 lines (42 loc) 1.27 kB
{ "$schema": "https://json-schema.org/schema", "$id": "NxNestDecoratorGenerator", "title": "Nest Decorator Options Schema", "description": "Nest Decorator Options Schema.", "cli": "nx", "type": "object", "examples": [ { "description": "Generate the decorator `Foo` at `myapp/src/app/foo.decorator.ts`", "command": "nx g @nx/nest:decorator myapp/src/app/foo.decorator.ts" }, { "description": "Generate the decorator without providing the file extension. It results in the decorator `Foo` at `myapp/src/app/foo.decorator.ts`", "command": "nx g @nx/nest:decorator myapp/src/app/foo" } ], "properties": { "path": { "description": "The file path to the decorator. Relative to the current working directory.", "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What is the decorator file path?" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false, "x-priority": "internal" }, "language": { "description": "Nest decorator language.", "type": "string", "enum": ["js", "ts"] } }, "additionalProperties": false, "required": ["path"] }