Talend Scripts
Single entry point for all frontend chore configuration and dependencies
Migration
Migrate from @talend/scripts
to @talend/scripts-core
Webapp
- start - start a dev server (webpack)
- build - build a prod bundle (webpack)
- build:lib:umd - build a bundle with target UMD (webpack)
- build:lib - build a prod bundle for lib (babel)
- lint:es - run linter (eslint)
- test - run tests (jest)
- test:ng - run tests (karma)
- extends - create eslint/babel/jest/typescript config file extension
Feature flags
You can enable/disable features by passing environment variables
Name | Description |
---|---|
ICON_BUNDLE | Use the new icon bundle. Loading SVGs on-demand instead of loading all icons on first page load |
FORM_MOZ | Use the deprecated json-schema forms |
DISABLE_JS_ERROR_NOTIFICATION | Disable the JS error notification on the webapp |
Example: cross-env ICON_BUNDLE=true talend-scripts start
(Use cross-env for both Windows/Mac support)
How to test a branch of ui-scripts
A copy.js script is available at the root of the repository. Just call it with a target nodejs project path it will copy all files in the destination path
exemple:
./copy.js ../ui