-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
schema.json
75 lines (75 loc) · 2.44 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
{
"$schema": "https://json-schema.org/schema",
"$id": "GeneratorAngularUniversalSetup",
"cli": "nx",
"title": "Generate Angular Universal (SSR) setup for an Angular App",
"description": "Create the additional configuration required to enable SSR via Angular Universal for an Angular application.",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the application to generate the Angular Universal configuration for.",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What app would you like to generate an Angular Universal configuration for?",
"x-dropdown": "projects"
},
"appId": {
"type": "string",
"format": "html-selector",
"description": "The `appId` to use with `withServerTransition`.",
"default": "serverApp",
"x-deprecated": "This is deprecated and ignored since Angular 16 and not supported since Angular 17."
},
"main": {
"type": "string",
"format": "path",
"description": "The name of the main entry-point file.",
"default": "main.server.ts"
},
"serverFileName": {
"type": "string",
"default": "server.ts",
"description": "The name of the Express server file."
},
"serverPort": {
"type": "number",
"default": 4000,
"description": "The port for the Express server."
},
"rootModuleFileName": {
"type": "string",
"format": "path",
"description": "The name of the root module file",
"default": "app.server.module.ts"
},
"rootModuleClassName": {
"type": "string",
"description": "The name of the root module class.",
"default": "AppServerModule"
},
"standalone": {
"type": "boolean",
"description": "Use Standalone Components to bootstrap SSR."
},
"hydration": {
"type": "boolean",
"description": "Set up Hydration for the SSR application. It defaults to `true` for Angular versions >= 17.0.0. Otherwise, it defaults to `false`."
},
"skipFormat": {
"type": "boolean",
"description": "Skip formatting the workspace after the generator completes.",
"x-priority": "internal"
},
"skipPackageJson": {
"type": "boolean",
"default": false,
"description": "Do not add dependencies to `package.json`.",
"x-priority": "internal"
}
},
"required": ["project"],
"additionalProperties": false
}