frassinier / ui

Talend's unified web UI repository.

Home Page:http://talend.surge.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UI

That repository was created in an effort to simplify the development of Talend's front-end stack.

Travis CI

Goals

  • Single code repository / Multiple packages
  • Global (cross package) test and review tools
  • Unified stack versions
  • Easy cross packages development

The stack

Tools (dev environment)

⚠️ If you've used 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

About

Talend's unified web UI repository.

http://talend.surge.sh

License:Apache License 2.0


Languages

Language:JavaScript 80.8%Language:CSS 9.6%Language:HTML 7.1%Language:Java 1.8%Language:Shell 0.6%