build(docs-infra): upgrade docs examples to latest Angular CLI and framework (#36145)

This commit also updates the projects to more closely match what a newly
generated app would look like with the exception of `tslint.json` files,
which would create too many linting failures. These will be updated in a
follow-up PR.

PR Close #36145
This commit is contained in:
George Kalpakas 2020-05-05 17:41:54 +03:00 committed by Alex Rickabaugh
parent 1b2d6ea11b
commit 306f46ce92
9 changed files with 1331 additions and 928 deletions

View File

@ -12,14 +12,14 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~9.0.6", "@angular/animations": "~9.1.4",
"@angular/common": "~9.0.6", "@angular/common": "~9.1.4",
"@angular/compiler": "~9.0.6", "@angular/compiler": "~9.1.4",
"@angular/core": "~9.0.6", "@angular/core": "~9.1.4",
"@angular/forms": "~9.0.6", "@angular/forms": "~9.1.4",
"@angular/platform-browser": "~9.0.6", "@angular/platform-browser": "~9.1.4",
"@angular/platform-browser-dynamic": "~9.0.6", "@angular/platform-browser-dynamic": "~9.1.4",
"@angular/router": "~9.0.6", "@angular/router": "~9.1.4",
"angular": "1.7.9", "angular": "1.7.9",
"angular-in-memory-web-api": "~0.9.0", "angular-in-memory-web-api": "~0.9.0",
"angular-route": "1.7.9", "angular-route": "1.7.9",
@ -28,10 +28,10 @@
"zone.js": "~0.10.3" "zone.js": "~0.10.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.900.6", "@angular-devkit/build-angular": "~0.901.4",
"@angular/cli": "~9.0.6", "@angular/cli": "~9.1.4",
"@angular/compiler-cli": "~9.0.6", "@angular/compiler-cli": "~9.1.4",
"@angular/language-service": "~9.0.6", "@angular/language-service": "~9.1.4",
"@types/angular": "^1.6.57", "@types/angular": "^1.6.57",
"@types/angular-route": "^1.7.0", "@types/angular-route": "^1.7.0",
"@types/jasmine": "~3.5.0", "@types/jasmine": "~3.5.0",
@ -41,14 +41,14 @@
"jasmine-core": "~3.5.0", "jasmine-core": "~3.5.0",
"jasmine-marbles": "~0.6.0", "jasmine-marbles": "~0.6.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~4.3.0", "karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0", "karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1", "karma-jasmine": "~3.0.1",
"karma-jasmine-html-reporter": "^1.4.2", "karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.3", "protractor": "~5.4.3",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~5.18.0", "tslint": "~6.1.0",
"typescript": "~3.7.5" "typescript": "~3.8.3"
} }
} }

View File

@ -8,6 +8,9 @@ indent_size = 2
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
[*.ts]
quote_type = single
[*.md] [*.md]
max_line_length = off max_line_length = off
trim_trailing_whitespace = false trim_trailing_whitespace = false

View File

@ -12,24 +12,24 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~9.0.6", "@angular/animations": "~9.1.4",
"@angular/common": "~9.0.6", "@angular/common": "~9.1.4",
"@angular/compiler": "~9.0.6", "@angular/compiler": "~9.1.4",
"@angular/core": "~9.0.6", "@angular/core": "~9.1.4",
"@angular/forms": "~9.0.6", "@angular/forms": "~9.1.4",
"@angular/platform-browser": "~9.0.6", "@angular/platform-browser": "~9.1.4",
"@angular/platform-browser-dynamic": "~9.0.6", "@angular/platform-browser-dynamic": "~9.1.4",
"@angular/router": "~9.0.6", "@angular/router": "~9.1.4",
"angular-in-memory-web-api": "~0.9.0", "angular-in-memory-web-api": "~0.9.0",
"rxjs": "~6.5.4", "rxjs": "~6.5.4",
"tslib": "^1.10.0", "tslib": "^1.10.0",
"zone.js": "~0.10.3" "zone.js": "~0.10.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.900.6", "@angular-devkit/build-angular": "~0.901.4",
"@angular/cli": "~9.0.6", "@angular/cli": "~9.1.4",
"@angular/compiler-cli": "~9.0.6", "@angular/compiler-cli": "~9.1.4",
"@angular/language-service": "~9.0.6", "@angular/language-service": "~9.1.4",
"@types/jasmine": "~3.5.0", "@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
@ -37,14 +37,14 @@
"jasmine-core": "~3.5.0", "jasmine-core": "~3.5.0",
"jasmine-marbles": "~0.6.0", "jasmine-marbles": "~0.6.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~4.3.0", "karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0", "karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1", "karma-jasmine": "~3.0.1",
"karma-jasmine-html-reporter": "^1.4.2", "karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.3", "protractor": "~5.4.3",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~5.18.0", "tslint": "~6.1.0",
"typescript": "~3.7.5" "typescript": "~3.8.3"
} }
} }

View File

@ -12,15 +12,15 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~9.0.6", "@angular/animations": "~9.1.4",
"@angular/common": "~9.0.6", "@angular/common": "~9.1.4",
"@angular/compiler": "~9.0.6", "@angular/compiler": "~9.1.4",
"@angular/core": "~9.0.6", "@angular/core": "~9.1.4",
"@angular/elements": "~9.0.6", "@angular/elements": "~9.1.4",
"@angular/forms": "~9.0.6", "@angular/forms": "~9.1.4",
"@angular/platform-browser": "~9.0.6", "@angular/platform-browser": "~9.1.4",
"@angular/platform-browser-dynamic": "~9.0.6", "@angular/platform-browser-dynamic": "~9.1.4",
"@angular/router": "~9.0.6", "@angular/router": "~9.1.4",
"@webcomponents/custom-elements": "^1.4.1", "@webcomponents/custom-elements": "^1.4.1",
"angular-in-memory-web-api": "~0.9.0", "angular-in-memory-web-api": "~0.9.0",
"rxjs": "~6.5.4", "rxjs": "~6.5.4",
@ -28,10 +28,10 @@
"zone.js": "~0.10.3" "zone.js": "~0.10.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.900.6", "@angular-devkit/build-angular": "~0.901.4",
"@angular/cli": "~9.0.6", "@angular/cli": "~9.1.4",
"@angular/compiler-cli": "~9.0.6", "@angular/compiler-cli": "~9.1.4",
"@angular/language-service": "~9.0.6", "@angular/language-service": "~9.1.4",
"@types/jasmine": "~3.5.0", "@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
@ -39,14 +39,14 @@
"jasmine-core": "~3.5.0", "jasmine-core": "~3.5.0",
"jasmine-marbles": "~0.6.0", "jasmine-marbles": "~0.6.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~4.3.0", "karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0", "karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1", "karma-jasmine": "~3.0.1",
"karma-jasmine-html-reporter": "^1.4.2", "karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.3", "protractor": "~5.4.3",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~5.18.0", "tslint": "~6.1.0",
"typescript": "~3.7.5" "typescript": "~3.8.3"
} }
} }

View File

@ -15,24 +15,24 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~9.0.6", "@angular/animations": "~9.1.4",
"@angular/common": "~9.0.6", "@angular/common": "~9.1.4",
"@angular/compiler": "~9.0.6", "@angular/compiler": "~9.1.4",
"@angular/core": "~9.0.6", "@angular/core": "~9.1.4",
"@angular/forms": "~9.0.6", "@angular/forms": "~9.1.4",
"@angular/platform-browser": "~9.0.6", "@angular/platform-browser": "~9.1.4",
"@angular/platform-browser-dynamic": "~9.0.6", "@angular/platform-browser-dynamic": "~9.1.4",
"@angular/router": "~9.0.6", "@angular/router": "~9.1.4",
"angular-in-memory-web-api": "~0.9.0", "angular-in-memory-web-api": "~0.9.0",
"rxjs": "~6.5.4", "rxjs": "~6.5.4",
"tslib": "^1.10.0", "tslib": "^1.10.0",
"zone.js": "~0.10.3" "zone.js": "~0.10.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.900.6", "@angular-devkit/build-angular": "~0.901.4",
"@angular/cli": "~9.0.6", "@angular/cli": "~9.1.4",
"@angular/compiler-cli": "~9.0.6", "@angular/compiler-cli": "~9.1.4",
"@angular/language-service": "~9.0.6", "@angular/language-service": "~9.1.4",
"@types/jasmine": "~3.5.0", "@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
@ -40,14 +40,14 @@
"jasmine-core": "~3.5.0", "jasmine-core": "~3.5.0",
"jasmine-marbles": "~0.6.0", "jasmine-marbles": "~0.6.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~4.3.0", "karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0", "karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1", "karma-jasmine": "~3.0.1",
"karma-jasmine-html-reporter": "^1.4.2", "karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.3", "protractor": "~5.4.3",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~5.18.0", "tslint": "~6.1.0",
"typescript": "~3.7.5" "typescript": "~3.8.3"
} }
} }

View File

@ -12,25 +12,25 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~9.0.6", "@angular/animations": "~9.1.4",
"@angular/common": "~9.0.6", "@angular/common": "~9.1.4",
"@angular/compiler": "~9.0.6", "@angular/compiler": "~9.1.4",
"@angular/core": "~9.0.6", "@angular/core": "~9.1.4",
"@angular/forms": "~9.0.6", "@angular/forms": "~9.1.4",
"@angular/platform-browser": "~9.0.6", "@angular/platform-browser": "~9.1.4",
"@angular/platform-browser-dynamic": "~9.0.6", "@angular/platform-browser-dynamic": "~9.1.4",
"@angular/router": "~9.0.6", "@angular/router": "~9.1.4",
"@angular/service-worker": "~9.0.6", "@angular/service-worker": "~9.1.4",
"angular-in-memory-web-api": "~0.9.0", "angular-in-memory-web-api": "~0.9.0",
"rxjs": "~6.5.4", "rxjs": "~6.5.4",
"tslib": "^1.10.0", "tslib": "^1.10.0",
"zone.js": "~0.10.3" "zone.js": "~0.10.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.900.6", "@angular-devkit/build-angular": "~0.901.4",
"@angular/cli": "~9.0.6", "@angular/cli": "~9.1.4",
"@angular/compiler-cli": "~9.0.6", "@angular/compiler-cli": "~9.1.4",
"@angular/language-service": "~9.0.6", "@angular/language-service": "~9.1.4",
"@types/jasmine": "~3.5.0", "@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
@ -38,14 +38,14 @@
"jasmine-core": "~3.5.0", "jasmine-core": "~3.5.0",
"jasmine-marbles": "~0.6.0", "jasmine-marbles": "~0.6.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~4.3.0", "karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0", "karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1", "karma-jasmine": "~3.0.1",
"karma-jasmine-html-reporter": "^1.4.2", "karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.3", "protractor": "~5.4.3",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~5.18.0", "tslint": "~6.1.0",
"typescript": "~3.7.5" "typescript": "~3.8.3"
} }
} }

View File

@ -16,15 +16,15 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~9.0.6", "@angular/animations": "~9.1.4",
"@angular/common": "~9.0.6", "@angular/common": "~9.1.4",
"@angular/compiler": "~9.0.6", "@angular/compiler": "~9.1.4",
"@angular/core": "~9.0.6", "@angular/core": "~9.1.4",
"@angular/forms": "~9.0.6", "@angular/forms": "~9.1.4",
"@angular/platform-browser": "~9.0.6", "@angular/platform-browser": "~9.1.4",
"@angular/platform-browser-dynamic": "~9.0.6", "@angular/platform-browser-dynamic": "~9.1.4",
"@angular/platform-server": "~9.0.6", "@angular/platform-server": "~9.1.4",
"@angular/router": "~9.0.6", "@angular/router": "~9.1.4",
"@nguniversal/express-engine": "~9.0.1", "@nguniversal/express-engine": "~9.0.1",
"angular-in-memory-web-api": "~0.9.0", "angular-in-memory-web-api": "~0.9.0",
"express": "^4.15.2", "express": "^4.15.2",
@ -33,10 +33,10 @@
"zone.js": "~0.10.3" "zone.js": "~0.10.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.900.6", "@angular-devkit/build-angular": "~0.901.4",
"@angular/cli": "~9.0.6", "@angular/cli": "~9.1.4",
"@angular/compiler-cli": "~9.0.6", "@angular/compiler-cli": "~9.1.4",
"@angular/language-service": "~9.0.6", "@angular/language-service": "~9.1.4",
"@nguniversal/builders": "^9.0.2", "@nguniversal/builders": "^9.0.2",
"@types/express": "^4.17.0", "@types/express": "^4.17.0",
"@types/jasmine": "~3.5.0", "@types/jasmine": "~3.5.0",
@ -46,14 +46,14 @@
"jasmine-core": "~3.5.0", "jasmine-core": "~3.5.0",
"jasmine-marbles": "~0.6.0", "jasmine-marbles": "~0.6.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~4.3.0", "karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0", "karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1", "karma-jasmine": "~3.0.1",
"karma-jasmine-html-reporter": "^1.4.2", "karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.3", "protractor": "~5.4.3",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~5.18.0", "tslint": "~6.1.0",
"typescript": "~3.7.5" "typescript": "~3.8.3"
} }
} }

View File

@ -20,18 +20,18 @@
"license": "MIT", "license": "MIT",
"repository": {}, "repository": {},
"dependencies": { "dependencies": {
"@angular/animations": "~9.0.6", "@angular/animations": "~9.1.4",
"@angular/common": "~9.0.6", "@angular/common": "~9.1.4",
"@angular/compiler": "~9.0.6", "@angular/compiler": "~9.1.4",
"@angular/core": "~9.0.6", "@angular/core": "~9.1.4",
"@angular/elements": "~9.0.6", "@angular/elements": "~9.1.4",
"@angular/forms": "~9.0.6", "@angular/forms": "~9.1.4",
"@angular/platform-browser": "~9.0.6", "@angular/platform-browser": "~9.1.4",
"@angular/platform-browser-dynamic": "~9.0.6", "@angular/platform-browser-dynamic": "~9.1.4",
"@angular/platform-server": "~9.0.6", "@angular/platform-server": "~9.1.4",
"@angular/router": "~9.0.6", "@angular/router": "~9.1.4",
"@angular/service-worker": "~9.0.6", "@angular/service-worker": "~9.1.4",
"@angular/upgrade": "~9.0.6", "@angular/upgrade": "~9.1.4",
"@nguniversal/express-engine": "~9.0.1", "@nguniversal/express-engine": "~9.0.1",
"@webcomponents/custom-elements": "^1.4.1", "@webcomponents/custom-elements": "^1.4.1",
"angular": "1.7.9", "angular": "1.7.9",
@ -45,10 +45,10 @@
"zone.js": "~0.10.3" "zone.js": "~0.10.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.900.6", "@angular-devkit/build-angular": "~0.901.4",
"@angular/cli": "~9.0.6", "@angular/cli": "~9.1.4",
"@angular/compiler-cli": "~9.0.6", "@angular/compiler-cli": "~9.1.4",
"@angular/language-service": "~9.0.6", "@angular/language-service": "~9.1.4",
"@nguniversal/builders": "^9.0.2", "@nguniversal/builders": "^9.0.2",
"@types/angular": "1.6.47", "@types/angular": "1.6.47",
"@types/angular-animate": "1.5.10", "@types/angular-animate": "1.5.10",
@ -67,10 +67,10 @@
"jasmine-core": "~3.5.0", "jasmine-core": "~3.5.0",
"jasmine-marbles": "~0.6.0", "jasmine-marbles": "~0.6.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~4.3.0", "karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0", "karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1", "karma-jasmine": "~3.0.1",
"karma-jasmine-html-reporter": "^1.4.2", "karma-jasmine-html-reporter": "^1.4.2",
"lite-server": "^2.2.2", "lite-server": "^2.2.2",
"lodash": "^4.16.2", "lodash": "^4.16.2",
@ -83,7 +83,7 @@
"rollup-plugin-uglify": "^1.0.1", "rollup-plugin-uglify": "^1.0.1",
"source-map-explorer": "^1.3.2", "source-map-explorer": "^1.3.2",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~5.18.0", "tslint": "~6.1.0",
"typescript": "~3.7.5" "typescript": "~3.8.3"
} }
} }

File diff suppressed because it is too large Load Diff