Skip to content

Commit 4fb030e

Browse files
build: update to Angular libraries to version 12 RC.0 (#3000)
BREAKING CHANGES: Minimum versions of Angular and TypeScript have been updated BEFORE: Minimum of Angular version 11.x Minimum of TypeScript 4.1.x AFTER: Minimum of Angular version 12.x Minimum of TypeScript 4.2.x
1 parent 34add18 commit 4fb030e

File tree

56 files changed

+2314
-2122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2314
-2122
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ version: 2.1
1313
var_1: &cache_key yarn-cache-{{ checksum "yarn.lock" }}-0.12.12
1414
var_2: &run_in_node
1515
docker:
16-
- image: circleci/node:12.9.1
16+
- image: circleci/node:12.14.1
1717
var_3: &set_bazel_options
1818
run:
1919
command: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
2020
var_4: &docs_cache_key yarn-docs-cache-{{ checksum "~/docs/projects/ngrx.io/yarn.lock" }}-0.4
2121
var_5: &run_in_browser
2222
docker:
23-
- image: circleci/node:12.9.1-browsers
23+
- image: circleci/node:12.14.1-browsers
2424
var_6: &docs_in_node
2525
docker:
26-
- image: circleci/node:12.9.1
26+
- image: circleci/node:12.14.1
2727
var_7: &docs_in_browser
2828
docker:
29-
- image: circleci/node:10.13-browsers
30-
var_8: &bazel_cache_key yarn-bazel-cache-{{ checksum "master.txt" }}-0.12.9
29+
- image: circleci/node:12.14-browsers
30+
var_8: &bazel_cache_key yarn-bazel-cache-{{ checksum "master.txt" }}-0.12.14
3131

3232
commands:
3333
write_master_hash:

angular.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,8 @@
643643
}
644644
],
645645
"outputPath": ["projects/ngrx.io/dist/ngrx.io"]
646-
}
646+
},
647+
"outputs": ["{options.outputPath}"]
647648
},
648649
"test": {
649650
"builder": "@nrwl/workspace:run-commands",
@@ -744,7 +745,8 @@
744745
}
745746
]
746747
}
747-
}
748+
},
749+
"outputs": ["{options.outputPath}"]
748750
},
749751
"serve": {
750752
"builder": "@angular-devkit/build-angular:dev-server",

modules/component-store/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/component-store",
3-
"version": "11.1.1",
3+
"version": "12.0.0-beta.0",
44
"description": "Reactive store for component state",
55
"repository": {
66
"type": "git",
@@ -22,7 +22,7 @@
2222
},
2323
"homepage": "https://github.com/ngrx/platform#readme",
2424
"peerDependencies": {
25-
"@angular/core": "^11.0.0",
25+
"@angular/core": "^12.0.0-rc.0",
2626
"rxjs": "^6.5.3"
2727
},
2828
"schematics": "./schematics/collection.json",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^11.1.1';
1+
export const platformVersion = '^12.0.0-beta.0';

modules/component-store/spec/integration.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ describe('ComponentStore integration', () => {
118118
state.parent.isChildVisible = false;
119119
state.fixture.detectChanges();
120120

121+
state.destroy();
122+
121123
expect(state.componentStoreDestroySpy).toHaveBeenCalled();
122124
});
123125
}

modules/component-store/tsconfig-build.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"baseUrl": "../../",
44
"declaration": true,
55
"stripInternal": true,
6-
"emitDecoratorMetadata": true,
76
"experimentalDecorators": true,
87
"module": "es2015",
98
"moduleResolution": "node",

modules/component/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/component",
3-
"version": "11.1.1",
3+
"version": "12.0.0-beta.0",
44
"description": "Reactive Extensions for Angular Components",
55
"repository": {
66
"type": "git",
@@ -20,8 +20,8 @@
2020
},
2121
"homepage": "https://github.com/ngrx/platform#readme",
2222
"peerDependencies": {
23-
"@angular/common": "^11.0.0",
24-
"@angular/core": "^11.0.0",
23+
"@angular/common": "^12.0.0-rc.0",
24+
"@angular/core": "^12.0.0-rc.0",
2525
"rxjs": "^6.5.3"
2626
},
2727
"schematics": "./schematics/collection.json",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^11.1.1';
1+
export const platformVersion = '^12.0.0-beta.0';

modules/component/tsconfig-build.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"baseUrl": ".",
44
"declaration": true,
55
"stripInternal": true,
6-
"emitDecoratorMetadata": true,
76
"experimentalDecorators": true,
87
"strictPropertyInitialization": false,
98
"module": "es2015",

modules/data/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/data",
3-
"version": "11.1.1",
3+
"version": "12.0.0-beta.0",
44
"description": "API management for NgRx",
55
"repository": {
66
"type": "git",
@@ -20,11 +20,11 @@
2020
},
2121
"homepage": "https://github.com/ngrx/platform#readme",
2222
"peerDependencies": {
23-
"@angular/common": "^11.0.0",
24-
"@angular/core": "^11.0.0",
25-
"@ngrx/store": "11.1.1",
26-
"@ngrx/effects": "11.1.1",
27-
"@ngrx/entity": "11.1.1",
23+
"@angular/common": "^12.0.0-rc.0",
24+
"@angular/core": "^12.0.0-rc.0",
25+
"@ngrx/store": "12.0.0-beta.0",
26+
"@ngrx/effects": "12.0.0-beta.0",
27+
"@ngrx/entity": "12.0.0-beta.0",
2828
"rxjs": "^6.5.3"
2929
},
3030
"schematics": "./schematics/collection.json",

0 commit comments

Comments
 (0)