mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
Update Angular and NgRx peer dependencies to v19.2 (#5151)
* 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.
This commit is contained in:
@@ -3,15 +3,17 @@
|
||||
"version": "0.0.1",
|
||||
"license": "LGPL-3.0",
|
||||
"peerDependencies": {
|
||||
"@angular/common": ">=15.2",
|
||||
"@angular/core": ">=15.2",
|
||||
"@angular/animations": ">=15.2",
|
||||
"@angular/cdk": ">=15.2",
|
||||
"@angular/forms": ">=15.2",
|
||||
"@angular/material": ">=15.2",
|
||||
"@angular/animations": "^19.2.0",
|
||||
"@angular/cdk": "^19.2.0",
|
||||
"@angular/common": "^19.2.0",
|
||||
"@angular/core": "^19.2.0",
|
||||
"@angular/forms": "^19.2.0",
|
||||
"@angular/material": "^19.2.0",
|
||||
"@angular/platform-browser": "^19.2.0",
|
||||
"@angular/router": "^19.2.0",
|
||||
"@ngx-translate/core": "^17.0.0",
|
||||
"rxjs": ">=6.6.6",
|
||||
"zone.js": ">=0.11.8"
|
||||
"rxjs": "^7.4.0",
|
||||
"zone.js": "^0.14.0 || ^0.15.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"tslib": ">=2.3.0",
|
||||
|
||||
@@ -4,19 +4,21 @@
|
||||
"license": "LGPL-3.0",
|
||||
"scripts": {},
|
||||
"peerDependencies": {
|
||||
"@angular/animations": ">=15.2",
|
||||
"@angular/common": ">=15.2",
|
||||
"@angular/compiler": ">=15.2",
|
||||
"@angular/core": ">=15.2",
|
||||
"@angular/forms": ">=15.2",
|
||||
"@angular/material": ">=15.2",
|
||||
"@ngrx/effects": ">=15.2.0",
|
||||
"@ngrx/router-store": ">=15.2",
|
||||
"@ngrx/store": ">=15.2",
|
||||
"@angular/animations": "^19.2.0",
|
||||
"@angular/common": "^19.2.0",
|
||||
"@angular/compiler": "^19.2.0",
|
||||
"@angular/core": "^19.2.0",
|
||||
"@angular/forms": "^19.2.0",
|
||||
"@angular/material": "^19.2.0",
|
||||
"@angular/platform-browser": "^19.2.0",
|
||||
"@angular/router": "^19.2.0",
|
||||
"@ngrx/effects": "^19.2.0",
|
||||
"@ngrx/router-store": "^19.2.0",
|
||||
"@ngrx/store": "^19.2.0",
|
||||
"@ngx-translate/core": "^17.0.0",
|
||||
"rxjs": ">=6.6.6",
|
||||
"rxjs": "^7.4.0",
|
||||
"tslib": ">=2.0.0",
|
||||
"zone.js": ">=0.11.8"
|
||||
"zone.js": "^0.14.0 || ^0.15.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user