1.0.16 • Published 5 years ago

domain-auth-ui v1.0.16

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Domain Auth Ui Circle CI

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 : Creates fe-build friendly folder structure for each brand out of the manifest file inside /packages directory. --clean option removes all pacakges and re-creates.
  • install:packages: Installs package depenedncies inside each brand folder. This runs post bootstrap.
  • test: Runs the core data tests exposed by fe-co-auth-ui-core package on each brand folder.
  • bundle: Runs fe-build build:bundle on each brand folder generating client bundles for each brand.
  • dist: Takes all the bundles outputs from each brand folder and saves them in a root dist folder grouped by brand name. This runs post bundle.
  • pushToS3: Takes everything inside the root dist folder and pushes them to S3 domain-static/domain-auth/fe-dist/{version}/ where version is the package.json version value. Throws if there already is a same version in the s3 bucket.
1.0.16

5 years ago

1.0.11

5 years ago