micro-sentry icon indicating copy to clipboard operation
micro-sentry copied to clipboard

[BUG] Angular 16 Support

Open ahmadchaer opened this issue 1 year ago • 1 comments

🐞 Bug report

Description

Trying to install this library with Angular versions 15 or 16 does not work as it depends on Angular<=14

Reproduction

  1. Create a new Angular 16 App
  2. Add @micro-sentry/[email protected] to your package.json
  3. npm install

This will give the following error: npm ERR! Found: @angular/[email protected] npm ERR! node_modules/@angular/common npm ERR! @angular/common@"16.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"^14.0.0" from @micro-sentry/[email protected]

Expected behavior

To be able to use use it with Angular 15/16

Versions

ahmadchaer avatar Jun 08 '23 11:06 ahmadchaer

I'm still willing to work on this but I'd like some direction on loosening peer dependencies. I would suggest we run the ng update migration scripts, make sure it still builds, and set peer dependencies to >=15.

bufke avatar Jun 15 '23 14:06 bufke