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.

Support Angular 13

See original GitHub issue

Is your feature request related to a problem? Please describe.

Due to this plugin depending on an old @angular version, it fails to work with angular 13. I believe this is due to a typescript version change. causing the legacy @ngtools/webpack plugin to no longer work

/webpack/src/ivy/plugin.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from ../package.json

Describe the solution you’d like

A new major version of @angular-builders/jest and @angular-builders/custom-webpack both supporting angular 13

Additional context There is a workaround. Adding:

  "resolutions": {
    "@angular/compiler": "13.0.0",
    "@angular/cli": "13.0.0",
    "@angular-devkit/build-angular": "~13.0.0"
    }

to package json and this works fine.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:19
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

10reactions
just-jebcommented, Nov 4, 2021

This PR will resolve it. You’re not supposed to use Angular Builders 12 with Angular 13 (see the docs). I expect the PR to be merged in the next few days, please be patient 😄

8reactions
just-jebcommented, Nov 9, 2021

Aaaand v13 is officially out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular versioning and releases
The following table provides the status for Angular versions under support. Version, Status, Released, Active ends, LTS ends. ^15.0.0, Active, 2022-11-18 ...
Read more >
Angular - endoflife.date
Release Released Active Support 15 1 month and 1 week ago. (16 Nov 2022) Ends in 4 months and 3 weeks. (18 M... 14 (...
Read more >
Angular 13: Everything You Need to Know About This Version
The main new features in Angular 13 are TypeScript 4.4 support, version 7.4 of RxJS, router changes, Angular CLI enhancements, testing ...
Read more >
Top 10 Features in Angular 13 Every Developer Should Know
Angular will no longer support Internet Explorer 11 as of version 13. Dropping IE 11 is a positive factor because it results in...
Read more >
Top Features Of Angular 13 You Must Know | Zenesys Blogs
Angular 13 Features and Updates · Ivy Is The New Engine · Typescript 4.4 Support · Angular Package Format Transformations · Angular Command-Line ......
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