Skip to content

Commit

Permalink
chore: update packages (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender authored Apr 2, 2023
1 parent 0efe2a4 commit 7955651
Show file tree
Hide file tree
Showing 11 changed files with 5,172 additions and 2,413 deletions.
8 changes: 7 additions & 1 deletion Client/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@
},
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"editor.formatOnSave": true
"editor.formatOnSave": true,
"cSpell.words": [
"chartjs",
"devkit",
"matero",
"tinycolor"
]
}
7,471 changes: 5,108 additions & 2,363 deletions Client/package-lock.json

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions Client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,40 @@
},
"private": false,
"dependencies": {
"@angular/animations": "^15.0.1",
"@angular/cdk": "^14.2.0",
"@angular/common": "^15.0.1",
"@angular/compiler": "^15.0.1",
"@angular/core": "^15.0.1",
"@angular/forms": "^15.0.1",
"@angular/material": "^14.2.0",
"@angular/platform-browser": "^15.0.1",
"@angular/platform-browser-dynamic": "^15.0.1",
"@angular/router": "^15.0.1",
"@ctrl/tinycolor": "^3.4.1",
"@ng-matero/extensions": "^14.1.0",
"@angular/animations": "^15.2.5",
"@angular/cdk": "^15.2.5",
"@angular/common": "^15.2.5",
"@angular/compiler": "^15.2.5",
"@angular/core": "^15.2.5",
"@angular/forms": "^15.2.5",
"@angular/material": "^15.2.5",
"@angular/platform-browser": "^15.2.5",
"@angular/platform-browser-dynamic": "^15.2.5",
"@angular/router": "^15.2.5",
"@ctrl/tinycolor": "^3.6.0",
"@ng-matero/extensions": "^15.2.1",
"chart.js": "^3.9.1",
"chartjs-adapter-date-fns": "^2.0.0",
"chartjs-chart-financial": "^0.1.1",
"chartjs-plugin-annotation": "^2.0.1",
"chartjs-plugin-crosshair": "^1.2.0",
"date-fns": "^2.29.2",
"date-fns": "^2.29.3",
"guid-typescript": "^1.0.9",
"ngx-color": "^8.0.2",
"ngx-color": "^8.0.3",
"rxjs": "^7.5.6",
"tslib": "^2.4.0",
"zone.js": "~0.11.8"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.0.1",
"@angular-eslint/builder": "~15.1.0",
"@angular-eslint/eslint-plugin": "~15.1.0",
"@angular-eslint/eslint-plugin-template": "~15.1.0",
"@angular-eslint/schematics": "~15.1.0",
"@angular-eslint/template-parser": "~15.1.0",
"@angular/cli": "^15.0.1",
"@angular/compiler-cli": "^15.0.1",
"@angular/language-service": "^15.0.1",
"@angular-devkit/build-angular": "^15.2.4",
"@angular-eslint/builder": "~15.2.1",
"@angular-eslint/eslint-plugin": "~15.2.1",
"@angular-eslint/eslint-plugin-template": "~15.2.1",
"@angular-eslint/schematics": "~15.2.1",
"@angular-eslint/template-parser": "~15.2.1",
"@angular/cli": "^15.2.4",
"@angular/compiler-cli": "^15.2.5",
"@angular/language-service": "^15.2.5",
"@types/node": "^18.7.8",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
Expand Down
2 changes: 1 addition & 1 deletion Client/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
import { StyleService } from './style.service';

import { PickListComponent } from './chart/picker/pick-list.component';
import { MatDialog } from '@angular/material/dialog';
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';

@Component({
selector: 'app-root',
Expand Down
4 changes: 2 additions & 2 deletions Client/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { CommonModule } from '@angular/common';

import { MatButtonModule } from '@angular/material/button';
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
import { MatIconModule } from '@angular/material/icon';
import { MatToolbarModule } from '@angular/material/toolbar';
import { MatTooltipModule } from '@angular/material/tooltip';
import { MatLegacyTooltipModule as MatTooltipModule } from '@angular/material/legacy-tooltip';

import { AppComponent } from './app.component';
import { StyleService } from './style.service';
Expand Down
18 changes: 9 additions & 9 deletions Client/src/app/chart/chart.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ import { HttpClientModule } from '@angular/common/http';
import { FormsModule } from '@angular/forms';

import { MatBottomSheetModule } from '@angular/material/bottom-sheet';
import { MatButtonModule } from '@angular/material/button';
import { MatDialogModule } from '@angular/material/dialog';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
import { MatLegacyDialogModule as MatDialogModule } from '@angular/material/legacy-dialog';
import { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/material/legacy-form-field';
import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';
import { MatListModule } from '@angular/material/list';
import { MatSelectModule } from '@angular/material/select';
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { MatTabsModule } from '@angular/material/tabs';
import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';
import { MatLegacyListModule as MatListModule } from '@angular/material/legacy-list';
import { MatLegacySelectModule as MatSelectModule } from '@angular/material/legacy-select';
import { MatLegacySlideToggleModule as MatSlideToggleModule } from '@angular/material/legacy-slide-toggle';
import { MatLegacyTabsModule as MatTabsModule } from '@angular/material/legacy-tabs';
import { MatToolbarModule } from '@angular/material/toolbar';
import { MatTooltipModule } from '@angular/material/tooltip';
import { MatLegacyTooltipModule as MatTooltipModule } from '@angular/material/legacy-tooltip';

import { MtxColorpickerModule } from '@ng-matero/extensions/colorpicker';
import { ColorCompactModule } from 'ngx-color/compact';
Expand Down
2 changes: 1 addition & 1 deletion Client/src/app/chart/picker/pick-form.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Inject } from '@angular/core';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { MatLegacyDialogRef as MatDialogRef, MAT_LEGACY_DIALOG_DATA as MAT_DIALOG_DATA } from '@angular/material/legacy-dialog';

import { MtxColorpicker } from '@ng-matero/extensions/colorpicker';
import { ColorEvent } from 'ngx-color';
Expand Down
4 changes: 2 additions & 2 deletions Client/src/app/chart/picker/pick-list.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
import { MatDialog } from '@angular/material/dialog';
import { MatLegacySlideToggleChange as MatSlideToggleChange } from '@angular/material/legacy-slide-toggle';
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';

import { StyleService } from 'src/app/style.service';

Expand Down
20 changes: 14 additions & 6 deletions Client/src/app/styles-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@

@use "@angular/material" as mat;
@use "@ng-matero/extensions" as mtx;
@include mat.core();
// TODO(v15): As of v15 mat.legacy-core no longer includes default typography styles.
// The following line adds:
// 1. Default typography styles for all components
// 2. Styles for typography hierarchy classes (e.g. .mat-headline-1)
// If you specify typography styles for the components you use elsewhere, you should delete this line.
// If you don't need the default component typographies but still want the hierarchy styles,
// you can delete this line and instead use:
// `@include mat.legacy-typography-hierarchy(mat.define-legacy-typography-config());`
@include mat.all-legacy-component-typographies();
@include mat.legacy-core();
// ref: https://www.materialpalette.com

// Define a dark theme
Expand Down Expand Up @@ -35,12 +44,11 @@ $light-theme: mat.define-light-theme(
);

// Apply the dark theme by default
@include mat.core-theme($dark-theme);
@include mat.all-component-themes($dark-theme);
@include mat.legacy-core-theme($dark-theme);
@include mat.all-legacy-component-themes($dark-theme);

// angular extensions theming
@include mtx.all-component-themes($dark-theme);
@include mtx.all-experimental-component-themes($dark-theme);

// standard dark colors
$color-primary: mat.get-color-from-palette($dark-primary, 900);
Expand Down Expand Up @@ -68,9 +76,9 @@ $color-accent-800: mat.get-color-from-palette($dark-accent, 800);
// Apply the light theme only when the `.light-theme` CSS class is applied
// to an ancestor element of the components (such as `body`).
.light-theme {
@include mat.all-component-colors($light-theme);
@include mat.all-legacy-component-colors($light-theme);

// standard ligth colors
// standard light colors
$color-primary: mat.get-color-from-palette($light-primary, 900);
$color-accent: mat.get-color-from-palette($light-accent, 900);
$color-warn: mat.get-color-from-palette($light-warn, 900);
Expand Down
2 changes: 1 addition & 1 deletion Server/Functions/Functions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Alpaca.Markets" Version="6.1.6" />
<PackageReference Include="Alpaca.Markets" Version="6.1.11" />
<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.1.3" />
</ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions Server/WebApi/WebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Azure.Storage.Blobs" Version="12.14.1" />
<PackageReference Include="Azure.Storage.Files.Shares" Version="12.12.1" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.15.1" />
<PackageReference Include="Azure.Storage.Files.Shares" Version="12.13.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.8" />
<PackageReference Include="Microsoft.Extensions.Azure" Version="1.6.0" />
<PackageReference Include="Skender.Stock.Indicators" Version="2.4.1" />
<PackageReference Include="Microsoft.Extensions.Azure" Version="1.6.3" />
<PackageReference Include="Skender.Stock.Indicators" Version="2.4.10" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 7955651

Please sign in to comment.