Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump project dependencies #885

Merged
merged 1 commit into from
Jan 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .eslintrc.angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ module.exports = {
'@angular-eslint/use-pipe-transform-interface': 'error',
'@angular-eslint/component-class-suffix': ['error', { suffixes: ['Component', 'Page', 'Modal'] }],
'@angular-eslint/directive-class-suffix': ['error', { suffixes: ['Directive', 'ViewAdapter'] }],
'@angular-eslint/no-host-metadata-property': 'error',
'@angular-eslint/no-inputs-metadata-property': 'error',
'@angular-eslint/no-outputs-metadata-property': 'error',
'@angular-eslint/no-queries-metadata-property': 'error',
Expand Down
10 changes: 9 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,17 @@ module.exports = {
'@stylistic/comma-spacing': ['error', { before: false, after: true }],
'@stylistic/lines-between-class-members': ['error', 'always', { exceptAfterOverload: true }],
'@stylistic/quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
'@typescript-eslint/adjacent-overload-signatures': 'error',
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/ban-ts-comment': 'error',
'@typescript-eslint/ban-tslint-comment': 'error',
'@typescript-eslint/consistent-generic-constructors': 'error',
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/consistent-type-definitions': 'error',
'@typescript-eslint/consistent-type-exports': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-deprecated': 'error',
'@typescript-eslint/no-restricted-types': [
'error',
{
Expand All @@ -258,7 +267,6 @@ module.exports = {
},
},
],
'@typescript-eslint/consistent-type-definitions': 'error',
'@typescript-eslint/default-param-last': ['error'],
'@typescript-eslint/explicit-function-return-type': 'off', // keep off
'@typescript-eslint/explicit-module-boundary-types': 'off', // keep off
Expand Down
2 changes: 1 addition & 1 deletion apps/api/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Config } from '@jest/types';
import type { Config } from '@jest/types';

const config: Config.InitialOptions = {
coverageDirectory: '../../coverage/apps/api',
Expand Down
50 changes: 25 additions & 25 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,44 @@
"private": true,
"description": "Dependencies for docker containers running api application. Do not install dependencies in this directory. This file is only for containers.",
"dependencies": {
"@apollo/server": "4.11.0",
"@grpc/grpc-js": "1.11.3",
"@apollo/server": "4.11.2",
"@grpc/grpc-js": "1.12.5",
"@grpc/proto-loader": "0.7.13",
"@nestjs/apollo": "12.2.0",
"@nestjs/axios": "3.0.3",
"@nestjs/cache-manager": "2.2.2",
"@nestjs/common": "10.4.3",
"@nestjs/config": "3.2.3",
"@nestjs/core": "10.4.3",
"@nestjs/graphql": "12.2.0",
"@nestjs/apollo": "12.2.2",
"@nestjs/axios": "3.1.3",
"@nestjs/cache-manager": "2.3.0",
"@nestjs/common": "10.4.15",
"@nestjs/config": "3.3.0",
"@nestjs/core": "10.4.15",
"@nestjs/graphql": "12.2.2",
"@nestjs/jwt": "10.2.0",
"@nestjs/microservices": "10.4.3",
"@nestjs/microservices": "10.4.15",
"@nestjs/passport": "10.0.3",
"@nestjs/platform-express": "10.4.3",
"@nestjs/platform-ws": "10.4.3",
"@nestjs/platform-express": "10.4.15",
"@nestjs/platform-ws": "10.4.15",
"@nestjs/serve-static": "4.0.2",
"@nestjs/swagger": "7.4.2",
"@nestjs/throttler": "6.2.1",
"@nestjs/websockets": "10.4.3",
"axios": "1.7.7",
"@nestjs/swagger": "8.1.0",
"@nestjs/throttler": "6.3.0",
"@nestjs/websockets": "10.4.15",
"axios": "1.7.9",
"cache-manager": "5.7.6",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"compression": "1.7.4",
"dotenv": "16.4.5",
"express": "4.21.0",
"compression": "1.7.5",
"dotenv": "16.4.7",
"express": "4.21.2",
"firebase-admin": "12.5.0",
"firebase-functions": "6.0.1",
"firebase-functions": "6.2.0",
"google-protobuf": "3.21.4",
"graphql": "16.9.0",
"graphql-subscriptions": "2.0.0",
"graphql": "16.10.0",
"graphql-subscriptions": "3.0.0",
"graphql-tag": "2.12.6",
"graphql-tools": "9.0.1",
"graphql-upload": "16.0.2",
"graphql-tools": "9.0.8",
"graphql-upload": "17.0.0",
"grpc-web": "1.5.0",
"protobufjs": "7.4.0",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.1",
"tslib": "2.7.0"
"tslib": "2.8.1"
}
}
2 changes: 1 addition & 1 deletion apps/api/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"optimization": true
}
},
"executor": "@nrwl/webpack:webpack",
"executor": "@nx/webpack:webpack",
"options": {
"assets": ["apps/api/src/assets"],
"budgets": [
Expand Down
2 changes: 1 addition & 1 deletion apps/api/src/environments/environment.firebase.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IApiEnvironment } from '@app/backend-interfaces';
import type { IApiEnvironment } from '@app/backend-interfaces';

/**
* Production environment variables.
Expand Down
2 changes: 1 addition & 1 deletion apps/api/src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IApiEnvironment } from '@app/backend-interfaces';
import type { IApiEnvironment } from '@app/backend-interfaces';

/**
* Production environment variables.
Expand Down
2 changes: 1 addition & 1 deletion apps/api/src/environments/environment.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IApiEnvironment } from '@app/backend-interfaces';
import type { IApiEnvironment } from '@app/backend-interfaces';

/**
* Development environment variables.
Expand Down
6 changes: 3 additions & 3 deletions apps/api/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { backendGrpcClientOptions } from '@app/backend-grpc';
import { INestApplication } from '@nestjs/common';
import { CorsOptions } from '@nestjs/common/interfaces/external/cors-options.interface';
import type { INestApplication } from '@nestjs/common';
import type { CorsOptions } from '@nestjs/common/interfaces/external/cors-options.interface';
import { NestFactory } from '@nestjs/core';
import { MicroserviceOptions } from '@nestjs/microservices';
import type { MicroserviceOptions } from '@nestjs/microservices';
import { ExpressAdapter } from '@nestjs/platform-express';
import { WsAdapter } from '@nestjs/platform-ws';
import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TCypressCustomCommands } from '@app/client-testing-e2e';
import type { TCypressCustomCommands } from '@app/client-testing-e2e';

declare const cy: TCypressCustomCommands;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TCypressCustomCommands } from '@app/client-testing-e2e';
import type { TCypressCustomCommands } from '@app/client-testing-e2e';

declare const cy: TCypressCustomCommands;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TCypressCustomCommands } from '@app/client-testing-e2e';
import type { TCypressCustomCommands } from '@app/client-testing-e2e';

declare const cy: TCypressCustomCommands;

Expand Down
2 changes: 1 addition & 1 deletion apps/client-e2e/src/integration/app.cy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TCypressCustomCommands } from '@app/client-testing-e2e';
import type { TCypressCustomCommands } from '@app/client-testing-e2e';

declare const cy: TCypressCustomCommands;

Expand Down
10 changes: 9 additions & 1 deletion apps/client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"extends": ["../../.eslintrc.js", "../../.eslintrc.angular.js"],
"ignorePatterns": ["!**/*"]
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts"],
"rules": {
"@angular-eslint/prefer-standalone": "off"
}
}
]
}
2 changes: 1 addition & 1 deletion apps/client/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Config } from '@jest/types';
import type { Config } from '@jest/types';

const jestPresetAngularSerializers = require('jest-preset-angular/build/serializers');

Expand Down
2 changes: 1 addition & 1 deletion apps/client/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"index": "apps/client/src/index.html",
"browser": "apps/client/src/main.ts",
"namedChunks": true,
"optimization": false,
"optimization": true,
"outputHashing": "none",
"outputPath": "dist/apps/client",
"polyfills": ["apps/client/src/polyfills.ts"],
Expand Down
4 changes: 2 additions & 2 deletions apps/client/src/app/components/root.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed, TestModuleMetadata } from '@angular/core/testing';
import { type ComponentFixture, TestBed, type TestModuleMetadata } from '@angular/core/testing';
import { Meta, Title } from '@angular/platform-browser';
import { AppServiceWorkerService } from '@app/client-service-worker';
import { chatbotAction } from '@app/client-store-chatbot';
import { routerAction } from '@app/client-store-router';
import { sidebarAction } from '@app/client-store-sidebar';
import { IThemeStateModel, themeSelector } from '@app/client-store-theme';
import { type IThemeStateModel, themeSelector } from '@app/client-store-theme';
import { testingEnvironment } from '@app/client-testing-unit';
import { WEB_CLIENT_APP_ENV } from '@app/client-util';
import { Store } from '@ngrx/store';
Expand Down
1 change: 1 addition & 0 deletions apps/client/src/app/components/root.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ interface ILogoRef {
templateUrl: './root.component.html',
styleUrls: ['./root.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class AppRootComponent implements OnInit, AfterContentInit {
private readonly destroyRef = inject(DestroyRef);
Expand Down
2 changes: 1 addition & 1 deletion apps/client/src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IWebClientAppEnvironment, TCapacitorPlatform } from '@app/client-util';
import type { IWebClientAppEnvironment, TCapacitorPlatform } from '@app/client-util';
import { Capacitor } from '@capacitor/core';

import { appEnvFactory } from './environment.config';
Expand Down
2 changes: 1 addition & 1 deletion apps/client/src/environments/environment.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IWebClientAppEnvironment, TCapacitorPlatform } from '@app/client-util';
import type { IWebClientAppEnvironment, TCapacitorPlatform } from '@app/client-util';
import { Capacitor } from '@capacitor/core';

import { appEnvFactory } from './environment.config';
Expand Down
2 changes: 1 addition & 1 deletion apps/client/src/environments/sentry.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IWebClientAppEnvironment } from '@app/client-util';
import type { IWebClientAppEnvironment } from '@app/client-util';

/**
* Sentry environment configuration factory.
Expand Down
3 changes: 2 additions & 1 deletion apps/client/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'jest-preset-angular/setup-jest';
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';
import { setupJestJsdomGlobalMocks } from '@app/client-testing-unit';

setupJestJsdomGlobalMocks();
setupZoneTestEnv();
2 changes: 1 addition & 1 deletion apps/documentation-e2e/src/integration/app.cy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TCypressCustomCommands } from '@app/client-testing-e2e';
import type { TCypressCustomCommands } from '@app/client-testing-e2e';

declare const cy: TCypressCustomCommands;

Expand Down
10 changes: 9 additions & 1 deletion apps/documentation/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"extends": ["../../.eslintrc.js", "../../.eslintrc.angular.js"],
"ignorePatterns": ["!**/*"]
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts"],
"rules": {
"@angular-eslint/prefer-standalone": "off"
}
}
]
}
2 changes: 1 addition & 1 deletion apps/documentation/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Config } from '@jest/types';
import type { Config } from '@jest/types';

const jestPresetAngularSerializers = require('jest-preset-angular/build/serializers');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<mat-tree [dataSource]="dataSource" [treeControl]="treeControl" class="tree">
<mat-tree #tree [dataSource]="dataSource" [childrenAccessor]="childrenAccessor" class="tree">
<!-- This is the tree node template for leaf nodes -->
<mat-tree-node *matTreeNodeDef="let node" matTreeNodeToggle>
<mat-nested-tree-node *matTreeNodeDef="let node" matTreeNodeToggle>
<li class="mat-tree-node">
<!-- use a disabled button to provide padding for tree leaf -->
@if (!node.filePath) {
Expand All @@ -12,19 +12,19 @@
}
{{ node.name }}
</li>
</mat-tree-node>
</mat-nested-tree-node>
<!-- This is the tree node template for expandable nodes -->
<mat-nested-tree-node *matTreeNodeDef="let node; when: hasChild">
<li>
<div class="mat-tree-node">
<button mat-icon-button matTreeNodeToggle [attr.aria-label]="'toggle ' + node.name">
<mat-icon class="mat-icon-rtl-mirror">
{{ treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right' }}
{{ tree.isExpanded(node) ? 'expand_more' : 'chevron_right' }}
</mat-icon>
</button>
{{ node.name }}
</div>
<ul [class.tree-invisible]="!treeControl.isExpanded(node)">
<ul [class.tree-invisible]="!tree.isExpanded(node)">
<ng-container matTreeNodeOutlet></ng-container>
</ul>
</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,43 +1,42 @@
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed, TestModuleMetadata } from '@angular/core/testing';
import { provideHttpClient } from '@angular/common/http';
import { provideHttpClientTesting } from '@angular/common/http/testing';
import { type ComponentFixture, TestBed, type TestModuleMetadata } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { provideRouter } from '@angular/router';
import { AppMaterialModule } from '@app/client-material';
import { Store, StoreModule } from '@ngrx/store';
import { MarkdownModule, MarkdownModuleConfig, MARKED_OPTIONS, MarkedOptions } from 'ngx-markdown';
import { MarkdownModule, type MarkdownModuleConfig, MARKED_OPTIONS, type MarkedOptions } from 'ngx-markdown';

import { testingProviders } from '../../../testing/testing-providers.mock';
import { mdFilesAction } from '../../modules/md-files/md-files.actions';
import { IMdFilesState, mdFilesReducerConfig } from '../../modules/md-files/md-files.interface';
import { type IMdFilesState, mdFilesReducerConfig } from '../../modules/md-files/md-files.interface';
import { mdFilesReducerProvider } from '../../modules/md-files/md-files.reducer';
import { AppDocMarkdownReferenceTreeComponent } from './md-reference-tree.component';

describe('AppDocMarkdownReferenceTreeComponent', () => {
const markdownModuleConfig: MarkdownModuleConfig = {
markedOptions: {
provide: MARKED_OPTIONS,
useValue: <MarkedOptions>{
useValue: {
gfm: true,
breaks: false,
pedantic: false,
smartLists: true,
smartypants: false,
},
} as MarkedOptions,
},
};

const testBedConfig: TestModuleMetadata = {
imports: [
NoopAnimationsModule,
HttpClientTestingModule,
RouterTestingModule,
AppMaterialModule.forRoot(),
StoreModule.forRoot({}),
StoreModule.forFeature<IMdFilesState>(mdFilesReducerConfig.featureName, mdFilesReducerConfig.token),
MarkdownModule.forRoot(markdownModuleConfig),
],
declarations: [AppDocMarkdownReferenceTreeComponent],
providers: [...testingProviders, mdFilesReducerProvider],
providers: [...testingProviders, mdFilesReducerProvider, provideHttpClientTesting(), provideHttpClient(), provideRouter([])],
};

let fixture: ComponentFixture<AppDocMarkdownReferenceTreeComponent>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { NestedTreeControl } from '@angular/cdk/tree';
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
import { MatTreeNestedDataSource } from '@angular/material/tree';
import { logMethod } from '@app/client-util-decorators';
Expand All @@ -23,12 +22,13 @@ interface IMarkdownReferenceNode {
templateUrl: './md-reference-tree.component.html',
styleUrls: ['./md-reference-tree.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class AppDocMarkdownReferenceTreeComponent {
public readonly treeControl = new NestedTreeControl<IMarkdownReferenceNode>(node => node.children);

public readonly dataSource = new MatTreeNestedDataSource<IMarkdownReferenceNode>();

public readonly childrenAccessor = (dataNode: IMarkdownReferenceNode) => dataNode.children ?? [];

@logMethod()
private treeData() {
const mdFilePaths = [
Expand Down
Loading
Loading