UNPKG

@nrwl/workspace

Version:

The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.

78 lines (77 loc) 2.17 kB
{ "$schema": "http://json-schema.org/schema", "$id": "NxWorkspaceNew", "title": "Create an empty workspace", "description": "Create an empty workspace.", "type": "object", "cli": "nx", "properties": { "name": { "description": "The name of the workspace.", "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the workspace?" }, "style": { "description": "The file extension to be used for style files.", "type": "string", "default": "css" }, "routing": { "description": "Add routing to the generated application.", "type": "boolean", "default": true }, "npmScope": { "type": "string", "description": "Npm scope for importing libs." }, "standaloneApi": { "description": "Use Standalone Components if generating an Angular application.", "type": "boolean", "default": false }, "defaultBase": { "type": "string", "description": "Default base branch for affected." }, "skipInstall": { "description": "Skip installing dependency packages.", "type": "boolean", "default": false }, "preset": { "description": "What to create in the new workspace.", "type": "string" }, "appName": { "type": "string", "description": "Application name." }, "nxCloud": { "description": "Connect the workspace to the free tier of the distributed cache provided by Nx Cloud.", "type": "boolean", "default": false }, "linter": { "description": "The tool to use for running lint checks.", "type": "string", "enum": ["eslint"], "default": "eslint" }, "packageManager": { "description": "The package manager used to install dependencies.", "type": "string", "enum": ["npm", "yarn", "pnpm"] }, "framework": { "description": "The framework which the application is using", "type": "string", "enum": ["express", "koa", "fastify", "connect"] } }, "additionalProperties": true }