Update to Angular 9
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:browser",
|
||||
"options": {
|
||||
"aot": true,
|
||||
"outputPath": "../build/app",
|
||||
"index": "src/index.html",
|
||||
"main": "src/main.ts",
|
||||
@@ -34,6 +35,12 @@
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "6kb"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
@@ -51,6 +58,12 @@
|
||||
"buildOptimizer": true
|
||||
},
|
||||
"test": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "6kb"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
@@ -68,6 +81,12 @@
|
||||
"buildOptimizer": false
|
||||
},
|
||||
"test2": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "6kb"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
@@ -85,6 +104,12 @@
|
||||
"buildOptimizer": false
|
||||
},
|
||||
"local": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "6kb"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
@@ -203,7 +228,7 @@
|
||||
},
|
||||
"schematics": {
|
||||
"@schematics/angular:component": {
|
||||
"styleext": "scss"
|
||||
"style": "scss"
|
||||
}
|
||||
}
|
||||
}
|
||||
+18
-17
@@ -17,16 +17,16 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^8.2.14",
|
||||
"@angular/common": "^8.2.14",
|
||||
"@angular/compiler": "^8.2.14",
|
||||
"@angular/core": "^8.2.14",
|
||||
"@angular/forms": "^8.2.14",
|
||||
"@angular/animations": "^9.1.13",
|
||||
"@angular/common": "^9.1.13",
|
||||
"@angular/compiler": "^9.1.13",
|
||||
"@angular/core": "^9.1.13",
|
||||
"@angular/forms": "^9.1.13",
|
||||
"@angular/http": "^7.2.15",
|
||||
"@angular/platform-browser": "^8.2.14",
|
||||
"@angular/platform-browser-dynamic": "^8.2.14",
|
||||
"@angular/platform-server": "^8.2.14",
|
||||
"@angular/router": "^8.2.14",
|
||||
"@angular/platform-browser": "^9.1.13",
|
||||
"@angular/platform-browser-dynamic": "^9.1.13",
|
||||
"@angular/platform-server": "^9.1.13",
|
||||
"@angular/router": "^9.1.13",
|
||||
"@simonwep/pickr": "^1.0.0-beta",
|
||||
"@types/hammerjs": "^2.0.36",
|
||||
"@types/jquery": "^3.3.29",
|
||||
@@ -41,20 +41,21 @@
|
||||
"randomcolor": "^0.5.4",
|
||||
"rxjs": "^6.6.7",
|
||||
"rxjs-compat": "^6.5.2",
|
||||
"tslib": "^1.10.0",
|
||||
"type-func": "^1.0.3",
|
||||
"unzipper": "^0.10.10",
|
||||
"uuid": "^3.3.2",
|
||||
"zone.js": "^0.9.1"
|
||||
"zone.js": "~0.10.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^0.803.29",
|
||||
"@angular/cli": "^8.3.29",
|
||||
"@angular/compiler-cli": "^8.2.14",
|
||||
"@angular/language-service": "^8.2.14",
|
||||
"@angular-devkit/build-angular": "~0.901.13",
|
||||
"@angular/cli": "^9.1.15",
|
||||
"@angular/compiler-cli": "^9.1.13",
|
||||
"@angular/language-service": "^9.1.13",
|
||||
"@types/jasmine": "^3.3.13",
|
||||
"@types/jasminewd2": "~2.0.3",
|
||||
"@types/node": "^12.0.8",
|
||||
"codelyzer": "^5.1.0",
|
||||
"@types/node": "^12.11.1",
|
||||
"codelyzer": "^5.1.2",
|
||||
"jasmine-core": "^3.4.0",
|
||||
"jasmine-spec-reporter": "^4.2.1",
|
||||
"karma": "^6.3.16",
|
||||
@@ -68,7 +69,7 @@
|
||||
"rxjs-tslint": "^0.1.7",
|
||||
"ts-node": "~7.0.0",
|
||||
"tslint": "^5.17.0",
|
||||
"typescript": "3.5.3",
|
||||
"typescript": "3.8.3",
|
||||
"webpack": "^4.34.0"
|
||||
}
|
||||
}
|
||||
@@ -14,9 +14,9 @@ import { environment } from '../environments/environment';
|
||||
styleUrls: ['./app.component.scss'],
|
||||
})
|
||||
export class AppComponent implements OnInit, AfterViewInit {
|
||||
@ViewChild('spinner', { static: false }) spinner;
|
||||
@ViewChild('status', { static: false }) status;
|
||||
@ViewChild('webview', { static: false }) webview;
|
||||
@ViewChild('spinner') spinner;
|
||||
@ViewChild('status') status;
|
||||
@ViewChild('webview') webview;
|
||||
helpStatus: string;
|
||||
extraHelpStatus: string;
|
||||
devMode: boolean;
|
||||
|
||||
@@ -22,9 +22,9 @@ declare let M;
|
||||
styleUrls: ['./files.component.scss'],
|
||||
})
|
||||
export class FilesComponent implements OnInit {
|
||||
@ViewChild('filesModal', { static: false }) filesModal;
|
||||
@ViewChild('fixedAction', { static: false }) fixedAction;
|
||||
@ViewChild('downloadMediaModal', { static: false }) downloadMediaModal;
|
||||
@ViewChild('filesModal') filesModal;
|
||||
@ViewChild('fixedAction') fixedAction;
|
||||
@ViewChild('downloadMediaModal') downloadMediaModal;
|
||||
@ViewChild('mkDirModal', { static: true }) mkDirModal;
|
||||
files: FileFolderListing[] = [];
|
||||
selectedFiles: FileFolderListing[] = [];
|
||||
|
||||
@@ -35,12 +35,12 @@ interface LogCatEntry {
|
||||
styleUrls: ['./header.component.scss'],
|
||||
})
|
||||
export class HeaderComponent implements OnInit {
|
||||
@ViewChild('header', { static: false }) header;
|
||||
@ViewChild('bookmarksModal', { static: false }) bookmarksModal;
|
||||
@ViewChild('beatOnModal', { static: false }) beatOnModal;
|
||||
@ViewChild('mainLogo', { static: false }) mainLogo;
|
||||
@ViewChild('safeModal', { static: false }) safeModal;
|
||||
@ViewChild('manageFavs', { static: false }) manageFavs;
|
||||
@ViewChild('header') header;
|
||||
@ViewChild('bookmarksModal') bookmarksModal;
|
||||
@ViewChild('beatOnModal') beatOnModal;
|
||||
@ViewChild('mainLogo') mainLogo;
|
||||
@ViewChild('safeModal') safeModal;
|
||||
@ViewChild('manageFavs') manageFavs;
|
||||
ConnectionStatus = ConnectionStatus;
|
||||
folder = FolderType;
|
||||
isAlive = true;
|
||||
|
||||
@@ -13,7 +13,7 @@ import { PackageService } from './package.service';
|
||||
styleUrls: ['./packages.component.scss'],
|
||||
})
|
||||
export class PackagesComponent implements OnInit {
|
||||
@ViewChild('appSettingsModal', { static: false }) appSettingsModal;
|
||||
@ViewChild('appSettingsModal') appSettingsModal;
|
||||
isLoadingApp = false;
|
||||
folder = FolderType;
|
||||
currentPackage: any = { package: { packageName: '', name: '', icon: '' }, versionCode: 0 };
|
||||
|
||||
@@ -4,8 +4,11 @@
|
||||
"outDir": "../out-tsc/app",
|
||||
"types": [ ]
|
||||
},
|
||||
"exclude": [
|
||||
"test.ts",
|
||||
"**/*.spec.ts"
|
||||
"files": [
|
||||
"main.ts",
|
||||
"polyfills.ts"
|
||||
],
|
||||
"include": [
|
||||
"src/**/*.d.ts"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"outDir": "./dist/out-tsc",
|
||||
"sourceMap": true,
|
||||
"declaration": false,
|
||||
"module": "es2015",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
|
||||
+2061
-653
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user