Monorepo of all front-end library of Jahia
This project is composed of (click on the link for there documentation):
-
data-helper - 💡- Provide helpers (react hooks, utily function, ...) to manipulate jahia datas
-
test-framework - 🔧 - Jest + Enzyme configuration for Jahia needs
-
react-material - 💩 - DEPRECATED use moonstone/ui-extender instead
Each package in the javascript-components repository is published to the public npm registry and scoped with @jahia.
You can install any package with:
npm i @jahia/package-nameor with yarn : yarn add @jahia/package-name.
This monorepo uses Node and Yarn. The easiest way to install Node and Yarn is to use mise install.
Before starting developing, you have to install dependencies:
yarnThe you can start develop and test using.
yarn tddMake sure each file respect the eslint configuration.
Sometime, when you are working on a JavaScript-Component package, you want to directly test your package on the other project you are working on. Yalc is here to help you do that.
In order to build every package, in the root folder, run:
yarn buildThe final build will reside in the dist subfolder of each package.
Modules can also be built independently by going to packages subfolder, and use yarn build.
Publication is done automatically when merging the release PR created by Chachalog.
👤 Jahia Group
- Website: https://www.jahia.com
- Twitter: @Jahia
- Github: @Jahia
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2019 Jahia Group.
This project use JAHIA'S DUAL LICENSING, see LICENSE.txt file.
This README was generated with ❤️ by readme-md-generator