{ "name": "class", "factory": "./src/generators/class/class", "schema": { "$schema": "https://json-schema.org/schema", "$id": "NxNestClassGenerator", "title": "Nest Class Options Schema", "description": "Nest Class Options Schema.", "cli": "nx", "type": "object", "examples": [ { "description": "Generate the class `Foo` at `myapp/src/app/foo.ts`", "command": "nx g @nx/nest:class myapp/src/app/foo.ts" }, { "description": "Generate the class without providing the file extension. It results in the class `Foo` at `myapp/src/app/foo.ts`", "command": "nx g @nx/nest:class myapp/src/app/foo" } ], "properties": { "path": { "description": "The file path to the class. Relative to the current working directory.", "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What is the class file path?" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false, "x-priority": "internal" }, "unitTestRunner": { "description": "Test runner to use for unit tests.", "type": "string", "enum": ["jest", "none"], "default": "jest" }, "language": { "description": "Nest class language.", "type": "string", "enum": ["js", "ts"] } }, "additionalProperties": false, "required": ["path"], "presets": [] }, "description": "Run the `class` NestJS generator with Nx project support.", "implementation": "/packages/nest/src/generators/class/class.ts", "aliases": [], "hidden": false, "path": "/packages/nest/src/generators/class/schema.json", "type": "generator" }