Skip to content

Commit b474d7e

Browse files
committed
chore: update dependencies and devDependencies to latest versions
feat: add type check for appController in metrics.controller.spec.ts fix: cast PORT environment variable to string in main.ts fix: ensure message is a string in JsonLogger service fix: cast SHARP_CONCURRENCY environment variable to string in optimize.service.ts test: update expected Content-Length values in optimize.e2e-spec.ts chore: exclude test directory in tsconfig.build.json chore: update TypeScript target to ES2023 and enable strict type checks in tsconfig.json
1 parent 516b02b commit b474d7e

File tree

14 files changed

+14015
-18256
lines changed

14 files changed

+14015
-18256
lines changed

.eslintrc.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ representative at an online or offline event.
5555

5656
Instances of abusive, harassing, or otherwise unacceptable behavior may be
5757
reported to the community leaders responsible for enforcement at
58-
58+
5959
All complaints will be reviewed and investigated promptly and fairly.
6060

6161
All community leaders are obligated to respect the privacy and security of the

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:21-alpine AS development
1+
FROM node:24-alpine AS development
22

33
WORKDIR /app
44
COPY package*.json tsconfig*.json nest-cli.json .eslintrc.js ./
@@ -11,7 +11,7 @@ RUN npm run test:e2e
1111
RUN npm run build
1212

1313

14-
FROM node:21-alpine as production
14+
FROM node:24-alpine as production
1515

1616
ARG NODE_ENV=production
1717
ENV NODE_ENV=${NODE_ENV}

eslint.config.mjs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// @ts-check
2+
import eslint from '@eslint/js';
3+
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
4+
import globals from 'globals';
5+
import tseslint from 'typescript-eslint';
6+
7+
export default tseslint.config(
8+
{
9+
ignores: ['eslint.config.mjs'],
10+
},
11+
eslint.configs.recommended,
12+
...tseslint.configs.recommendedTypeChecked,
13+
eslintPluginPrettierRecommended,
14+
{
15+
languageOptions: {
16+
globals: {
17+
...globals.node,
18+
...globals.jest,
19+
},
20+
sourceType: 'commonjs',
21+
parserOptions: {
22+
projectService: true,
23+
tsconfigRootDir: import.meta.dirname,
24+
},
25+
},
26+
},
27+
{
28+
rules: {
29+
'@typescript-eslint/no-explicit-any': 'off',
30+
'@typescript-eslint/no-floating-promises': 'warn',
31+
'@typescript-eslint/no-unsafe-argument': 'warn'
32+
},
33+
},
34+
);

nest-cli.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
2+
"$schema": "https://json.schemastore.org/nest-cli",
23
"collection": "@nestjs/schematics",
3-
"sourceRoot": "src"
4+
"sourceRoot": "src",
5+
"compilerOptions": {
6+
"deleteOutDir": true
7+
}
48
}

0 commit comments

Comments
 (0)