Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

build: vendor typescript 3.6 in build optimizer#17670

Merged
clydin merged 3 commits into
angular:masterangular/angular-cli:masterfrom
alan-agius4:build-optimizer-ts-3.6Copy head branch name to clipboard
May 11, 2020
Merged

build: vendor typescript 3.6 in build optimizer#17670
clydin merged 3 commits into
angular:masterangular/angular-cli:masterfrom
alan-agius4:build-optimizer-ts-3.6Copy head branch name to clipboard

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

With this change we "vendor" TypeScript 3.6 in build optimizer instead of using directly the npm package.

Reasons:

@alan-agius4 alan-agius4 added the target: major This PR is targeted for the next major release label May 8, 2020
@alan-agius4 alan-agius4 requested a review from filipesilva May 8, 2020 11:47
Comment thread packages/angular_devkit/build_angular/BUILD.bazel Outdated
Comment thread packages/schematics/angular/no_typescript_runtime_dep_spec.js
With this change we "vendor" TypeScript 3.6 in build optimizer instead of using directly the npm package.

Reasons:
- We cannot update to a more recent version of TypeScript due to microsoft/TypeScript#38412
- Yarn workspace are not supported under Bazel. This means currently we are running unit testswhich uses a different TypeScript version at runtime.
- In TypeScript 3.9, the shape of ES2015 classes changed microsoft/TypeScript#32011, this requires some changes in the UT expects, but this again will not be correct to change now.
Since we are importing the vendored typescript with relative imports, module_name and module_root in the its ts_library are not needed.

See: #17670 (comment) for more context
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label May 9, 2020
@clydin clydin merged commit 1227a2c into angular:master May 11, 2020
@alan-agius4 alan-agius4 deleted the build-optimizer-ts-3.6 branch May 11, 2020 12:08
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jun 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.