Skip to content

Commit

Permalink
feat: update Angular packages to latest v14 RC (#3425)
Browse files Browse the repository at this point in the history
Closes #3417

BREAKING CHANGE:

Minimum version of Angular has been updated

BEFORE:

Minimum version of Angular was 13.x

AFTER:

Minimum version of Angular is 14.x
  • Loading branch information
brandonroberts committed May 24, 2022
1 parent f233dae commit f15dd1e
Show file tree
Hide file tree
Showing 47 changed files with 2,578 additions and 2,183 deletions.
4 changes: 2 additions & 2 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# V13 Migration guide
# V14 Migration guide

This document has been moved to https://ngrx.io/guide/migration/13.
This document has been moved to https://ngrx.io/guide/migration/14.
6 changes: 3 additions & 3 deletions modules/component-store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/component-store",
"version": "13.1.0",
"version": "14.0.0-beta.0",
"description": "Reactive store for component state",
"repository": {
"type": "git",
Expand All @@ -22,8 +22,8 @@
},
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@angular/core": "^13.0.0",
"rxjs": "^6.5.3 || ^7.4.0"
"@angular/core": "^14.0.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
"sideEffects": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^13.1.0';
export const platformVersion = '^14.0.0-beta.0';
2 changes: 1 addition & 1 deletion modules/component-store/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sourceMap": true,
"inlineSources": true,
"lib": ["es2018", "dom"],
"target": "es2015",
"target": "es2020",
"skipLibCheck": true
},
"files": ["public_api.ts"],
Expand Down
8 changes: 4 additions & 4 deletions modules/component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/component",
"version": "13.1.0",
"version": "14.0.0-beta.0",
"description": "Reactive Extensions for Angular Components",
"repository": {
"type": "git",
Expand All @@ -20,9 +20,9 @@
},
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@angular/common": "^13.0.0",
"@angular/core": "^13.0.0",
"rxjs": "^6.5.3 || ^7.4.0"
"@angular/common": "^14.0.0",
"@angular/core": "^14.0.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion modules/component/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^13.1.0';
export const platformVersion = '^14.0.0-beta.0';
2 changes: 1 addition & 1 deletion modules/component/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sourceMap": true,
"inlineSources": true,
"lib": ["es2015", "dom"],
"target": "es2015",
"target": "es2020",
"skipLibCheck": true
},
"files": ["public_api.ts"],
Expand Down
14 changes: 7 additions & 7 deletions modules/data/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/data",
"version": "13.1.0",
"version": "14.0.0-beta.0",
"description": "API management for NgRx",
"repository": {
"type": "git",
Expand All @@ -20,12 +20,12 @@
},
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@angular/common": "^13.0.0",
"@angular/core": "^13.0.0",
"@ngrx/store": "13.1.0",
"@ngrx/effects": "13.1.0",
"@ngrx/entity": "13.1.0",
"rxjs": "^6.5.3 || ^7.4.0"
"@angular/common": "^14.0.0",
"@angular/core": "^14.0.0",
"@ngrx/store": "14.0.0-beta.0",
"@ngrx/effects": "14.0.0-beta.0",
"@ngrx/entity": "14.0.0-beta.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
"ng-update": {
Expand Down
2 changes: 1 addition & 1 deletion modules/data/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^13.1.0';
export const platformVersion = '^14.0.0-beta.0';
2 changes: 1 addition & 1 deletion modules/data/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sourceMap": true,
"inlineSources": true,
"lib": ["es2018", "dom"],
"target": "es2015",
"target": "es2020",
"skipLibCheck": true
},
"files": ["public_api.ts"],
Expand Down
8 changes: 4 additions & 4 deletions modules/effects/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/effects",
"version": "13.1.0",
"version": "14.0.0-beta.0",
"description": "Side effect model for @ngrx/store",
"repository": {
"type": "git",
Expand All @@ -21,9 +21,9 @@
},
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@angular/core": "^13.0.0",
"@ngrx/store": "13.1.0",
"rxjs": "^6.5.3 || ^7.4.0"
"@angular/core": "^14.0.0",
"@ngrx/store": "14.0.0-beta.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
"ng-update": {
Expand Down
2 changes: 1 addition & 1 deletion modules/effects/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^13.1.0';
export const platformVersion = '^14.0.0-beta.0';
1 change: 1 addition & 0 deletions modules/effects/testing/ng-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 0 additions & 3 deletions modules/effects/testing/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion modules/effects/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sourceMap": true,
"inlineSources": true,
"lib": ["es2018", "dom"],
"target": "es2015",
"target": "es2020",
"skipLibCheck": true
},
"files": ["public_api.ts"],
Expand Down
8 changes: 4 additions & 4 deletions modules/entity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/entity",
"version": "13.1.0",
"version": "14.0.0-beta.0",
"description": "Common utilities for entity reducers",
"repository": {
"type": "git",
Expand All @@ -20,9 +20,9 @@
},
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@angular/core": "^13.0.0",
"@ngrx/store": "13.1.0",
"rxjs": "^6.5.3 || ^7.4.0"
"@angular/core": "^14.0.0",
"@ngrx/store": "14.0.0-beta.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
"ng-update": {
Expand Down
2 changes: 1 addition & 1 deletion modules/entity/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^13.1.0';
export const platformVersion = '^14.0.0-beta.0';
2 changes: 1 addition & 1 deletion modules/entity/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sourceMap": true,
"inlineSources": true,
"lib": ["es2018", "dom"],
"target": "es2015",
"target": "es2020",
"skipLibCheck": true
},
"files": ["public_api.ts"],
Expand Down
2 changes: 1 addition & 1 deletion modules/eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/eslint-plugin",
"version": "13.1.0",
"version": "14.0.0-beta.0",
"description": "NgRx ESLint Plugin",
"repository": {
"type": "git",
Expand Down
12 changes: 6 additions & 6 deletions modules/router-store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/router-store",
"version": "13.1.0",
"version": "14.0.0-beta.0",
"description": "Bindings to connect @angular/router to @ngrx/store",
"repository": {
"type": "git",
Expand All @@ -20,11 +20,11 @@
},
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@angular/common": "^13.0.0",
"@angular/core": "^13.0.0",
"@angular/router": "^13.0.0",
"@ngrx/store": "13.1.0",
"rxjs": "^6.5.3 || ^7.4.0"
"@angular/common": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/router": "^14.0.0",
"@ngrx/store": "14.0.0-beta.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
"ng-update": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^13.1.0';
export const platformVersion = '^14.0.0-beta.0';
4 changes: 2 additions & 2 deletions modules/router-store/spec/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, Provider, ɵConsole as Console } from '@angular/core';
import { Component, Provider, Type, ɵConsole as Console } from '@angular/core';
import { TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { StoreModule } from '@ngrx/store';
Expand Down Expand Up @@ -39,7 +39,7 @@ export function createTestModule(
},
{
path: 'load',
loadChildren: () => Promise.resolve(null),
loadChildren: () => Promise.resolve({} as Type<any>),
canLoad: ['CanLoadNext'],
},
{
Expand Down
2 changes: 1 addition & 1 deletion modules/router-store/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sourceMap": true,
"inlineSources": true,
"lib": ["es2018", "dom"],
"target": "es2015",
"target": "es2020",
"skipLibCheck": true
},
"files": ["public_api.ts"],
Expand Down
2 changes: 1 addition & 1 deletion modules/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^13.1.0';
export const platformVersion = '^14.0.0-beta.0';
2 changes: 1 addition & 1 deletion modules/schematics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/schematics",
"version": "13.1.0",
"version": "14.0.0-beta.0",
"description": "NgRx Schematics for Angular",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/schematics/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^13.1.0';
export const platformVersion = '^14.0.0-beta.0';
6 changes: 3 additions & 3 deletions modules/store-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/store-devtools",
"version": "13.1.0",
"version": "14.0.0-beta.0",
"description": "Developer tools for @ngrx/store",
"repository": {
"type": "git",
Expand All @@ -20,8 +20,8 @@
},
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@ngrx/store": "13.1.0",
"rxjs": "^6.5.3 || ^7.4.0"
"@ngrx/store": "14.0.0-beta.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
"ng-update": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^13.1.0';
export const platformVersion = '^14.0.0-beta.0';
2 changes: 1 addition & 1 deletion modules/store-devtools/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sourceMap": true,
"inlineSources": true,
"lib": ["es2018", "dom"],
"target": "es2015",
"target": "es2020",
"skipLibCheck": true
},
"files": ["public_api.ts"],
Expand Down
6 changes: 3 additions & 3 deletions modules/store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/store",
"version": "13.1.0",
"version": "14.0.0-beta.0",
"description": "RxJS powered Redux for Angular apps",
"repository": {
"type": "git",
Expand All @@ -21,8 +21,8 @@
},
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@angular/core": "^13.0.0",
"rxjs": "^6.5.3 || ^7.4.0"
"@angular/core": "^14.0.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
"ng-update": {
Expand Down
2 changes: 1 addition & 1 deletion modules/store/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^13.1.0';
export const platformVersion = '^14.0.0-beta.0';
1 change: 1 addition & 0 deletions modules/store/testing/ng-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 0 additions & 3 deletions modules/store/testing/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion modules/store/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"rootDir": ".",
"sourceMap": true,
"inlineSources": true,
"target": "es2015",
"target": "es2020",
"lib": ["es2018", "dom"],
"skipLibCheck": true,
"strict": true
Expand Down

0 comments on commit f15dd1e

Please sign in to comment.