1.0.16 • Published 7 years ago
domain-auth-ui v1.0.16
Domain Auth Ui 
Basically brings all the fe-co-auth-ui-core extension packages from npm together, tests them, bundles them and pushes the bundles to an S3 bucket from a manifest file.
The manifest file
The manifest file lists all the extending packages and their versions and other metadata. To add a new package, add one more item to the packages array in the file specifying the following.
{
"name": "<Name of the brand. e.g. 'mydesktop'>",
"npmPackageName": "<Npm package name of the extending brand. e.g. '@domain-group/fe-co-auth-ui-mydesktop'>",
"npmPackageVersion": "<Version of the npm package. e.g. '^0.0.2'>",
"theme": "<theme to be used by the brand. e.g. 'mydesktop'"
}Scripts
bootstrap: Createsfe-buildfriendly folder structure for each brand out of the manifest file inside/packagesdirectory.--cleanoption removes all pacakges and re-creates.install:packages: Installs package depenedncies inside each brand folder. This runs postbootstrap.test: Runs the core data tests exposed byfe-co-auth-ui-corepackage on each brand folder.bundle: Runsfe-build build:bundleon each brand folder generating client bundles for each brand.dist: Takes all the bundles outputs from each brand folder and saves them in a rootdistfolder grouped by brand name. This runs postbundle.pushToS3: Takes everything inside the rootdistfolder and pushes them to S3domain-static/domain-auth/fe-dist/{version}/whereversionis thepackage.jsonversion value. Throws if there already is a same version in the s3 bucket.