nestjs/ng-universal

Add support for Angular 16

bartlomiejgawel opened this issue · 1 comments

I'm submitting a...

[ ] Regression
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

Angular 16 is not supported. After upgrading Angular dependencies I've got the following error:

npm ERR! Found: @angular/common@16.0.0
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^16.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0" from @nestjs/ng-universal@7.0.0
npm ERR! node_modules/@nestjs/ng-universal
npm ERR!   @nestjs/ng-universal@"^7.0.0" from the root project

Expected behavior

Angular 16 should be supported.

Minimal reproduction of the problem with instructions

  1. Create a brand new Angular app.
  2. Update dependencies to 16.
  3. Install the latest @nestjs/ng-universal package (7.0.0).

What is the motivation / use case for changing the behavior?

Support for the latest version of Angular.

Environment

Nest version: 9.*
 
For Tooling issues:
- Node version: 18.16
- Platform:  Mac, Linux, Windows

Let's track this here #1007