https://github.com/entando/frontend-libraries
https://github.com/entando/frontend-libraries
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/entando/frontend-libraries
- Owner: entando
- License: lgpl-3.0
- Created: 2018-03-29T10:26:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T10:32:23.000Z (over 2 years ago)
- Last Synced: 2025-09-12T00:27:26.342Z (10 months ago)
- Language: JavaScript
- Size: 1.12 MB
- Stars: 3
- Watchers: 7
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# frontend-libraries
Common Libraries used in Entando frontend applications.
## Setup
`node 9.10.1` and `npm 5.6.0` are the minimum requirements.
To install the dependencies use the command `npm run bootstrap`
## Scripts
every single script is executed using `npm run `
### bootstrap
installs every dependency using `lerna`
### clean
cleans the `node_modules` directories
### test
tests every single package
### lint
lints every single package
### publish
command used to publish on `npm` the latest versions of the libraries
---
## Available Packages:
- `router`: used for routing within redux
- `utils`: common utilities
- `apimanager`: used to handle api calls
- `ddtable`: table with draggable rows
- `menu`: core menu elements used across Entando applications
- `messages`: states used to manage toasts and errors
- `pages`: common pages used across Entando applications
- `pagetreeselector`: table based view of pages that lets user to select from
- `mfecommunication`: communication management mechanism for multiple mfes among each other on the same page
---
## Dev Environment
Due to hoisting tests in packages may no pass because the single package dependencies are installed both on the actual package and on the entire project, duplicating instances of React.
The recommended procedure is to run `npm run clean` to purge the *node_modules* directories and `npm run bootstrap` to regenerated them.
It is also considered bad practice committing lock files of the single packages.