Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 65bbebf

Browse files
committed
build: run ng update migrations for v12-next
- update StackBlitz for v12-next - add v12-next to version list
1 parent b5b8302 commit 65bbebf

File tree

13 files changed

+61
-57
lines changed

13 files changed

+61
-57
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"moment": "^2.29.1",
5555
"rxjs": "^6.6.6",
5656
"tslib": "^2.1.0",
57-
"zone.js": "^0.11.4"
57+
"zone.js": "~0.11.4"
5858
},
5959
"devDependencies": {
6060
"@angular-devkit/build-angular": "^0.1200.0-next.4",

scenes/src/environments/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ export const environment = {
1313
* This import should be commented out in production mode because it will have a negative impact
1414
* on performance if an error is thrown.
1515
*/
16-
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
16+
// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.

scenes/src/polyfills.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
/***************************************************************************************************
5959
* Zone JS is required by default for Angular itself.
6060
*/
61-
import 'zone.js/dist/zone'; // Included with Angular CLI.
61+
import 'zone.js'; // Included with Angular CLI.
6262

6363

6464
/***************************************************************************************************

scenes/src/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
22

3-
import 'zone.js/dist/zone-testing';
3+
import 'zone.js/testing';
44
import { getTestBed } from '@angular/core/testing';
55
import {
66
BrowserDynamicTestingModule,

src/app/shared/stack-blitz/stack-blitz-writer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const TEST_TEMPLATE_FILES = [
5757
];
5858

5959
const TAGS: string[] = ['angular', 'material', 'example'];
60-
const angularVersion = '^11.0.0';
60+
const angularVersion = '^12.0.0-next.0';
6161

6262
const dependencies = {
6363
'@angular/cdk': materialVersion,

src/assets/stack-blitz-tests/package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,34 @@
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular/animations": "^11.0.0",
15-
"@angular/cdk": "^11.0.0",
16-
"@angular/common": "^11.0.0",
17-
"@angular/compiler": "^11.0.0",
18-
"@angular/core": "^11.0.0",
19-
"@angular/forms": "^11.0.0",
20-
"@angular/material": "^11.0.0",
21-
"@angular/material-moment-adapter": "^11.0.0",
22-
"@angular/platform-browser": "^11.0.0",
23-
"@angular/platform-browser-dynamic": "^11.0.0",
24-
"@angular/router": "^11.0.0",
14+
"@angular/animations": "^12.0.0-next.0",
15+
"@angular/cdk": "^12.0.0-next.0",
16+
"@angular/common": "^12.0.0-next.0",
17+
"@angular/compiler": "^12.0.0-next.0",
18+
"@angular/core": "^12.0.0-next.0",
19+
"@angular/forms": "^12.0.0-next.0",
20+
"@angular/material": "^12.0.0-next.0",
21+
"@angular/material-moment-adapter": "^12.0.0-next.0",
22+
"@angular/platform-browser": "^12.0.0-next.0",
23+
"@angular/platform-browser-dynamic": "^12.0.0-next.0",
24+
"@angular/router": "^12.0.0-next.0",
2525
"angular-in-memory-web-api": "~0.11.0",
2626
"moment": "^2.29.1",
27-
"rxjs": "^6.6.3",
28-
"tslib": "^2.0.3",
29-
"zone.js": "^0.11.2"
27+
"rxjs": "^6.6.6",
28+
"tslib": "^2.1.0",
29+
"zone.js": "^0.11.4"
3030
},
3131
"devDependencies": {
32-
"@angular-devkit/build-angular": "0.1100.0",
33-
"@angular/cli": "^11.0.0",
34-
"@angular/compiler-cli": "^11.0.0",
35-
"@angular/language-service": "^11.0.0",
36-
"@angular/localize": "^11.0.0",
37-
"@types/jasmine": "^3.6.0",
38-
"@types/node": "^12.12.70",
32+
"@angular-devkit/build-angular": "0.1200.0-next.4",
33+
"@angular/cli": "^12.0.0-next.4",
34+
"@angular/compiler-cli": "^12.0.0-next.0",
35+
"@angular/language-service": "^12.0.0-next.0",
36+
"@angular/localize": "^12.0.0-next.0",
37+
"@types/jasmine": "^3.6.6",
38+
"@types/node": "^12.20.6",
3939
"codelyzer": "^6.0.1",
40-
"ts-node": "^8.10.1",
40+
"ts-node": "^8.10.2",
4141
"tslint": "~6.1.2",
42-
"typescript": "~4.0.2"
42+
"typescript": "~4.1.5"
4343
}
4444
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import 'zone.js/dist/zone';
1+
import 'zone.js';

src/assets/stack-blitz/package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular/animations": "^11.0.0",
15-
"@angular/cdk": "^11.0.0",
16-
"@angular/common": "^11.0.0",
17-
"@angular/compiler": "^11.0.0",
18-
"@angular/core": "^11.0.0",
19-
"@angular/forms": "^11.0.0",
20-
"@angular/material": "^11.0.0",
21-
"@angular/material-moment-adapter": "^11.0.0",
22-
"@angular/platform-browser": "^11.0.0",
23-
"@angular/platform-browser-dynamic": "^11.0.0",
24-
"@angular/router": "^11.0.0",
14+
"@angular/animations": "^12.0.0-next.0",
15+
"@angular/cdk": "^12.0.0-next.0",
16+
"@angular/common": "^12.0.0-next.0",
17+
"@angular/compiler": "^12.0.0-next.0",
18+
"@angular/core": "^12.0.0-next.0",
19+
"@angular/forms": "^12.0.0-next.0",
20+
"@angular/material": "^12.0.0-next.0",
21+
"@angular/material-moment-adapter": "^12.0.0-next.0",
22+
"@angular/platform-browser": "^12.0.0-next.0",
23+
"@angular/platform-browser-dynamic": "^12.0.0-next.0",
24+
"@angular/router": "^12.0.0-next.0",
2525
"angular-in-memory-web-api": "~0.11.0",
2626
"moment": "^2.29.1",
2727
"rxjs": "^6.6.6",
2828
"tslib": "^2.1.0",
2929
"zone.js": "^0.11.4"
3030
},
3131
"devDependencies": {
32-
"@angular-devkit/build-angular": "^0.1102.4",
33-
"@angular/cli": "^11.2.4",
34-
"@angular/compiler-cli": "^11.0.0",
35-
"@angular/language-service": "^11.0.0",
36-
"@angular/localize": "^11.0.0",
37-
"@types/node": "^12.20.5",
32+
"@angular-devkit/build-angular": "^0.1200.0-next.4",
33+
"@angular/cli": "^12.0.0-next.4",
34+
"@angular/compiler-cli": "^12.0.0-next.0",
35+
"@angular/language-service": "^12.0.0-next.0",
36+
"@angular/localize": "^12.0.0-next.0",
37+
"@types/node": "^12.20.6",
3838
"codelyzer": "^6.0.1",
3939
"ts-node": "^8.10.2",
4040
"tslint": "~6.1.3",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import 'zone.js/dist/zone';
1+
import 'zone.js';

src/assets/versions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@
2626
{
2727
"url": "https://material.angular.io/",
2828
"title": "11.2.4"
29+
},
30+
{
31+
"url": "https://next.material.angular.io/",
32+
"title": "12.0.0-next.2"
2933
}
3034
]

src/polyfills.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
/***************************************************************************************************
5959
* Zone JS is required by default for Angular itself.
6060
*/
61-
import 'zone.js/dist/zone'; // Included with Angular CLI.
61+
import 'zone.js'; // Included with Angular CLI.
6262

6363

6464
/***************************************************************************************************

src/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
22

3-
import 'zone.js/dist/zone-testing';
3+
import 'zone.js/testing';
44
import {getTestBed} from '@angular/core/testing';
55
import {
66
BrowserDynamicTestingModule,

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@
216216
tslib "^2.0.0"
217217

218218
"@angular/components-examples@angular/material2-docs-content#master":
219-
version "12.0.0-next.2-sha-85b5df638"
220-
resolved "https://codeload.github.com/angular/material2-docs-content/tar.gz/e96507f2dcf1d1bd3b1aa51b16864978c7c305d5"
219+
version "12.0.0-next.2-sha-d11e2937c"
220+
resolved "https://codeload.github.com/angular/material2-docs-content/tar.gz/e9038143b9f8946d296e0e1db83b6b60b2536eb8"
221221
dependencies:
222222
tslib "^2.0.0"
223223

@@ -14436,14 +14436,14 @@ zip-stream@^4.1.0:
1443614436
compress-commons "^4.1.0"
1443714437
readable-stream "^3.6.0"
1443814438

14439-
zone.js@^0.11.4:
14439+
zone.js@~0.10.3:
14440+
version "0.10.3"
14441+
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.10.3.tgz#3e5e4da03c607c9dcd92e37dd35687a14a140c16"
14442+
integrity sha512-LXVLVEq0NNOqK/fLJo3d0kfzd4sxwn2/h67/02pjCjfKDxgx1i9QqpvtHD8CrBnSSwMw5+dy11O7FRX5mkO7Cg==
14443+
14444+
zone.js@~0.11.4:
1444014445
version "0.11.4"
1444114446
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.11.4.tgz#0f70dcf6aba80f698af5735cbb257969396e8025"
1444214447
integrity sha512-DDh2Ab+A/B+9mJyajPjHFPWfYU1H+pdun4wnnk0OcQTNjem1XQSZ2CDW+rfZEUDjv5M19SBqAkjZi0x5wuB5Qw==
1444314448
dependencies:
1444414449
tslib "^2.0.0"
14445-
14446-
zone.js@~0.10.3:
14447-
version "0.10.3"
14448-
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.10.3.tgz#3e5e4da03c607c9dcd92e37dd35687a14a140c16"
14449-
integrity sha512-LXVLVEq0NNOqK/fLJo3d0kfzd4sxwn2/h67/02pjCjfKDxgx1i9QqpvtHD8CrBnSSwMw5+dy11O7FRX5mkO7Cg==

0 commit comments

Comments
 (0)