-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
schema.json
98 lines (98 loc) · 2.8 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"$schema": "https://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
},
"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."
},
"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", "bun"]
},
"framework": {
"description": "The framework which the application is using",
"type": "string",
"enum": ["express", "koa", "fastify", "nest", "none"]
},
"nextAppDir": {
"description": "Enable the App Router for this project.",
"type": "boolean",
"default": true
},
"nextSrcDir": {
"description": "Generate a `src` directory for this project.",
"type": "boolean",
"default": true
},
"e2eTestRunner": {
"description": "The tool to use for running e2e tests.",
"type": "string",
"enum": ["playwright", "cypress", "jest", "detox", "none"]
},
"ssr": {
"description": "Enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering) for the Angular application.",
"type": "boolean",
"default": false
},
"prefix": {
"description": "The prefix to use for Angular component and directive selectors.",
"type": "string"
},
"formatter": {
"description": "The tool to use for code formatting.",
"type": "string",
"enum": ["none", "prettier"],
"default": "none"
}
},
"additionalProperties": true
}