## Current Behavior Our Module Federation support across Angular and React contains Host and Remote generators. The module-federation.io docs have started to shift towards Consumer and Producer terminology for better translation of meanings across languages. ## Expected Behavior To stay consistent with official terminology, add aliases for the host and remote generators to allow for the new terminology. i.e. host -> consumer, remote -> producer. Therefore the following are all valid ```shell nx g host shell --remotes=remote1 nx g host shell --producers=producer1 nx g consumer shell --remotes=remote1 nx g consumer shell --producers=remote1 nx g remote remote1 --host=shell nx g remote remote1 --consumer=shell nx g producer producer1 --host=shell nx g producer producer1 --consumer=shell ```
21 lines
760 B
JSON
21 lines
760 B
JSON
{
|
|
"name": "module-federation-static-server",
|
|
"implementation": "/packages/react/src/executors/module-federation-static-server/module-federation-static-server.impl.ts",
|
|
"schema": {
|
|
"version": 2,
|
|
"outputCapture": "direct-nodejs",
|
|
"title": "Module Federation Static Dev Server",
|
|
"description": "Serve a Consumer (host) application statically along with its Producers (remotes).",
|
|
"cli": "nx",
|
|
"type": "object",
|
|
"properties": { "serveTarget": { "type": "string" } },
|
|
"required": ["serveTarget"],
|
|
"presets": []
|
|
},
|
|
"description": "Serve a host and its remotes statically.",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/react/src/executors/module-federation-static-server/schema.json",
|
|
"type": "executor"
|
|
}
|