@servicetitan/startup-mfe-compat
v0.3.0
Published
This CLI verifies that light bundles of given MFEs (microfrontends) will be loaded given host applications by analyzing package.json dependencies.
Keywords
Readme
This CLI verifies that light bundles of given MFEs (microfrontends) will be loaded given host applications by analyzing package.json dependencies.
Usage
Usage
$ npx @servicetitan/startup-mfe-compat check [options]
Options
--hostPackageJson host application package.json path (required)
--packageJson MFE package.json path (required)
Output
Success: process exits with status 0
Failure: process exits with status 1, error messages are logged
Examples
$ npx @servicetitan/startup-mfe-compat check --hostPackageJson=<host-package-json-path> --packageJson=<mfe-package-json-path>
$ npx @servicetitan/startup-mfe-compat check --hostPackageJson=<host1-package-json-path> --hostPackageJson=<host2-package-json-path> --packageJson=<mfe1-package-json-path> --packageJson=<mfe2-package-json-path> # host package.json files are merged from left to right: host1, host2, ...