Nx: [angular, jest] Please update packages

Created on 19 Mar 2020  ยท  6Comments  ยท  Source: nrwl/nx

Expected Behavior

Packages should be up to date.

Current Behavior

Fixed versions that need updating. Why is it fixed? a ~version seems reasonable.

 @angular/animations                   9.0.6  โ†’     9.0.7 
 @angular/common                       9.0.6  โ†’     9.0.7
 @angular/compiler                     9.0.6  โ†’     9.0.7
 @angular/core                         9.0.6  โ†’     9.0.7
 @angular/forms                        9.0.6  โ†’     9.0.7
 @angular/platform-browser             9.0.6  โ†’     9.0.7
 @angular/platform-browser-dynamic     9.0.6  โ†’     9.0.7
 @angular/router                       9.0.6  โ†’     9.0.7
 @angular/language-service             9.0.6  โ†’     9.0.7
 @types/jest                          24.9.1  โ†’    25.1.4
 dotenv                                6.2.0  โ†’     8.2.0
 jest                                 24.9.0  โ†’    25.1.0
 jest-preset-angular                   8.0.0  โ†’     8.1.2
 ts-jest                              24.0.0  โ†’    25.2.1

~Minor versions that need updating.

 ts-node                              ~7.0.0  โ†’    ~8.7.0
 @types/node                          ~8.9.4  โ†’   ~13.9.2

These are up to date. But could use a version bump.

 @angular-devkit/build-angular      ~0.900.6  โ†’  ~0.900.7
 @angular-devkit/build-ng-packagr   ~0.900.6  โ†’  ~0.900.7
 @angular/compiler-cli                ~9.0.6  โ†’    ~9.0.7
 codelyzer                            ~5.0.1  โ†’    ~5.2.1
 zone.js                             ^0.10.2  โ†’   ^0.10.3
 commitiquette                        ^1.0.2  โ†’    ^1.0.3
 cypress                              ^4.1.0  โ†’    ^4.2.0
 ng-packagr                           ^9.0.0  โ†’    ^9.0.3
 tslint                               ~6.0.0  โ†’    ~6.1.0

Other

I wouldn't mind making a PR but I couldn't find the relevant places. So if someone could point me in the right direction.

angular feature

Most helpful comment

Hi @snebjorn
I updated my workspace to 9.1.2 and the ng dependencies are up to date.

jest-preset-angular needs an update to 8.1.2. I will create a PR today to address that :)
Be safe!

All 6 comments

Hi @snebjorn
I updated my workspace to 9.1.2 and the ng dependencies are up to date.

jest-preset-angular needs an update to 8.1.2. I will create a PR today to address that :)
Be safe!

@mehrad-rafigh I was trying to figure out how you updated the dependencies so I could contribute in the future.

But I cannot find any relevant package.json changes here https://github.com/nrwl/nx/compare/9.1.0...9.1.3

Perhaps you can enlighten me :)

In my fresh nx 9.1.3 workspace, the codelyzer v5.0.1 is complaining that it wants @angular/compiler@>=2.3.1 <9.0.0 || >8.0.0-beta <9.0.0, so it looks like it doesn't work with Angular 9... Can we bump codelyzer up to a version that does?

codelyzer just released 5.2.3 which have support for TSLint >6 (that includes 6.1.0) ๐ŸŽ‰
This is great!

Closing as resolved

Was this page helpful?
0 / 5 - 0 ratings