question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update to angular 11

See original GitHub issue

Is your feature request related to a problem? Please describe. @angular-builders/jest and @angular-builders/custom-webpack should work with Angular 11

Describe the solution you’d like Support Angular 11

Describe alternatives you’ve considered None

Additional context I am currently working on fixing the failing dependabot PRs #870 #871 and #872 and will provide a PR shortly.

@just-jeb you might also want to create a new 10.x.x branch for the Angular 10 release.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
just-jebcommented, Nov 22, 2020

I’ll take your suggestion into consideration and update the README in order to emphasize the importance of versions alignment. Adding peer dependencies would be wrong in my opinion, since it suggests that you have to explicitly install all the dependencies while you don’t (and it wouldn’t really help if you did).
I understand that upgrading to a beta version is not the best solution you could wish for, but it’s all you’ve got unfortunately.
Stable version will be released after breaking change from #819 is implemented, which, in turn, blocked by this PR and this issue in webpack-merge.
That being said this is the only breaking change expected in v11 so for now the beta version is safe to use.

2reactions
mshimacommented, Nov 20, 2020

@just-jeb we recently migrated jhipster to angular 11, but there is a discussion about if we should upgrade @angular-builders to 11 beta.

From my point of view:

  • should be mandatory to match @angular-builders/custom-webpack and angular version. So @angular-builders/custom-webpack@^10 should be forbidden to work with angular@^11.
  • @angular-builders should be considered a plugin of @angular/cli

If that’s true, @angular-builders should have peer dependencies instead of hard dependencies on @angular-devkit and @angular/cli. For reference see https://nodejs.org/en/blog/npm/peer-dependencies/

Whats your opinion?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 10 to 11 update guide
Update to the new version ... Review these changes and perform the actions to update your application. For Angular Universal users, if you...
Read more >
Guide to update your Angular application v11.0 -> v12.0 for ...
Update to the new version ... Review these changes and perform the actions to update your application. Run ng update @angular/core@12 @angular/cli@12 which...
Read more >
Guide to update your Angular application v9.0 -> v11.0 for ...
Run ng update @angular/core@11 @angular/cli@11 which should bring you to version 11 of Angular. Angular ...
Read more >
Guide to update your Angular application v11.0 -> v13.0 for ...
Update to the new version ... Review these changes and perform the actions to update your application. Run ng update @angular/core@12 @angular/cli@12 which...
Read more >
ng update - Angular
Perform a basic update to the current stable release of the core framework and CLI by running the following command. ... To update...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found