* remove default-class mixin and use regular import * cleanup colors * remove variables file, fix bugs in animations * proper ordering of imports, core css vars * cleanup snackbar and material themes * tags component * login component styles * app login * toolbar component styles * breadcrumb styles * dropdown breadcrumb * app layout component * demo shell: files component * aspect list styles * content metadata styles * node selector * name location cell * node share dialog * content type dialog * folder dialog * document list * datatable theme * pagination theme * viewer theme * viewer theme * user-info theme * container widget * dynamic table theme * form widgets * form theme * form renderer * sidebar menu * header theme * info drawer theme * comment list * commens and layout container * sidenav layout * empty content * error content * clipboard theme * search input * tooltip card and notification history * card view theme * remove unused keys * add permission dialog * search and permission dialogs * version comparison and column themes * upload drag area and cleanup references * remove the need for content styles * insight components * cleanup insights theme * process components * process components * process cloud themes * cleanup unsed imports * cleanup mixins * update build scripts * test fixes * remove fdescribe * css fixes * update unit tests
Running a demo project
The Alfresco application development framework comes with a demo project that you can run to get a feel of what's available.
- Start by navigating into the app development framework source folder, and then the scripts folder:
cd alfresco-ng2-components
cd scripts
npm-check-bundles.sh check the bundles in the package npm are present
Options
Option | Description |
---|---|
-h or --help | show the help |
-r or --registry | against which register you want to do this check |
-v or --version | the version of the components to check |
npm-add-pkg.sh
npm-add-pkg.sh check the bundles in the package npm are present
Add a package across all the pacakge json in the project
Options
Option | Description |
---|---|
-h or --help | show the help |
--save | save it in dependencies |
--save-dev | save it in dev dependencies |
- Add a package in the project
Examples
./npm-add-pkg.sh --save-dev NPM_NAME
extract-langs.sh
extract-langs.sh
Extract the i18n files from the repo and create a zip
Options
Option | Description |
---|---|
-h or --help | show the help |
--output or o | output folder otherwise will be 18n |
Examples
./extract-langs.sh
test-e2e-bc.sh
test-e2e-bc.sh
This script test that the update from 2.0.0 to 2.x.x is still smooth
Examples
./test-e2e-bc
test-e2e-bc.sh
test-e2e-bc.sh
This script test that the update from 2.0.0 to 2.x.x is still smooth
Examples
./test-e2e-bc
simulate-publish.sh
simulate-publish.sh
This script run a verdaccio server and simulate a publish on it
Examples
./simulate-publish
test-dist.sh
test-dist.sh
This script test the distribution of ADF against the demo shell
Examples
./test-dist
test-e2e-lib.sh
test-e2e-lib.sh
Script to run e2e test
Option | Description |
---|---|
-u or --username | username to use |
-p or --password | password to use |
-e or --email | email user to use |
-b or --browser | browser run the test in the browsrwer (No headless mode) |
-s or --spec | spec run a single test file |
-dev or --dev | run it against local development environment it will deploy on localhost:4200 the current version of your branch |
-t or --timeout | override the timeout foe the wait utils |
-host or --host | host against to run the test |
-proxy or --proxy | proxy Back end URL to use |
Examples
./scripts/test-e2e-lib.sh -host adf.domain.com -u admin -p admin -e admin
Run on browser
./scripts/test-e2e-lib.sh -host adf.domain.com -u admin -p admin -e admin --browser
Run a single test
./scripts/test-e2e-lib.sh -host adf.domain.com -u admin -p admin -e admin --spec filenam.e2e.ts
if the test in a subfolder in e2e you need to add the subfolder in the path:
./scripts/test-e2e-lib.sh -host adf.domain.com -u admin -p admin -e admin --spec ./core/filenam.e2e.ts
Use a different backend
./scripts/test-e2e-lib.sh -host localhost:42000 -proxy adf.domain.com -u admin -p admin -e admin