move tslint ADF rules in principal repo (#3247)

* move tslint ADF rules in principal repo

* fix style issues

* change pacakge.json position

* update to angular cli 6.0.0

* reorganization package.json

* remove node modules2 folder

* exclude integration

* rollback alfresco-js-api

* solve types problems

* fix pdf test

* fix errors and exclude two tests

* fix e2e

* fix test

* copy all the new packages in node_modules

* fix test

* fix packaging script

* scss issue fix

* move test export in tools
This commit is contained in:
Eugenio Romano
2018-05-04 17:13:45 +01:00
committed by GitHub
parent 563af3bbfa
commit fe0ac0e474
89 changed files with 30455 additions and 1250 deletions

View File

@@ -207,44 +207,6 @@ The default behaviour of the ***npm-build-all.sh*** install node_modules and bui
For development environment configuration please refer to [project docs](../demo-shell/README.md).
# npm-relock-pkgs.sh
***npm-relock-pkgs.sh*** Deletes and regenerates package-lock.json files for each|passed components, depending on the component's actual package.json
## Options
| Option | Description |
| --- | --- |
| -h or --help | show the help |
| -t or --test | run the test suites after "npm install" of each component
## Examples
* Regenerate package-lock.json files for every package
```sh
./npm-relock-pkgs.sh
```
* Regenerate package-lock.json files for ng2-alfresco-core and ng2-alfresco-search components
```sh
./npm-relock-pkgs.sh ng2-alfresco-core ng2-alfresco-search
```
* Regenerate package-lock.json files for every package and run test suites for them
```sh
./npm-relock-pkgs.sh -t
```
* Regenerate package-lock.json files for for ng2-alfresco-core and ng2-alfresco-search components and run test suites for them
```sh
./npm-relock-pkgs.sh -t ng2-alfresco-core ng2-alfresco-search
```
# npm-clean.sh
***npm-clean.sh*** clean all the projects folders : lib and demo-shell.
@@ -341,24 +303,6 @@ This script test that the update from 2.0.0 to 2.x.x is still smooth
./test-e2e-bc
```
***update-project.sh***
Update an external project and create a PR with last beta of ADF
## Options
| Option | Description |
| --- | --- |
| -n or --name | name of the project |
| -gnu | for linux machine |
| -t or --token | GITHUB token |
## Examples
```sh
./update-project.sh -t YOUR_GITHUB_TOKEN -n NAME_PROJECT
```
# test-e2e-bc.sh
***test-e2e-bc.sh***
@@ -413,4 +357,4 @@ Internal script for update the rancher env
```sh
/rancher-update.sh --access_key ACCESS_KEY --secret_key SECRET_KEY --url RANCHER_URL--environment_name adf-master --image docker:alfresco/demo-shell:master
```
```