/
schema.json
38 lines (38 loc) · 1.05 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
{
"$schema": "http://json-schema.org/schema",
"$id": "NxMFEHost",
"cli": "nx",
"title": "Nx MFE Host App",
"description": "Create an Angular Host Micro Frontend Application",
"type": "object",
"examples": [
{
"command": "nx g @nrwl/angular:mfe-host appName --remotes=remote1",
"description": "Create an Angular app with configuration in place for MFE. If remotes is provided, attach the remote app to this app's configuration."
}
],
"properties": {
"name": {
"type": "string",
"description": "The name to give to the host Angular app.",
"$default": {
"$source": "argv",
"index": 0
}
},
"host": {
"type": "string",
"description": "The name of the host app to attach this host app to."
},
"port": {
"type": "number",
"description": "The port on which this app should be served."
},
"dynamic": {
"type": "boolean",
"description": "Should the host app use dynamic federation?",
"default": false
}
},
"required": ["name"]
}