Skip to content

Commit

Permalink
feat(angular): add migration for ngrx 15
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Nov 30, 2022
1 parent 2d021a1 commit e9ee998
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 16 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
"@nestjs/schematics": "^9.0.0",
"@nestjs/swagger": "^6.0.0",
"@nestjs/testing": "^9.0.0",
"@ngrx/effects": "~14.0.0",
"@ngrx/router-store": "~14.0.0",
"@ngrx/store": "~14.0.0",
"@ngrx/effects": "~15.0.0",
"@ngrx/router-store": "~15.0.0",
"@ngrx/store": "~15.0.0",
"@nguniversal/builders": "~15.0.0",
"@nrwl/cypress": "15.3.0-beta.6",
"@nrwl/devkit": "15.3.0-beta.6",
Expand Down
34 changes: 34 additions & 0 deletions packages/angular/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -1671,6 +1671,40 @@
"alwaysAddToPackageJson": false
}
}
},
"15.2.4": {
"version": "15.2.4-beta.0",
"packages": {
"packages": {
"@ngrx/store": {
"version": "~15.0.0",
"alwaysAddToPackageJson": false
},
"@ngrx/effects": {
"version": "~15.0.0",
"alwaysAddToPackageJson": false
},
"@ngrx/entity": {
"version": "~15.0.0",
"alwaysAddToPackageJson": false
},
"@ngrx/router-store": {
"version": "~15.0.0",
"alwaysAddToPackageJson": false
},
"@ngrx/schematics": {
"version": "~15.0.0",
"alwaysAddToPackageJson": false
},
"@ngrx/store-devtools": {
"version": "~15.0.0",
"alwaysAddToPackageJson": false
},
"@ngrx/component-store": {
"version": "~15.0.0"
}
}
}
}
}
}
2 changes: 1 addition & 1 deletion packages/angular/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const nxVersion = require('../../package.json').version;
export const angularVersion = '~15.0.0';
export const angularDevkitVersion = '~15.0.0';
export const ngPackagrVersion = '~15.0.0';
export const ngrxVersion = '~15.0.0-beta.0';
export const ngrxVersion = '~15.0.0';
export const rxjsVersion = '~7.5.0';
export const zoneJsVersion = '~0.11.4';
export const angularJsVersion = '1.7.9';
Expand Down
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3688,24 +3688,24 @@
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.0.0.tgz#c54a5a739dee04b20338d305226a2acdf701f67f"
integrity sha512-FFOGGWwTCRMu9W7MF496Urefxtuo2lttxF1vwS+1rIRsKvuLrWhVaVTj3T8sf2EBL6gtJbmh4TYlizS+obnGKA==

"@ngrx/effects@~14.0.0":
version "14.0.2"
resolved "https://registry.yarnpkg.com/@ngrx/effects/-/effects-14.0.2.tgz#4f448de91462a5905a58b4db8c860270e567ee83"
integrity sha512-1VBJ9eBoeCKSBDkn+wllV1gFGLBrRwq5So0F0QUX2rPcjpE5N1pdpuLAmmwQ84f8nttVlMOx4P9kcEM8qW9jLg==
"@ngrx/effects@~15.0.0":
version "15.0.0"
resolved "https://registry.yarnpkg.com/@ngrx/effects/-/effects-15.0.0.tgz#9d4ab000ca8af8fa9012e4586425541de8b79ec4"
integrity sha512-EfYmGYFF1bNLPCRPnfAZnppT47RPwpprZK6HSQQ1fvV0sA0FYKQilg93ictNhDv+0IhMBZJEbR/hBMYyi4rkBg==
dependencies:
tslib "^2.0.0"

"@ngrx/router-store@~14.0.0":
version "14.0.2"
resolved "https://registry.yarnpkg.com/@ngrx/router-store/-/router-store-14.0.2.tgz#4e7b3e042eadee85c9b3328415547ac34ceefdda"
integrity sha512-kW4//ipsZioVFeHPHQeKdn+8O0V2sPp3ydXuarsZGiosq2uQbKvYaUQqRNz2CtNyrn0z2Tw0zdEbLnvQhNrOog==
"@ngrx/router-store@~15.0.0":
version "15.0.0"
resolved "https://registry.yarnpkg.com/@ngrx/router-store/-/router-store-15.0.0.tgz#6f132798a421631f9b2015d5273f95a0cc2658d3"
integrity sha512-WBgT2uI/CejfYfdi3cjDsp9Q5UZTFnTcTGMTDFT8HujrCD75PxVw8ad9k2GMqp7j96qE13xi+8VRknQyUPx3HA==
dependencies:
tslib "^2.0.0"

"@ngrx/store@~14.0.0":
version "14.0.2"
resolved "https://registry.yarnpkg.com/@ngrx/store/-/store-14.0.2.tgz#f9ab5fd68ea219aeb39276a9ba0e3e24b20e39aa"
integrity sha512-ogxcK7fj4zXCxCVJXzX2+jbVCfvC7ehbvbD5oWXT7GFajUIvA8FSXQzapUPAQEqFbjxgFzhjMFBApMaOcfleIQ==
"@ngrx/store@~15.0.0":
version "15.0.0"
resolved "https://registry.yarnpkg.com/@ngrx/store/-/store-15.0.0.tgz#aec52a4139f6bb11e71752630e437001a77f5dd6"
integrity sha512-zGEK7pgL9X1M2d+tF5tJRjN9dUibfPnyAFcI0+375gBkUSU2gJxuphB0NoGPVJMtLFsW+5yI4+kjui7M6nsaYQ==
dependencies:
tslib "^2.0.0"

Expand Down

0 comments on commit e9ee998

Please sign in to comment.