mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-22 22:23:34 -07:00
feat: angular 13 upgrade
This commit is contained in:
parent
3a9b727322
commit
08f706ee75
6 changed files with 2222 additions and 2953 deletions
3
src/Ombi/.vscode/settings.json
vendored
3
src/Ombi/.vscode/settings.json
vendored
|
@ -23,5 +23,6 @@
|
||||||
"availability-rules",
|
"availability-rules",
|
||||||
"details",
|
"details",
|
||||||
"requests"
|
"requests"
|
||||||
]
|
],
|
||||||
|
"rpc.enabled": true
|
||||||
}
|
}
|
||||||
|
|
1
src/Ombi/ClientApp/.gitignore
vendored
1
src/Ombi/ClientApp/.gitignore
vendored
|
@ -17,6 +17,7 @@
|
||||||
*.launch
|
*.launch
|
||||||
.settings/
|
.settings/
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
|
.angular
|
||||||
|
|
||||||
# IDE - VSCode
|
# IDE - VSCode
|
||||||
.vscode/*
|
.vscode/*
|
||||||
|
|
|
@ -9,18 +9,18 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^12.2.10",
|
"@angular/animations": "^13.2.0",
|
||||||
"@angular/cdk": "^12.2.9",
|
"@angular/cdk": "^13.2.0",
|
||||||
"@angular/common": "^12.2.10",
|
"@angular/common": "^13.2.0",
|
||||||
"@angular/compiler": "^12.2.10",
|
"@angular/compiler": "^13.2.0",
|
||||||
"@angular/core": "^12.2.10",
|
"@angular/core": "^13.2.0",
|
||||||
"@angular/forms": "^12.2.10",
|
"@angular/forms": "^13.2.0",
|
||||||
"@angular/localize": "^12.2.10",
|
"@angular/localize": "^13.2.0",
|
||||||
"@angular/material": "^12.2.9",
|
"@angular/material": "^13.2.0",
|
||||||
"@angular/platform-browser": "^12.2.10",
|
"@angular/platform-browser": "^13.2.0",
|
||||||
"@angular/platform-browser-dynamic": "^12.2.10",
|
"@angular/platform-browser-dynamic": "^13.2.0",
|
||||||
"@angular/platform-server": "^12.2.10",
|
"@angular/platform-server": "^13.2.0",
|
||||||
"@angular/router": "^12.2.10",
|
"@angular/router": "^13.2.0",
|
||||||
"@angularclass/hmr": "^3.0.0",
|
"@angularclass/hmr": "^3.0.0",
|
||||||
"@aspnet/signalr": "^1.1.0",
|
"@aspnet/signalr": "^1.1.0",
|
||||||
"@auth0/angular-jwt": "^5.0.2",
|
"@auth0/angular-jwt": "^5.0.2",
|
||||||
|
@ -64,15 +64,15 @@
|
||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "~12.2.10",
|
"@angular-devkit/build-angular": "~13.2.0",
|
||||||
"@angular/cli": "~12.2.10",
|
"@angular/cli": "~13.2.0",
|
||||||
"@angular/compiler-cli": "^12.2.10",
|
"@angular/compiler-cli": "^13.2.0",
|
||||||
"@angular/language-service": "^12.2.10",
|
"@angular/language-service": "^13.2.0",
|
||||||
"@types/jasmine": "~3.6.7",
|
"@types/jasmine": "~3.6.7",
|
||||||
"@types/jasminewd2": "~2.0.8",
|
"@types/jasminewd2": "~2.0.8",
|
||||||
"@types/node": "^16.10.9",
|
"@types/node": "^16.10.9",
|
||||||
"codelyzer": "^6.0.1",
|
"codelyzer": "^6.0.1",
|
||||||
"typescript": "~4.3.4"
|
"typescript": "~4.5.5"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"protractor": "~5.4.0",
|
"protractor": "~5.4.0",
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
// https://github.com/microsoft/TypeScript/issues/45612
|
||||||
|
declare global {
|
||||||
|
interface Navigator {
|
||||||
|
msSaveOrOpenBlob: (blob: Blob) => void
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
import { APP_BASE_HREF } from "@angular/common";
|
import { APP_BASE_HREF } from "@angular/common";
|
||||||
import { Injectable, Inject } from "@angular/core";
|
import { Injectable, Inject } from "@angular/core";
|
||||||
|
|
3
src/Ombi/ClientApp/src/typings/globals.d.ts
vendored
3
src/Ombi/ClientApp/src/typings/globals.d.ts
vendored
|
@ -3,4 +3,5 @@ declare var __webpack_public_path__: any;
|
||||||
// declare module "*.json" {
|
// declare module "*.json" {
|
||||||
// const value: any;
|
// const value: any;
|
||||||
// export default value;
|
// export default value;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue