mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-16 10:58:32 -05:00
Package updates
This commit is contained in:
@@ -22,7 +22,6 @@
|
|||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
"polyfills": "src/polyfills.ts",
|
"polyfills": "src/polyfills.ts",
|
||||||
"tsConfig": "tsconfig.app.json",
|
"tsConfig": "tsconfig.app.json",
|
||||||
"aot": true,
|
|
||||||
"assets": [
|
"assets": [
|
||||||
"src/favicon.ico",
|
"src/favicon.ico",
|
||||||
"src/assets"
|
"src/assets"
|
||||||
@@ -42,7 +41,13 @@
|
|||||||
"moment-duration-format",
|
"moment-duration-format",
|
||||||
"socket.io-client",
|
"socket.io-client",
|
||||||
"socket.io-parser"
|
"socket.io-parser"
|
||||||
]
|
],
|
||||||
|
"vendorChunk": true,
|
||||||
|
"extractLicenses": false,
|
||||||
|
"buildOptimizer": false,
|
||||||
|
"sourceMap": true,
|
||||||
|
"optimization": false,
|
||||||
|
"namedChunks": true
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
@@ -55,7 +60,6 @@
|
|||||||
"optimization": true,
|
"optimization": true,
|
||||||
"outputHashing": "all",
|
"outputHashing": "all",
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"extractCss": true,
|
|
||||||
"namedChunks": false,
|
"namedChunks": false,
|
||||||
"extractLicenses": true,
|
"extractLicenses": true,
|
||||||
"vendorChunk": false,
|
"vendorChunk": false,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "../tsconfig.base.json",
|
"extends": "../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../out-tsc/e2e",
|
"outDir": "../out-tsc/e2e",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
|
|||||||
29256
Display/package-lock.json
generated
29256
Display/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -11,51 +11,51 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "~10.0.1",
|
"@angular/animations": "~12.0.2",
|
||||||
"@angular/cdk": "^10.0.1",
|
"@angular/cdk": "^12.0.2",
|
||||||
"@angular/common": "~10.0.1",
|
"@angular/common": "~12.0.2",
|
||||||
"@angular/compiler": "~10.0.1",
|
"@angular/compiler": "~12.0.2",
|
||||||
"@angular/core": "~10.0.1",
|
"@angular/core": "~12.0.2",
|
||||||
"@angular/forms": "~10.0.1",
|
"@angular/forms": "~12.0.2",
|
||||||
"@angular/material": "^10.0.1",
|
"@angular/material": "^12.0.2",
|
||||||
"@angular/material-moment-adapter": "^10.0.1",
|
"@angular/material-moment-adapter": "^12.0.2",
|
||||||
"@angular/platform-browser": "~10.0.1",
|
"@angular/platform-browser": "~12.0.2",
|
||||||
"@angular/platform-browser-dynamic": "~10.0.1",
|
"@angular/platform-browser-dynamic": "~12.0.2",
|
||||||
"@angular/router": "~10.0.1",
|
"@angular/router": "~12.0.2",
|
||||||
"@aspnet/signalr": "^1.1.4",
|
"@aspnet/signalr": "^1.1.4",
|
||||||
"@types/moment-duration-format": "^2.2.2",
|
"@types/moment-duration-format": "^2.2.2",
|
||||||
"@types/suncalc": "^1.8.0",
|
"@types/suncalc": "^1.8.0",
|
||||||
"angular-gridster2": "^10.0.1",
|
"angular-gridster2": "^12.0.0",
|
||||||
"angular-highcharts": "^9.0.11",
|
"angular-highcharts": "^11.3.1",
|
||||||
"highcharts": "^8.1.2",
|
"highcharts": "^9.1.0",
|
||||||
"moment": "^2.27.0",
|
"moment": "^2.27.0",
|
||||||
"moment-duration-format": "^2.3.2",
|
"moment-duration-format": "^2.3.2",
|
||||||
"ngx-moment": "^4.0.1",
|
"ngx-moment": "^4.0.1",
|
||||||
"ngx-socket-io": "^3.2.0",
|
"ngx-socket-io": "^3.2.0",
|
||||||
"rxjs": "~6.5.5",
|
"rxjs": "~6.6.7",
|
||||||
"suncalc": "^1.8.0",
|
"suncalc": "^1.8.0",
|
||||||
"tslib": "^2.0.0",
|
"tslib": "^2.0.0",
|
||||||
"zone.js": "~0.10.3"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "~0.1000.0",
|
"@angular-devkit/build-angular": "^12.0.2",
|
||||||
"@angular/cli": "~10.0.0",
|
"@angular/cli": "~12.0.2",
|
||||||
"@angular/compiler-cli": "~10.0.1",
|
"@angular/compiler-cli": "~12.0.2",
|
||||||
"@angular/language-service": "~10.0.1",
|
"@angular/language-service": "~12.0.2",
|
||||||
"@types/node": "^14.0.14",
|
"@types/jasmine": "~3.6.0",
|
||||||
"@types/jasmine": "~3.5.11",
|
|
||||||
"@types/jasminewd2": "~2.0.8",
|
"@types/jasminewd2": "~2.0.8",
|
||||||
"codelyzer": "^5.2.2",
|
"@types/node": "^14.0.14",
|
||||||
"jasmine-core": "~3.5.0",
|
"codelyzer": "^6.0.0",
|
||||||
"jasmine-spec-reporter": "~5.0.2",
|
"jasmine-core": "~3.6.0",
|
||||||
"karma": "~5.1.0",
|
"jasmine-spec-reporter": "~5.0.0",
|
||||||
|
"karma": "~6.3.2",
|
||||||
"karma-chrome-launcher": "~3.1.0",
|
"karma-chrome-launcher": "~3.1.0",
|
||||||
"karma-coverage-istanbul-reporter": "~3.0.3",
|
"karma-coverage-istanbul-reporter": "~3.0.3",
|
||||||
"karma-jasmine": "~3.3.1",
|
"karma-jasmine": "~4.0.0",
|
||||||
"karma-jasmine-html-reporter": "^1.5.4",
|
"karma-jasmine-html-reporter": "^1.5.0",
|
||||||
"protractor": "~7.0.0",
|
"protractor": "~7.0.0",
|
||||||
"ts-node": "~8.10.2",
|
"ts-node": "~8.10.2",
|
||||||
"tslint": "~6.1.2",
|
"tslint": "~6.1.2",
|
||||||
"typescript": "~3.9.5"
|
"typescript": "~4.2.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ const routes: Routes = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [RouterModule.forRoot(routes)],
|
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
|
||||||
exports: [RouterModule]
|
exports: [RouterModule]
|
||||||
})
|
})
|
||||||
export class AppRoutingModule { }
|
export class AppRoutingModule { }
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { TestBed, async } from '@angular/core/testing';
|
import { TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
import { RouterTestingModule } from '@angular/router/testing';
|
import { RouterTestingModule } from '@angular/router/testing';
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
|
|
||||||
describe('AppComponent', () => {
|
describe('AppComponent', () => {
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterTestingModule
|
RouterTestingModule
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { DashboardComponent } from './dashboard.component';
|
import { DashboardComponent } from './dashboard.component';
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ describe('DashboardComponent', () => {
|
|||||||
let component: DashboardComponent;
|
let component: DashboardComponent;
|
||||||
let fixture: ComponentFixture<DashboardComponent>;
|
let fixture: ComponentFixture<DashboardComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [DashboardComponent]
|
declarations: [DashboardComponent]
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { LaundryComponent } from './laundry.component';
|
import { LaundryComponent } from './laundry.component';
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ describe('LaundryComponent', () => {
|
|||||||
let component: LaundryComponent;
|
let component: LaundryComponent;
|
||||||
let fixture: ComponentFixture<LaundryComponent>;
|
let fixture: ComponentFixture<LaundryComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [LaundryComponent]
|
declarations: [LaundryComponent]
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { LayoutModule } from '@angular/cdk/layout';
|
import { LayoutModule } from '@angular/cdk/layout';
|
||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||||
import { MatButtonModule } from '@angular/material/button';
|
import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
@@ -13,7 +13,7 @@ describe('NavComponent', () => {
|
|||||||
let component: NavComponent;
|
let component: NavComponent;
|
||||||
let fixture: ComponentFixture<NavComponent>;
|
let fixture: ComponentFixture<NavComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [NavComponent],
|
declarations: [NavComponent],
|
||||||
imports: [
|
imports: [
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { PowerChartsComponent } from './power-charts.component';
|
import { PowerChartsComponent } from './power-charts.component';
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ describe('PowerChartsComponent', () => {
|
|||||||
let component: PowerChartsComponent;
|
let component: PowerChartsComponent;
|
||||||
let fixture: ComponentFixture<PowerChartsComponent>;
|
let fixture: ComponentFixture<PowerChartsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [PowerChartsComponent]
|
declarations: [PowerChartsComponent]
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { PowerComponent } from './power.component';
|
import { PowerComponent } from './power.component';
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ describe('PowerComponent', () => {
|
|||||||
let component: PowerComponent;
|
let component: PowerComponent;
|
||||||
let fixture: ComponentFixture<PowerComponent>;
|
let fixture: ComponentFixture<PowerComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [PowerComponent]
|
declarations: [PowerComponent]
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AlmanacComponent } from './almanac.component';
|
import { AlmanacComponent } from './almanac.component';
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ describe('AlmanacComponent', () => {
|
|||||||
let component: AlmanacComponent;
|
let component: AlmanacComponent;
|
||||||
let fixture: ComponentFixture<AlmanacComponent>;
|
let fixture: ComponentFixture<AlmanacComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AlmanacComponent]
|
declarations: [AlmanacComponent]
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { WeatherChartsComponent } from './weather-charts.component';
|
import { WeatherChartsComponent } from './weather-charts.component';
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ describe('WeatherChartsComponent', () => {
|
|||||||
let component: WeatherChartsComponent;
|
let component: WeatherChartsComponent;
|
||||||
let fixture: ComponentFixture<WeatherChartsComponent>;
|
let fixture: ComponentFixture<WeatherChartsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [WeatherChartsComponent]
|
declarations: [WeatherChartsComponent]
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ export class WeatherChartsComponent implements OnInit {
|
|||||||
month: '%b \'%y',
|
month: '%b \'%y',
|
||||||
year: '%Y'
|
year: '%Y'
|
||||||
},
|
},
|
||||||
offset: 50
|
offset: '50'
|
||||||
},
|
},
|
||||||
yAxis: [
|
yAxis: [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { WeatherCurrentComponent } from './weather-current.component';
|
import { WeatherCurrentComponent } from './weather-current.component';
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ describe('WeatherCurrentComponent', () => {
|
|||||||
let component: WeatherCurrentComponent;
|
let component: WeatherCurrentComponent;
|
||||||
let fixture: ComponentFixture<WeatherCurrentComponent>;
|
let fixture: ComponentFixture<WeatherCurrentComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [WeatherCurrentComponent]
|
declarations: [WeatherCurrentComponent]
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ export const environment = {
|
|||||||
* This import should be commented out in production mode because it will have a negative impact
|
* This import should be commented out in production mode because it will have a negative impact
|
||||||
* on performance if an error is thrown.
|
* on performance if an error is thrown.
|
||||||
*/
|
*/
|
||||||
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
|
// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
/***************************************************************************************************
|
/***************************************************************************************************
|
||||||
* Zone JS is required by default for Angular itself.
|
* Zone JS is required by default for Angular itself.
|
||||||
*/
|
*/
|
||||||
import 'zone.js/dist/zone'; // Included with Angular CLI.
|
import 'zone.js'; // Included with Angular CLI.
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************************************
|
/***************************************************************************************************
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
||||||
|
|
||||||
import 'zone.js/dist/zone-testing';
|
import 'zone.js/testing';
|
||||||
import { getTestBed } from '@angular/core/testing';
|
import { getTestBed } from '@angular/core/testing';
|
||||||
import {
|
import {
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.base.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./out-tsc/app",
|
"outDir": "./out-tsc/app",
|
||||||
"types": []
|
"types": []
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
{
|
|
||||||
"compileOnSave": false,
|
|
||||||
"compilerOptions": {
|
|
||||||
"baseUrl": "./",
|
|
||||||
"outDir": "./dist/out-tsc",
|
|
||||||
"sourceMap": true,
|
|
||||||
"declaration": false,
|
|
||||||
"downlevelIteration": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"module": "esnext",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"importHelpers": true,
|
|
||||||
"target": "es2015",
|
|
||||||
"typeRoots": [
|
|
||||||
"node_modules/@types"
|
|
||||||
],
|
|
||||||
"lib": [
|
|
||||||
"es2018",
|
|
||||||
"dom"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"angularCompilerOptions": {
|
|
||||||
"fullTemplateTypeCheck": true,
|
|
||||||
"strictInjectionParameters": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +1,26 @@
|
|||||||
/*
|
|
||||||
This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience.
|
|
||||||
It is not intended to be used to perform a compilation.
|
|
||||||
|
|
||||||
To learn more about this file see: https://angular.io/config/solution-tsconfig.
|
|
||||||
*/
|
|
||||||
{
|
{
|
||||||
"files": [],
|
"compileOnSave": false,
|
||||||
"references": [
|
"compilerOptions": {
|
||||||
{
|
"baseUrl": "./",
|
||||||
"path": "./tsconfig.app.json"
|
"outDir": "./dist/out-tsc",
|
||||||
|
"sourceMap": true,
|
||||||
|
"declaration": false,
|
||||||
|
"downlevelIteration": true,
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"module": "esnext",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"importHelpers": true,
|
||||||
|
"target": "es2015",
|
||||||
|
"typeRoots": [
|
||||||
|
"node_modules/@types"
|
||||||
|
],
|
||||||
|
"lib": [
|
||||||
|
"es2018",
|
||||||
|
"dom"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
"angularCompilerOptions": {
|
||||||
"path": "./tsconfig.spec.json"
|
"fullTemplateTypeCheck": true,
|
||||||
|
"strictInjectionParameters": true
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.base.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./out-tsc/spec",
|
"outDir": "./out-tsc/spec",
|
||||||
"types": [
|
"types": [
|
||||||
|
|||||||
Reference in New Issue
Block a user