@tul/shared-schematic
v1.1.0
Published
Shared schematics for saving time in develop process
Downloads
22
Readme
Shared schematics
These a schematics for Angular.
Description
We can create a Micro Frontend scaffold and config all you need. Saving time to initial settings project.
Table of Contents đ
1. Application Links đ
Pakage manager đ§°
- Npm library: "{{lib url}}"
2. Built With đī¸ đ§
- Angular CLI v ~13.3.9
- Karma
- Node v.16.18.0
- Schematics CLI v ~13.3.9
- VS code We also recommend using Visual Studio Code as IDE.
- Node version manager (NVM)
3. Getting Started đ
To run the schematic, follow these simple example steps. Open the terminal or command prompt (CMD) and execute next commands.
3.1. Prerequisites đžđģđž
- Intall NVM for multiple versions of Node.js.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
- Install Node.js v16.18.0
nvm use 16.18.0
- npm - normally comes with Node. Run this to validate version.
node -v && npm -v
You need to install npm first and then angular cli with the following commands.
npm install -g @angular/cli@13
You need to intall angular schematics cli to run command from anywhere dir.
npm install -g @angular-devkit/schematics-cli@13
3.2. Installation đ§ąđ¨đˇđģââī¸
- Install [Shared schematic](npm link package) globally for run schema micro frontend app
npm install -g @tul/shared-schematic
4. Usage đ¸đ
The following commands and instructions will help you know how to deploy or run functionalities locally.
4.1. Commands đŽđšī¸
This commands are in the scripts of shared-schematic. open terminal and run:
- With name like argument command line
schematics @tul/shared-schematic:mfe-app app_name
- With name like schema value.
schematics @tul/shared-schematic:mfe-app --name=app_name
- With x-prompt value
schematics @tul/shared-schematic:mfe-app
5. TODO list đ
- Defined a content for readme