0.0.5 • Published 7 months ago

@yangxiaolang/create-alauda-mfe-plugin v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

create-alauda-mfe-plugin

This library was generated with Nx.

create-alauda-mfe-plugin is designed to quickly start a Alauda Front-End Application which is powered by Module-Federation.

Generators

Preset

Usage

npx create-nx-workspace@latest ${workspace_name} --preset=@yangxiaolang/create-alauda-mfe-plugin@latest

MFE-APP

Usage

nx g @yangxiaolang/create-alauda-mfe-plugin:mfe-app ${path_to_apps}/${app_name} --template=${template} --prefix=${prefix}

Supports selecting both deploy-instance and service templates and configuring the prefix of the selectors.

nametypedefaultdescription
templateenum"service","instance"The app template file
prefixstringThe prefix to use for Angular component and directive selectors

Building

Run nx build create-alauda-mfe-plugin to build the library.

Publish

Run nx nx-release-publish nx build create-alauda-mfe-plugin to publish the library.

Running unit tests

Run nx test create-alauda-mfe-plugin to execute the unit tests via Jest.

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago