fix(docs-infra): update examples to Angular 13.1 (#44487)

Updates AIO and the live examples to 13.1.0 in order to resolve a build error when opened on Stackblitz. They were using TS 4.5 with Angular ~13.0.0 which doesn't support 4.5.

Fixes #44480.

PR Close #44487
This commit is contained in:
Kristiyan Kostadinov
2021-12-15 12:39:51 +01:00
committed by Alex Rickabaugh
parent 9921b2ca35
commit 7c246d513b
12 changed files with 2037 additions and 2086 deletions
+2 -2
View File
@@ -103,12 +103,12 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "13.0.4",
"@angular-devkit/build-angular": "^13.1.0",
"@angular-eslint/builder": "^13.0.0",
"@angular-eslint/eslint-plugin": "^13.0.0",
"@angular-eslint/eslint-plugin-template": "^13.0.0",
"@angular-eslint/template-parser": "^13.0.0",
"@angular/cli": "13.0.4",
"@angular/cli": "^13.1.0",
"@angular/compiler-cli": "13.0.3",
"@types/jasmine": "~3.10.0",
"@types/lunr": "^2.3.3",
@@ -13,14 +13,14 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~13.0.0-next.0",
"@angular/common": "~13.0.0-next.0",
"@angular/compiler": "~13.0.0-next.0",
"@angular/core": "~13.0.0-next.0",
"@angular/forms": "~13.0.0-next.0",
"@angular/platform-browser": "~13.0.0-next.0",
"@angular/platform-browser-dynamic": "~13.0.0-next.0",
"@angular/router": "~13.0.0-next.0",
"@angular/animations": "~13.1.0",
"@angular/common": "~13.1.0",
"@angular/compiler": "~13.1.0",
"@angular/core": "~13.1.0",
"@angular/forms": "~13.1.0",
"@angular/platform-browser": "~13.1.0",
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/router": "~13.1.0",
"angular": "1.8.0",
"angular-in-memory-web-api": "~0.11.0",
"angular-route": "1.8.0",
@@ -29,9 +29,9 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.0.0-rc.3",
"@angular/cli": "~13.0.0-rc.3",
"@angular/compiler-cli": "~13.0.0-next.0",
"@angular-devkit/build-angular": "~13.1.0",
"@angular/cli": "~13.1.0",
"@angular/compiler-cli": "~13.1.0",
"@types/angular": "1.7.3",
"@types/angular-route": "1.7.1",
"@types/jasmine": "~3.10.0",
@@ -13,23 +13,23 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~13.0.0-next.0",
"@angular/common": "~13.0.0-next.0",
"@angular/compiler": "~13.0.0-next.0",
"@angular/core": "~13.0.0-next.0",
"@angular/forms": "~13.0.0-next.0",
"@angular/platform-browser": "~13.0.0-next.0",
"@angular/platform-browser-dynamic": "~13.0.0-next.0",
"@angular/router": "~13.0.0-next.0",
"@angular/animations": "~13.1.0",
"@angular/common": "~13.1.0",
"@angular/compiler": "~13.1.0",
"@angular/core": "~13.1.0",
"@angular/forms": "~13.1.0",
"@angular/platform-browser": "~13.1.0",
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/router": "~13.1.0",
"angular-in-memory-web-api": "~0.11.0",
"rxjs": "~7.4.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.0.0-rc.3",
"@angular/cli": "~13.0.0-rc.3",
"@angular/compiler-cli": "~13.0.0-next.0",
"@angular-devkit/build-angular": "~13.1.0",
"@angular/cli": "~13.1.0",
"@angular/compiler-cli": "~13.1.0",
"@types/jasmine": "~3.10.0",
"@types/node": "^12.11.1",
"copyfiles": "^2.4.1",
@@ -13,24 +13,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~13.0.0-next.0",
"@angular/common": "~13.0.0-next.0",
"@angular/compiler": "~13.0.0-next.0",
"@angular/core": "~13.0.0-next.0",
"@angular/elements": "~13.0.0-next.0",
"@angular/forms": "~13.0.0-next.0",
"@angular/platform-browser": "~13.0.0-next.0",
"@angular/platform-browser-dynamic": "~13.0.0-next.0",
"@angular/router": "~13.0.0-next.0",
"@angular/animations": "~13.1.0",
"@angular/common": "~13.1.0",
"@angular/compiler": "~13.1.0",
"@angular/core": "~13.1.0",
"@angular/elements": "~13.1.0",
"@angular/forms": "~13.1.0",
"@angular/platform-browser": "~13.1.0",
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/router": "~13.1.0",
"angular-in-memory-web-api": "~0.11.0",
"rxjs": "~7.4.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.0.0-rc.3",
"@angular/cli": "~13.0.0-rc.3",
"@angular/compiler-cli": "~13.0.0-next.0",
"@angular-devkit/build-angular": "~13.1.0",
"@angular/cli": "~13.1.0",
"@angular/compiler-cli": "~13.1.0",
"@types/jasmine": "~3.10.0",
"@types/node": "^12.11.1",
"jasmine-core": "~3.10.0",
@@ -16,24 +16,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~13.0.0-next.0",
"@angular/common": "~13.0.0-next.0",
"@angular/compiler": "~13.0.0-next.0",
"@angular/core": "~13.0.0-next.0",
"@angular/forms": "~13.0.0-next.0",
"@angular/localize": "~13.0.0-next.0",
"@angular/platform-browser": "~13.0.0-next.0",
"@angular/platform-browser-dynamic": "~13.0.0-next.0",
"@angular/router": "~13.0.0-next.0",
"@angular/animations": "~13.1.0",
"@angular/common": "~13.1.0",
"@angular/compiler": "~13.1.0",
"@angular/core": "~13.1.0",
"@angular/forms": "~13.1.0",
"@angular/localize": "~13.1.0",
"@angular/platform-browser": "~13.1.0",
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/router": "~13.1.0",
"angular-in-memory-web-api": "~0.11.0",
"rxjs": "~7.4.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.0.0-rc.3",
"@angular/cli": "~13.0.0-rc.3",
"@angular/compiler-cli": "~13.0.0-next.0",
"@angular-devkit/build-angular": "~13.1.0",
"@angular/cli": "~13.1.0",
"@angular/compiler-cli": "~13.1.0",
"@types/jasmine": "~3.10.0",
"@types/node": "^12.11.1",
"jasmine-core": "~3.10.0",
@@ -13,24 +13,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~13.0.0-next.0",
"@angular/common": "~13.0.0-next.0",
"@angular/compiler": "~13.0.0-next.0",
"@angular/core": "~13.0.0-next.0",
"@angular/forms": "~13.0.0-next.0",
"@angular/platform-browser": "~13.0.0-next.0",
"@angular/platform-browser-dynamic": "~13.0.0-next.0",
"@angular/router": "~13.0.0-next.0",
"@angular/service-worker": "~13.0.0-next.0",
"@angular/animations": "~13.1.0",
"@angular/common": "~13.1.0",
"@angular/compiler": "~13.1.0",
"@angular/core": "~13.1.0",
"@angular/forms": "~13.1.0",
"@angular/platform-browser": "~13.1.0",
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/router": "~13.1.0",
"@angular/service-worker": "~13.1.0",
"angular-in-memory-web-api": "~0.11.0",
"rxjs": "~7.4.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.0.0-rc.3",
"@angular/cli": "~13.0.0-rc.3",
"@angular/compiler-cli": "~13.0.0-next.0",
"@angular-devkit/build-angular": "~13.1.0",
"@angular/cli": "~13.1.0",
"@angular/compiler-cli": "~13.1.0",
"@types/jasmine": "~3.10.0",
"@types/node": "^12.11.1",
"jasmine-core": "~3.10.0",
@@ -25,15 +25,15 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~13.0.0-next.0",
"@angular/common": "~13.0.0-next.0",
"@angular/compiler": "~13.0.0-next.0",
"@angular/core": "~13.0.0-next.0",
"@angular/forms": "~13.0.0-next.0",
"@angular/platform-browser": "~13.0.0-next.0",
"@angular/platform-browser-dynamic": "~13.0.0-next.0",
"@angular/router": "~13.0.0-next.0",
"@angular/upgrade": "~13.0.0-next.0",
"@angular/animations": "~13.1.0",
"@angular/common": "~13.1.0",
"@angular/compiler": "~13.1.0",
"@angular/core": "~13.1.0",
"@angular/forms": "~13.1.0",
"@angular/platform-browser": "~13.1.0",
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/router": "~13.1.0",
"@angular/upgrade": "~13.1.0",
"core-js": "^2.5.4",
"rxjs": "~7.4.0",
"systemjs": "~0.19.39",
@@ -42,7 +42,7 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular/compiler-cli": "~13.0.0-next.0",
"@angular/compiler-cli": "~13.1.0",
"@types/angular": "1.7.3",
"@types/angular-animate": "1.5.10",
"@types/angular-mocks": "1.7.0",
@@ -17,16 +17,16 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~13.0.0-next.0",
"@angular/common": "~13.0.0-next.0",
"@angular/compiler": "~13.0.0-next.0",
"@angular/core": "~13.0.0-next.0",
"@angular/forms": "~13.0.0-next.0",
"@angular/platform-browser": "~13.0.0-next.0",
"@angular/platform-browser-dynamic": "~13.0.0-next.0",
"@angular/platform-server": "~13.0.0-next.0",
"@angular/router": "~13.0.0-next.0",
"@nguniversal/express-engine": "~13.0.0-rc.0",
"@angular/animations": "~13.1.0",
"@angular/common": "~13.1.0",
"@angular/compiler": "~13.1.0",
"@angular/core": "~13.1.0",
"@angular/forms": "~13.1.0",
"@angular/platform-browser": "~13.1.0",
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/platform-server": "~13.1.0",
"@angular/router": "~13.1.0",
"@nguniversal/express-engine": "~13.0.0",
"angular-in-memory-web-api": "~0.11.0",
"express": "^4.15.2",
"rxjs": "~7.4.0",
@@ -34,10 +34,10 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.0.0-rc.3",
"@angular/cli": "~13.0.0-rc.3",
"@angular/compiler-cli": "~13.0.0-next.0",
"@nguniversal/builders": "~13.0.0-rc.0",
"@angular-devkit/build-angular": "~13.1.0",
"@angular/cli": "~13.1.0",
"@angular/compiler-cli": "~13.1.0",
"@nguniversal/builders": "~13.0.0",
"@types/express": "^4.17.8",
"@types/jasmine": "~3.10.0",
"@types/node": "^12.11.1",
+18 -18
View File
@@ -21,20 +21,20 @@
"license": "MIT",
"repository": {},
"dependencies": {
"@angular/animations": "~13.0.0-next.0",
"@angular/common": "~13.0.0-next.0",
"@angular/compiler": "~13.0.0-next.0",
"@angular/core": "~13.0.0-next.0",
"@angular/elements": "~13.0.0-next.0",
"@angular/forms": "~13.0.0-next.0",
"@angular/localize": "~13.0.0-next.0",
"@angular/platform-browser": "~13.0.0-next.0",
"@angular/platform-browser-dynamic": "~13.0.0-next.0",
"@angular/platform-server": "~13.0.0-next.0",
"@angular/router": "~13.0.0-next.0",
"@angular/service-worker": "~13.0.0-next.0",
"@angular/upgrade": "~13.0.0-next.0",
"@nguniversal/express-engine": "~13.0.0-rc.0",
"@angular/animations": "~13.1.0",
"@angular/common": "~13.1.0",
"@angular/compiler": "~13.1.0",
"@angular/core": "~13.1.0",
"@angular/elements": "~13.1.0",
"@angular/forms": "~13.1.0",
"@angular/localize": "~13.1.0",
"@angular/platform-browser": "~13.1.0",
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/platform-server": "~13.1.0",
"@angular/router": "~13.1.0",
"@angular/service-worker": "~13.1.0",
"@angular/upgrade": "~13.1.0",
"@nguniversal/express-engine": "~13.0.0",
"angular": "1.8.0",
"angular-in-memory-web-api": "~0.11.0",
"angular-route": "1.8.0",
@@ -47,10 +47,10 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.0.0-rc.3",
"@angular/cli": "~13.0.0-rc.3",
"@angular/compiler-cli": "~13.0.0-next.0",
"@nguniversal/builders": "~13.0.0-rc.0",
"@angular-devkit/build-angular": "~13.1.0",
"@angular/cli": "~13.1.0",
"@angular/compiler-cli": "~13.1.0",
"@nguniversal/builders": "~13.0.0",
"@types/angular": "1.7.3",
"@types/angular-animate": "1.5.10",
"@types/angular-mocks": "1.7.0",
File diff suppressed because it is too large Load Diff
+842 -734
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -2,7 +2,7 @@
"aio": {
"master": {
"uncompressed": {
"runtime": 4436,
"runtime": 4330,
"main": 457054,
"polyfills": 37123,
"styles": 70149,
@@ -14,7 +14,7 @@
"aio-local": {
"master": {
"uncompressed": {
"runtime": 4436,
"runtime": 4330,
"main": 456498,
"polyfills": 37271,
"styles": 70149,