UI
That repository was created in an effort to simplify the development of Talend's front-end stack.
Goals
- Single code repository / Multiple packages
- Global (cross package) test and review tools
- Unified stack versions
- Easy cross packages development
The stack
- react-cmf
- react-talend-containers
- react-talend-components
- react-talend-forms
- generator-talend
- talend-icons
- talend-log
- bootstrap-talend-theme
Tools (dev environment)
lerna bootstrap
in the past, please start by running lerna clean
or you will have bad behavior with the following tools.
yarn run watch
The stack has one entry point:
yarn run watch
This watcher will trigger build and sync inside the stack for you.
For example if you modify a component, it will rebuild component into lib folder and copy the content through forms and containers.
Be warned the delete or rename are not taken into account.
yarn run build
Just build all the packages for static purpose. It use the prepublish command.
copylibs
./copylibs.js
This script will copy all the lib folders of the stach into their dependencies.
This script for example will copy the lib folders of components into containers and forms node_modules.
It accepts options:
./copylibs.js --watch
If the content of a lib folder change it triggers the copy.
./copylibs.js --scope=components
Only copy components into forms and containers.
Same with all subfolders of packges.
yarn start
It will start all the stack for you:
- components on localhost:6006
- containers on localhost:6007
- forms on localhost:6008
- theme on localhost:1337
If you want to work accross the stack you should launch
./copylibs.js --watch