Skip to content

Conversation

@devversion
Copy link
Member

Currently in some scenarios the CLI project has a different TypeScript version
than the typescript version used in the @schematics/angular package.

This causes AST parsing & transformations to be broken due to the shifted
values (e.g. in the SyntaxKind enum). Previously we solved this by always
using the typescript version brought in by the @schematics/angular package,
but this no longer works as of v8.0.0 CLI because the @schematics/angular
package now vendors typescript instead of having an explicit version as
dependency.

angular/angular-cli@bf1c069

Currently in some scenarios the CLI project has a different TypeScript version
than the `typescript` version used in the `@schematics/angular` package.

This causes AST parsing & transformations to be broken due to the shifted
values (e.g. in the `SyntaxKind` enum). Previously we solved this by always
using the `typescript` version brought in by the `@schematics/angular` package,
but this no longer works as of v8.0.0 CLI because the `@schematics/angular`
package now vendors `typescript` instead of having an explicit version as
dependency.

angular/angular-cli@bf1c069
@devversion devversion added P2 The issue is important to a large percentage of users, with a workaround pr: merge safe target: patch This PR is targeted for the next patch release labels Aug 15, 2019
@devversion devversion requested a review from jelbourn as a code owner August 15, 2019 13:00
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Aug 15, 2019
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker labels Aug 15, 2019
@jelbourn jelbourn merged commit 6275b49 into angular:master Aug 15, 2019
andrewseguin pushed a commit that referenced this pull request Aug 26, 2019
Currently in some scenarios the CLI project has a different TypeScript version
than the `typescript` version used in the `@schematics/angular` package.

This causes AST parsing & transformations to be broken due to the shifted
values (e.g. in the `SyntaxKind` enum). Previously we solved this by always
using the `typescript` version brought in by the `@schematics/angular` package,
but this no longer works as of v8.0.0 CLI because the `@schematics/angular`
package now vendors `typescript` instead of having an explicit version as
dependency.

angular/angular-cli@bf1c069
(cherry picked from commit 6275b49)
@angular-automatic-lock-bot
Copy link

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 Sep 15, 2019
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 cla: yes PR author has agreed to Google's Contributor License Agreement P2 The issue is important to a large percentage of users, with a workaround target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants