{ "name": "provider", "factory": "./src/generators/provider/provider", "schema": { "$schema": "https://json-schema.org/schema", "$id": "NxNestProviderGenerator", "title": "Nest Provider Options Schema", "description": "Nest Provider Options Schema.", "cli": "nx", "type": "object", "examples": [ { "description": "Generate the provider `Foo` at `myapp/src/app/foo.ts`", "command": "nx g @nx/nest:provider myapp/src/app/foo.ts" }, { "description": "Generate the provider without providing the file extension. It results in the provider `Foo` at `myapp/src/app/foo.ts`", "command": "nx g @nx/nest:provider myapp/src/app/foo" } ], "properties": { "path": { "description": "The file path to the provider. Relative to the current working directory.", "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What is the provider 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 provider language.", "type": "string", "enum": ["js", "ts"] } }, "additionalProperties": false, "required": ["path"], "presets": [] }, "description": "Run the `provider` NestJS generator with Nx project support.", "implementation": "/packages/nest/src/generators/provider/provider.ts", "aliases": [], "hidden": false, "path": "/packages/nest/src/generators/provider/schema.json", "type": "generator" }