mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-922] Regenerate package-lock.json files for every package and create script for doing that in the future (#2012)
* Updated package-lock.json files * npm-relock-pkgs.sh * Update README.md * Fix ng2-alfresco-search sass problem
This commit is contained in:
committed by
Eugenio Romano
parent
6f6a0aca5d
commit
ba9c459a83
@@ -200,6 +200,43 @@ 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-ng2/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 | If you want 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 suite 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 suite for them
|
||||
|
||||
```sh
|
||||
./npm-relock-pkgs.sh -t ng2-alfresco-core ng2-alfresco-search
|
||||
```
|
||||
|
||||
# npm-clean.sh
|
||||
|
||||
***npm-clean.sh*** clean all the projects folder : ng2-components, ng2-components/*.*/demo and demo-shell-ng2.
|
||||
|
Reference in New Issue
Block a user