Skip to content

refactor(@schematics/angular): remove third-party typescript copy#33072

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:typescript-third_party_remove
Apr 28, 2026
Merged

refactor(@schematics/angular): remove third-party typescript copy#33072
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:typescript-third_party_remove

Conversation

@alan-agius4
Copy link
Copy Markdown
Collaborator

The typescript package is now smaller and the tsserver file no longer bundles typescript but imports it directly, which makes the 3rd party copy redundant.

@alan-agius4 alan-agius4 requested a review from clydin April 28, 2026 10:45
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: major This PR is targeted for the next major release labels Apr 28, 2026
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 removes the vendored TypeScript dependency from the third_party/typescript directory and replaces it with a direct dependency on the typescript package (version 6.0.3). The changes include updating Bazel build configurations, package.json, and numerous import statements across the schematics package. Feedback was provided regarding the inconsistent import style of the typescript package, suggesting the use of namespace imports (import * as ts) throughout the codebase for better consistency and compatibility.

Comment thread packages/schematics/angular/app-shell/index.ts
Comment thread packages/schematics/angular/service-worker/index.ts
Comment thread packages/schematics/angular/utility/standalone/app_component.ts
@alan-agius4 alan-agius4 force-pushed the typescript-third_party_remove branch from 82fd1f1 to f65587e Compare April 28, 2026 11:21
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Apr 28, 2026
The typescript package is now smaller and the tsserver file no longer
bundles typescript but imports it directly, which makes the 3rd party
copy redundant.
@alan-agius4 alan-agius4 force-pushed the typescript-third_party_remove branch from f65587e to ae68b12 Compare April 28, 2026 11:33
@alan-agius4 alan-agius4 merged commit c6dd57a into angular:main Apr 28, 2026
10 checks passed
@alan-agius4
Copy link
Copy Markdown
Collaborator Author

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

@alan-agius4 alan-agius4 deleted the typescript-third_party_remove branch April 28, 2026 11:35
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: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants