Skip to content

chore: update npm packages to outdated wanted versions#1501

Open
vaibhavso wants to merge 1 commit intoqafrom
mavericks/outdated-package-update-202639310739
Open

chore: update npm packages to outdated wanted versions#1501
vaibhavso wants to merge 1 commit intoqafrom
mavericks/outdated-package-update-202639310739

Conversation

@vaibhavso
Copy link
Copy Markdown

For code author

What does this PR do?

Why do we want to do that?

What are the high level changes?

What other information should the reviewer be aware of when looking at this code?

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

@vaibhavso vaibhavso requested a review from a team as a code owner March 31, 2026 09:06
Copilot AI review requested due to automatic review settings March 31, 2026 09:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates selected npm dependencies (Angular build tooling, Angular ESLint, Storybook addons, TypeScript ESLint, and Node types) to newer “wanted” versions, reflected in both package.json and the generated package-lock.json.

Changes:

  • Bump Angular CLI/build tooling packages to 21.2.5 and refresh lockfile transitive deps (e.g., devkit/core, picomatch).
  • Update Angular ESLint packages to 21.3.1 and TypeScript ESLint packages to 8.58.0.
  • Update Storybook addons (and related lockfile deps) to 10.3.3.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.

File Description
package.json Updates declared devDependency version ranges for Angular tooling, Angular ESLint, Storybook addons, Node typings, and TS ESLint.
package-lock.json Regenerates the lockfile to reflect the bumped versions and their updated dependency graphs.

Comment thread package.json
Comment on lines +63 to 66
"@storybook/addon-docs": "^10.3.3",
"@storybook/addon-links": "^10.3.3",
"@storybook/angular": "^10.2.10",
"@types/jasmine": "4.3.0",
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

Storybook packages are now a mix of declared versions: addon-docs/addon-links/eslint-plugin-storybook are bumped to 10.3.3, but @storybook/angular is still declared as ^10.2.10 (and storybook itself is still ^10.2.10 later in this file). Since the lockfile is already resolving Storybook to 10.3.3, it would be clearer and reduce re-lock/peer-dep drift to bump @storybook/angular and storybook to ^10.3.3 as well (keeping the Storybook suite on the same patch).

Copilot uses AI. Check for mistakes.
Comment thread package.json
"devDependencies": {
"@angular-devkit/build-angular": "^21.2.4",
"@angular-devkit/build-angular": "^21.2.5",
"@angular-eslint/builder": "^21.3.0",
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

@angular-eslint/builder is still declared as ^21.3.0 while the other @angular-eslint packages were bumped to ^21.3.1 (and the lockfile resolves builder to 21.3.1). Consider bumping @angular-eslint/builder to ^21.3.1 too so the Angular ESLint toolchain is version-aligned.

Suggested change
"@angular-eslint/builder": "^21.3.0",
"@angular-eslint/builder": "^21.3.1",

Copilot uses AI. Check for mistakes.
Comment thread package.json
Comment on lines +51 to +57
"@angular-devkit/build-angular": "^21.2.5",
"@angular-eslint/builder": "^21.3.0",
"@angular-eslint/eslint-plugin": "^21.3.0",
"@angular-eslint/eslint-plugin-template": "^21.3.0",
"@angular-eslint/template-parser": "^21.3.0",
"@angular/build": "^21.2.4",
"@angular/cli": "^21.2.4",
"@angular-eslint/eslint-plugin": "^21.3.1",
"@angular-eslint/eslint-plugin-template": "^21.3.1",
"@angular-eslint/template-parser": "^21.3.1",
"@angular/build": "^21.2.5",
"@angular/cli": "^21.2.5",
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

Angular tooling versions are now out of sync with each other and with the already-installed Angular framework patch level: @angular-devkit/build-angular/@angular/build/@angular/cli are bumped to 21.2.5, but package.json still pins @angular-devkit/architect (0.2102.4) and @angular-devkit/core (21.2.4) in dependencies, while most @angular/* packages are 21.2.6. This mismatch is causing multiple copies of @angular-devkit/* in the lockfile and can lead to subtle toolchain incompatibilities; align these versions (or move/remove the devkit packages from runtime dependencies if they’re not needed at runtime).

Copilot uses AI. Check for mistakes.
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