-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(notification-center-angular): Support Angular versions 15+ #4518
Conversation
NV-1919 The `notification-center-angular` package is not working with the latest Angular CLI generated project
Reproduction StepsUse the Angular CLI to generate the new project, then install the At the end you won't see the Notification Center component in the app, and there will be error in the console. Screenshot 2023-03-28 at 10.39.38.png Also the example app in the main repo is not working as well. Expected BehaviourThe Notification Center component should be rendered and should work well. |
packages/notification-center-angular/projects/notification-center-angular/ng-package.json
Show resolved
Hide resolved
packages/notification-center-angular/projects/notification-center-angular/package.json
Outdated
Show resolved
Hide resolved
packages/notification-center-angular/projects/notification-center-angular/package.json
Show resolved
Hide resolved
packages/notification-center-angular/projects/notification-center-angular/tsconfig.lib.json
Outdated
Show resolved
Hide resolved
@scopsy @LetItRock this PR has been updated to keep the current |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
really awesome work @rifont! 🔥 let's polish it a little and merge! 🚀
What change does this PR introduce?
@angular/*
peer dependencies@types/react
as a dependency to eliminate a step for Angular clients. This isn't ideal, but neither is shipping a full React dep in an Angular project. This is a viable DX improvement until we support Angular natively.Why was this change needed?
@angular/*
dependency to work correctly, so we fix this by specifying these Angular dependencies as peerCloses #3988.
Other information (Screenshots)
Successfully verified to be working with Angular 15, 16, & prerelease of 17 via a test NPM package (https://www.npmjs.com/package/rifont-notification-center-angular)
V15 (Currently LTS, EOL in 3 weeks)
V16 (Currently LTS)
V17 (tested with pre-release, GA is in 3 weeks)
Package Publish dry run
Lerna version bump testing
ReadMe Update