Skip to content

Conversation

@lekhmanrus
Copy link
Contributor

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

TypeScript type imports in several CLI and MCP-related files are declared using regular import statements.
Additionally, utility logic such as findAngularJsonDir was defined in each file instead of being reused from a shared.

What is the new behavior?

  • Replaced regular imports with import type for type-only dependencies across the Angular CLI and MCP tooling codebase.
  • No functional or runtime behavior changes - this is a refactor for cleaner, safer, and more efficient imports.
  • Moved the findAngularJsonDir helper function to a shared utils for better reusability and consistency.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for this

@alan-agius4 alan-agius4 added target: rc This PR is targeted for the next release-candidate action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release and removed target: rc This PR is targeted for the next release-candidate labels Nov 7, 2025
@alan-agius4 alan-agius4 merged commit a9c700a into angular:main Nov 7, 2025
31 checks passed
@alan-agius4
Copy link
Collaborator

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/cli target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants