1 | {
|
2 | "$schema": "http://json-schema.org/schema",
|
3 | "$id": "NxWorkspaceNew",
|
4 | "title": "Create an empty workspace",
|
5 | "description": "Create an empty workspace.",
|
6 | "type": "object",
|
7 | "cli": "nx",
|
8 | "properties": {
|
9 | "name": {
|
10 | "description": "The name of the workspace.",
|
11 | "type": "string",
|
12 | "$default": {
|
13 | "$source": "argv",
|
14 | "index": 0
|
15 | },
|
16 | "x-prompt": "What name would you like to use for the workspace?"
|
17 | },
|
18 | "cli": {
|
19 | "description": "CLI used for generating code and running tasks.",
|
20 | "type": "string",
|
21 | "enum": ["nx", "angular"],
|
22 | "default": "nx"
|
23 | },
|
24 | "style": {
|
25 | "description": "The file extension to be used for style files.",
|
26 | "type": "string",
|
27 | "default": "css"
|
28 | },
|
29 | "npmScope": {
|
30 | "type": "string",
|
31 | "description": "Npm scope for importing libs."
|
32 | },
|
33 | "defaultBase": {
|
34 | "type": "string",
|
35 | "description": "Default base branch for affected."
|
36 | },
|
37 | "skipInstall": {
|
38 | "description": "Skip installing dependency packages.",
|
39 | "type": "boolean",
|
40 | "default": false
|
41 | },
|
42 | "preset": {
|
43 | "description": "What to create in the new workspace.",
|
44 | "type": "string"
|
45 | },
|
46 | "appName": {
|
47 | "type": "string",
|
48 | "description": "Application name."
|
49 | },
|
50 | "nxCloud": {
|
51 | "description": "Connect the workspace to the free tier of the distributed cache provided by Nx Cloud.",
|
52 | "type": "boolean",
|
53 | "default": false
|
54 | },
|
55 | "linter": {
|
56 | "description": "The tool to use for running lint checks.",
|
57 | "type": "string",
|
58 | "enum": ["eslint"],
|
59 | "default": "eslint"
|
60 | },
|
61 | "packageManager": {
|
62 | "description": "The package manager used to install dependencies.",
|
63 | "type": "string",
|
64 | "enum": ["npm", "yarn", "pnpm"]
|
65 | }
|
66 | },
|
67 | "additionalProperties": true
|
68 | }
|