UNPKG

@nx/angular

Version:

The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypre

34 lines (33 loc) 1.51 kB
{ "$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{% callout type=\"warning\" title=\"Overrides\" %}This generator will overwrite your webpack config. If you have additional custom configuration in your config file, it will be lost!{% /callout %}.", "additionalProperties": false, "examples": [ { "command": "nx g @nx/angular:convert-to-with-mf --project mf-app", "description": "Convert a Module Federation Project using legacy webpack config to use the `withModuleFederation` helper." } ], "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?", "x-priority": "important" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false, "x-priority": "internal" } } }