UNPKG

@nrwl/workspace

Version:

Smart, Fast and Extensible Build System.

100 lines (99 loc) 2.57 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?" }, "cli": { "description": "CLI used for generating code and running tasks.", "type": "string", "enum": ["nx", "angular"], "default": "nx" }, "style": { "description": "The file extension to be used for style files.", "type": "string", "default": "css" }, "npmScope": { "type": "string", "description": "Npm scope for importing libs." }, "defaultBase": { "type": "string", "description": "Default base branch for affected." }, "skipInstall": { "description": "Skip installing dependency packages.", "type": "boolean", "default": false }, "skipGit": { "description": "Skip initializing a git repository.", "type": "boolean", "default": false, "alias": "g" }, "commit": { "description": "Initial repository commit information.", "oneOf": [ { "type": "boolean" }, { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string", "format": "email" }, "message": { "type": "string" } }, "required": ["name", "email"] } ], "default": true }, "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": ["tslint", "eslint"], "default": "eslint" }, "packageManager": { "description": "The package manager used to install dependencies.", "type": "string", "enum": ["npm", "yarn", "pnpm"] } }, "additionalProperties": true }