mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-4534] nx workspace support for aca (#3143)
* ACS-4534 Added nx workspace support * ACS-4534 Updated package-lock.json file * ACS-4534 Configured cache directory and affected command * ACS-4534 Updated README * ACS-4534 Updated more README files * ACS-4534 Fixed lint * ACS-4534 Address comment for readme * ACS-4534 Removed redundant build-libs script * ACS-4534 Fixed start script * ACS-4534 Updated some left documentation * ACS-4534 Added more helper scripts, addressed PR comments * ACS-4534 Updated package-lock.json after rebasing * ACS-4534 Fix stylelint issue
This commit is contained in:
@@ -4,21 +4,21 @@ This library was generated with [Angular CLI](https://github.com/angular/angular
|
||||
|
||||
## Code scaffolding
|
||||
|
||||
Run `ng generate component component-name --project aca-content` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project aca-content`.
|
||||
Run `nx generate component component-name --project aca-content` to generate a new component. You can also use `nx generate directive|pipe|service|class|guard|interface|enum|module --project aca-content`.
|
||||
> Note: Don't forget to add `--project aca-content` or else it will be added to the default project in your `angular.json` file.
|
||||
|
||||
## Build
|
||||
|
||||
Run `ng build aca-content` to build the project. The build artifacts will be stored in the `dist/` directory.
|
||||
Run `nx build aca-content` to build the project. The build artifacts will be stored in the `dist/` directory.
|
||||
|
||||
## Publishing
|
||||
|
||||
After building your library with `ng build aca-content`, go to the dist folder `cd dist/aca-content` and run `npm publish`.
|
||||
After building your library with `nx build aca-content`, go to the dist folder `cd dist/aca-content` and run `npm publish`.
|
||||
|
||||
## Running unit tests
|
||||
|
||||
Run `ng test aca-content` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
||||
Run `nx test aca-content` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
||||
|
||||
## Further help
|
||||
|
||||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
||||
To get more help on the NX use `nx help` or go check out the [NX documentation](https://nx.dev/getting-started/intro) page.
|
||||
|
Reference in New Issue
Block a user