-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
schema.json
20 lines (20 loc) · 1.02 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "ConvertToWithMFGenerator",
"cli": "nx",
"title": "Convert to withModuleFederation Generator Options Schema",
"type": "object",
"description": "Converts an old micro frontend configuration to use the new withModuleFederation helper. It will run successfully if the following conditions are met: \n - Is either a host or remote application \n - Shared npm package configurations have not been modified \n - Name used to identify the Micro Frontend application matches the project name \n\n _**Note:** This generator will overwrite your webpack config. If you have additional custom configuration in your config file, it will be lost!_.",
"additionalProperties": false,
"properties": {
"project": {
"type": "string",
"description": "The name of the micro frontend project to migrate.",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What micro frontend project would you like to migrate?"
}
}
}