Skip to content

Commit

Permalink
Update to NestJS v11 (#735)
Browse files Browse the repository at this point in the history
* Fix server lint errors

* Also update client to latest package versions
  • Loading branch information
avine authored Jan 23, 2025
1 parent 3d3233e commit 187c618
Show file tree
Hide file tree
Showing 16 changed files with 3,794 additions and 1,916 deletions.
471 changes: 185 additions & 286 deletions client/package-lock.json

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^19.1.1",
"@angular/cdk": "^19.1.0",
"@angular/common": "^19.1.1",
"@angular/compiler": "^19.1.1",
"@angular/core": "^19.1.1",
"@angular/forms": "^19.1.1",
"@angular/material": "^19.1.0",
"@angular/material-date-fns-adapter": "^19.1.0",
"@angular/platform-browser": "^19.1.1",
"@angular/platform-browser-dynamic": "^19.1.1",
"@angular/router": "^19.1.1",
"@angular/animations": "^19.1.3",
"@angular/cdk": "^19.1.1",
"@angular/common": "^19.1.3",
"@angular/compiler": "^19.1.3",
"@angular/core": "^19.1.3",
"@angular/forms": "^19.1.3",
"@angular/material": "^19.1.1",
"@angular/material-date-fns-adapter": "^19.1.1",
"@angular/platform-browser": "^19.1.3",
"@angular/platform-browser-dynamic": "^19.1.3",
"@angular/router": "^19.1.3",
"@fontsource/nunito": "^5.1.1",
"@material-symbols/font-600": "^0.27.2",
"canvas-confetti": "^1.9.3",
Expand All @@ -61,22 +61,22 @@
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular/build": "^19.1.2",
"@angular/cli": "^19.1.2",
"@angular/compiler-cli": "^19.1.1",
"@angular/localize": "^19.1.1",
"@playwright/test": "^1.49.1",
"@angular/build": "^19.1.4",
"@angular/cli": "^19.1.4",
"@angular/compiler-cli": "^19.1.3",
"@angular/localize": "^19.1.3",
"@playwright/test": "^1.50.0",
"@types/canvas-confetti": "^1.9.0",
"@types/jest": "^29.5.14",
"@types/js-cookie": "^3.0.6",
"@types/node": "^22.10.7",
"@types/node": "^22.10.9",
"angular-eslint": "^19.0.2",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.2",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"firebase-tools": "^13.29.1",
"firebase-tools": "^13.29.2",
"jest": "^29.7.0",
"jest-preset-angular": "^14.5.0",
"postcss": "^8.5.1",
Expand All @@ -86,6 +86,6 @@
"tailwindcss": "^3.4.17",
"ts-node": "^10.9.2",
"typescript": "~5.6.3",
"typescript-eslint": "^8.20.0"
"typescript-eslint": "^8.21.0"
}
}
23 changes: 0 additions & 23 deletions server/.eslintrc.js

This file was deleted.

35 changes: 35 additions & 0 deletions server/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// @ts-check
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';

export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
eslintPluginPrettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'warn',
'@typescript-eslint/no-unsafe-argument': 'warn'
},
},
);
Loading

0 comments on commit 187c618

Please sign in to comment.