Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make @dotcms/angular support versioning 17 and up better (#30282)
### Proposed Changes * Make the library support angular `>=17.0.0` This fix the error where you init a clean ng 18 project and if you try to `npm install @dotcms/angular@latest` you get this error: ``` npm i @dotcms/angular npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: @angular/[email protected] npm error node_modules/@angular/common npm error @angular/common@"^18.2.0" from the root project npm error npm error Could not resolve dependency: npm error peer @angular/common@"^17.1.0" from @dotcms/[email protected] npm error node_modules/@dotcms/angular npm error @dotcms/angular@"*" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /Users/fmontes/.npm/_logs/2024-10-07T21_55_21_800Z-eresolve-report.txt npm error A complete log of this run can be found in: /Users/fmontes/.npm/_logs/2024-10-07T21_55_21_800Z-debug-0.log ``` ### Checklist - [ ] Tests - [ ] Translations - [ ] Security Implications Contemplated (add notes if applicable) ### Additional Info ** any additional useful context or info ** ### Screenshots Original | Updated :-------------------------:|:-------------------------: ** original screenshot ** | ** updated screenshot **
- Loading branch information