Skip to content

refactor(@schematics/angular): migrate typescript third-party dependency to node_modules#32992

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:typescript-third_party
Apr 13, 2026
Merged

refactor(@schematics/angular): migrate typescript third-party dependency to node_modules#32992
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:typescript-third_party

Conversation

@alan-agius4
Copy link
Copy Markdown
Collaborator

Relocates the typescript third-party dependency from third_party/github.com/Microsoft/TypeScript to third_party/typescript.

This update changes the implementation to source the required TypeScript files directly from node_modules via a Bazel genrule instead of keeping them checked into the repository.

@alan-agius4 alan-agius4 force-pushed the typescript-third_party branch 2 times, most recently from 0844943 to a9994b7 Compare April 13, 2026 07:44
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the TypeScript dependency within the Angular schematics package, replacing a manually updated third-party directory with a Bazel genrule that pulls the required files directly from node_modules. However, the current implementation will cause a Bazel build error because a physical index.d.ts file exists in the same package where the genrule is configured to produce an output with the same name. Both review comments correctly identify this conflict and recommend removing the physical file.

@alan-agius4 alan-agius4 requested a review from clydin April 13, 2026 08:04
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Apr 13, 2026
…ncy to node_modules

Relocates the typescript third-party dependency from `third_party/github.com/Microsoft/TypeScript` to `third_party/typescript`.

This update changes the implementation to source the required TypeScript files directly from `node_modules` via a Bazel `genrule` instead of keeping them checked into the repository.
@alan-agius4 alan-agius4 force-pushed the typescript-third_party branch from a9994b7 to 63354b1 Compare April 13, 2026 13:19
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Apr 13, 2026
@alan-agius4 alan-agius4 merged commit a0487d9 into angular:main Apr 13, 2026
36 of 37 checks passed
@alan-agius4 alan-agius4 deleted the typescript-third_party branch April 13, 2026 14:36
@alan-agius4
Copy link
Copy Markdown
Collaborator Author

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: @schematics/angular 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