mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-04-23 22:30:24 +00:00
* Update Angular and NgRx peer dependencies to v19.2 Updated peerDependencies in aca-content and aca-shared libraries to correctly reflect the Angular 19.2.x and NgRx 19.2.x versions used in the root package.json, replacing outdated >=15.2 version constraints. * Update rxjs and zone.js peer dependencies to Angular 19 compatible versions - Updated rxjs peer dependency from >=6.6.6 to ^7.4.0 (compatible with Angular 19) - Updated zone.js peer dependency from >=0.11.8 to ^0.14.0 || ^0.15.0 (compatible with Angular 19) - Prevents consumers from installing incompatible RxJS 6 or older Zone.js versions while satisfying Angular 19 peer dependencies * Add missing @angular/platform-browser and @angular/router peer dependencies Both libraries import and use components from @angular/platform-browser (HammerModule, DomSanitizer, By) and @angular/router (Router, ActivatedRoute, provideRouter, RouterModule, guards), but these were not declared in peerDependencies. Adding them makes consumer requirements explicit and keeps peer dependencies aligned with actual usage.
AcaShared
This library was generated with Angular CLI version 7.2.0.
Code scaffolding
Run nx generate component component-name --project aca-shared to generate a new component. You can also use nx generate directive|pipe|service|class|guard|interface|enum|module --project aca-shared.
Note: Don't forget to add
--project aca-sharedor else it will be added to the default project in yourangular.jsonfile.
Build
Run nx build aca-shared to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
After building your library with nx build aca-shared, go to the dist folder cd dist/aca-shared and run npm publish.
Running unit tests
Run nx test aca-shared to execute the unit tests via Karma.
Further help
To get more help on the NX use nx help or go check out the NX documentation page.