chore: updates angular to v17
This commit is contained in:
@@ -80,10 +80,10 @@
|
||||
"builder": "@angular-devkit/build-angular:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"browserTarget": "frontend-hideyoshi.com:build:production"
|
||||
"buildTarget": "frontend-hideyoshi.com:build:production"
|
||||
},
|
||||
"development": {
|
||||
"browserTarget": "frontend-hideyoshi.com:build:development"
|
||||
"buildTarget": "frontend-hideyoshi.com:build:development"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development"
|
||||
@@ -91,7 +91,7 @@
|
||||
"extract-i18n": {
|
||||
"builder": "@angular-devkit/build-angular:extract-i18n",
|
||||
"options": {
|
||||
"browserTarget": "frontend-hideyoshi.com:build"
|
||||
"buildTarget": "frontend-hideyoshi.com:build"
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
|
||||
4851
package-lock.json
generated
4851
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
28
package.json
28
package.json
@@ -16,17 +16,17 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^16.2.2",
|
||||
"@angular/animations": "^17.3.12",
|
||||
"@angular/cdk": "^16.2.1",
|
||||
"@angular/common": "^16.2.2",
|
||||
"@angular/compiler": "^16.2.2",
|
||||
"@angular/core": "^16.2.2",
|
||||
"@angular/forms": "^16.2.2",
|
||||
"@angular/common": "^17.3.12",
|
||||
"@angular/compiler": "^17.3.12",
|
||||
"@angular/core": "^17.3.12",
|
||||
"@angular/forms": "^17.3.12",
|
||||
"@angular/material": "^16.2.1",
|
||||
"@angular/platform-browser": "^16.2.2",
|
||||
"@angular/platform-browser-dynamic": "^16.2.2",
|
||||
"@angular/router": "^16.2.2",
|
||||
"@angular/service-worker": "^16.2.2",
|
||||
"@angular/platform-browser": "^17.3.12",
|
||||
"@angular/platform-browser-dynamic": "^17.3.12",
|
||||
"@angular/router": "^17.3.12",
|
||||
"@angular/service-worker": "^17.3.12",
|
||||
"@fortawesome/angular-fontawesome": "^0.13.0",
|
||||
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
||||
"@fortawesome/free-brands-svg-icons": "^6.1.1",
|
||||
@@ -49,17 +49,17 @@
|
||||
"rxjs": "~7.5.0",
|
||||
"ts-interface-checker": "^1.0.2",
|
||||
"tslib": "^2.3.0",
|
||||
"zone.js": "~0.13.1"
|
||||
"zone.js": "~0.14.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^16.1.1",
|
||||
"@angular-devkit/build-angular": "^17.3.17",
|
||||
"@angular-eslint/builder": "^16.1.1",
|
||||
"@angular-eslint/eslint-plugin": "16.1.1",
|
||||
"@angular-eslint/eslint-plugin-template": "16.1.1",
|
||||
"@angular-eslint/schematics": "^20.5.0",
|
||||
"@angular-eslint/template-parser": "16.1.1",
|
||||
"@angular/cli": "^16.1.1",
|
||||
"@angular/compiler-cli": "^16.2.2",
|
||||
"@angular/cli": "^17.3.17",
|
||||
"@angular/compiler-cli": "^17.3.12",
|
||||
"@types/jasmine": "~4.0.0",
|
||||
"@types/node": "^18.11.19",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
||||
@@ -76,6 +76,6 @@
|
||||
"prettier": "^3.0.3",
|
||||
"prettier-eslint": "^16.1.1",
|
||||
"ts-interface-builder": "^0.3.3",
|
||||
"typescript": "~5.1.6"
|
||||
"typescript": "~5.4.5"
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,11 @@ export class UpdateService {
|
||||
}
|
||||
|
||||
public checkForUpdates(): void {
|
||||
this.swUpdate.available.subscribe((event) => this.promptUser());
|
||||
this.swUpdate.versionUpdates.subscribe(versionUpdate => {
|
||||
if (versionUpdate.type === 'VERSION_READY') {
|
||||
this.promptUser();
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
private promptUser(): void {
|
||||
|
||||
Reference in New Issue
Block a user