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.

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