Skip to content

feat: [ERP-4896] Angular 22 Upgrade#16

Merged
ppettitau merged 2 commits into
masterfrom
ERP-4896_Angular_22_Upgrade
Jun 16, 2026
Merged

feat: [ERP-4896] Angular 22 Upgrade#16
ppettitau merged 2 commits into
masterfrom
ERP-4896_Angular_22_Upgrade

Conversation

@ppettitau

Copy link
Copy Markdown

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the library and its workspace to Angular 22, aligning package versions and dependencies with the new Angular major while ensuring the password strength meter component continues to update its view when async/observable-driven state changes occur.

Changes:

  • Bump library/workspace version to 16.0.0 to match the Angular 22 major upgrade.
  • Upgrade Angular dependencies/devDependencies (workspace) and Angular peerDependencies (library package) to ^22.x.
  • Update PasswordStrengthMeterComponent to call ChangeDetectorRef.markForCheck() after emitting new strength/feedback values.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
projects/password-strength-meter/src/lib/password-strength-meter.component.ts Injects ChangeDetectorRef and marks the component for check after subscription updates.
projects/password-strength-meter/package.json Updates library version to 16.0.0 and Angular peerDependencies to ^22.0.0.
package.json Updates workspace version to 16.0.0 and upgrades Angular/tooling dependencies to 22.x.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Bump CI Node matrix from 22.12.0 to 24 (Angular 22 CLI requires Node >= v22.22.3/v24.15.0/v26.0.0)
- Migrate legacy .eslintrc.json files to flat eslint.config.js (angular-eslint 22 dropped eslintrc support)
- Switch to umbrella angular-eslint + typescript-eslint + @eslint/js packages
- Update angular.json schematic collection to angular-eslint
- Add istanbul-lib-instrument ^6 devDependency required by @angular/build 22 for code coverage

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ppettitau ppettitau marked this pull request as ready for review June 16, 2026 02:57
@ppettitau

Copy link
Copy Markdown
Author

FYI Adam Smith (@ScriptSmith) this is a fork of a dependency that we use in stir. We have to upgrade this first before we can upgrade stir.

@ScriptSmith Adam Smith (ScriptSmith) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not too familiar with angular but sounds good to me 👍

@ppettitau ppettitau merged commit b91bdf5 into master Jun 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants