From ee9a8193ba0bd036275ef8b211483742d0e220ff Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 30 Mar 2025 17:56:49 +0530 Subject: [PATCH 01/13] upgrade express-server dependencies --- apps/express-server/package.json | 8 +- apps/nestjs-server/package.json | 6 +- apps/next-client/package.json | 6 +- apps/react-client/package.json | 6 +- packages/core-lib/package.json | 4 +- yarn.lock | 206 +++++++++++++++++++++++++++---- 6 files changed, 196 insertions(+), 40 deletions(-) diff --git a/apps/express-server/package.json b/apps/express-server/package.json index 0d51e39..bd071cd 100644 --- a/apps/express-server/package.json +++ b/apps/express-server/package.json @@ -17,13 +17,13 @@ "winston": "3.17.0" }, "devDependencies": { - "@nish1896/eslint-flat-config": "^1.1.4", + "@nish1896/eslint-flat-config": "^2.0.0", "@types/cors": "^2.8.17", - "@types/node": "^22.13.10", - "eslint": "^9.22.0", + "@types/node": "^22.13.14", + "eslint": "^9.23.0", "nodemon": "^3.1.9", "rimraf": "^6.0.1", - "tsc-alias": "^1.8.11", + "tsc-alias": "^1.8.13", "tsconfig-paths": "^4.2.0", "typescript": "^5.8.2" } diff --git a/apps/nestjs-server/package.json b/apps/nestjs-server/package.json index 2296d9b..7583485 100644 --- a/apps/nestjs-server/package.json +++ b/apps/nestjs-server/package.json @@ -31,14 +31,14 @@ "@nestjs/cli": "^11.0.5", "@nestjs/schematics": "^11.0.2", "@nestjs/testing": "^11.0.11", - "@nish1896/eslint-flat-config": "^1.1.4", + "@nish1896/eslint-flat-config": "^2.0.0", "@swc/cli": "^0.6.0", "@swc/core": "^1.10.8", "@types/express": "^5.0.0", "@types/jest": "^29.5.14", - "@types/node": "^22.13.10", + "@types/node": "^22.13.14", "@types/supertest": "^6.0.2", - "eslint": "^9.22.0", + "eslint": "^9.23.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-prettier": "^5.2.3", "globals": "^16.0.0", diff --git a/apps/next-client/package.json b/apps/next-client/package.json index b058ebf..b2ff08b 100644 --- a/apps/next-client/package.json +++ b/apps/next-client/package.json @@ -23,11 +23,11 @@ }, "devDependencies": { "@eslint/eslintrc": "^3.3.0", - "@nish1896/eslint-flat-config": "^1.1.4", - "@types/node": "^22.13.10", + "@nish1896/eslint-flat-config": "^2.0.0", + "@types/node": "^22.13.14", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", - "eslint": "^9.22.0", + "eslint": "^9.23.0", "eslint-config-next": "15.2.2", "typescript": "^5.8.2" } diff --git a/apps/react-client/package.json b/apps/react-client/package.json index fad2b24..00d8b12 100644 --- a/apps/react-client/package.json +++ b/apps/react-client/package.json @@ -29,17 +29,17 @@ }, "devDependencies": { "@eslint/js": "^9.22.0", - "@nish1896/eslint-flat-config": "^1.1.4", + "@nish1896/eslint-flat-config": "^2.0.0", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.14", - "@types/node": "^22.13.10", + "@types/node": "^22.13.14", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "@types/react-redux": "^7.1.34", - "eslint": "^9.22.0", + "eslint": "^9.23.0", "globals": "^16.0.0", "typescript": "^5.8.2" }, diff --git a/packages/core-lib/package.json b/packages/core-lib/package.json index 24adb50..852bba3 100644 --- a/packages/core-lib/package.json +++ b/packages/core-lib/package.json @@ -14,8 +14,8 @@ "react": "^19.0.0" }, "devDependencies": { - "@nish1896/eslint-flat-config": "^1.1.4", - "eslint": "^9.22.0", + "@nish1896/eslint-flat-config": "^2.0.0", + "eslint": "^9.23.0", "tsc-alias": "^1.8.11", "typescript": "^5.8.2" } diff --git a/yarn.lock b/yarn.lock index c2b9d0a..9497d04 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1441,10 +1441,10 @@ debug "^4.3.1" minimatch "^3.1.2" -"@eslint/config-helpers@^0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@eslint/config-helpers/-/config-helpers-0.1.0.tgz#62f1b7821e9d9ced1b3f512c7ea731825765d1cc" - integrity sha512-kLrdPDJE1ckPo94kmPPf9Hfd0DU0Jw6oKYrhe+pwSC0iTUInmTa+w6fw8sGgcfkFJGNdWOUeOaDM4quW4a7OkA== +"@eslint/config-helpers@^0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@eslint/config-helpers/-/config-helpers-0.2.0.tgz#12dc8d65c31c4b6c3ebf0758db6601eb7692ce59" + integrity sha512-yJLLmLexii32mGrhW29qvU3QBVTu0GUmEf/J4XsBtVhp4JkIUFN/BjWqTF63yRvGApIDpZm5fa97LtYtINmfeQ== "@eslint/core@^0.12.0": version "0.12.0" @@ -1483,12 +1483,32 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" +"@eslint/eslintrc@^3.3.1": + version "3.3.1" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.3.1.tgz#e55f7f1dd400600dd066dbba349c4c0bac916964" + integrity sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^10.0.1" + globals "^14.0.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + "@eslint/js@8.57.1": version "8.57.1" resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.1.tgz#de633db3ec2ef6a3c89e2f19038063e8a122e2c2" integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q== -"@eslint/js@9.22.0", "@eslint/js@^9.22.0": +"@eslint/js@9.23.0": + version "9.23.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.23.0.tgz#c09ded4f3dc63b40b933bcaeb853fceddb64da30" + integrity sha512-35MJ8vCPU0ZMxo7zfev2pypqTwWTofFZO6m4KAtdoFhRpLJUpHTZZ+KB3C7Hb1d7bULYwO4lJXGCi5Se+8OMbw== + +"@eslint/js@^9.22.0": version "9.22.0" resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.22.0.tgz#4ff53649ded7cbce90b444b494c234137fa1aa3d" integrity sha512-vLFajx9o8d1/oL2ZkpMYbkLv8nDB6yaIwFNt7nI4+I80U/z03SxmfOMsLbvWr3p7C+Wnoh//aOu2pQW8cS0HCQ== @@ -2712,17 +2732,20 @@ dependencies: eslint-scope "5.1.1" -"@nish1896/eslint-flat-config@^1.1.4": - version "1.1.4" - resolved "https://registry.yarnpkg.com/@nish1896/eslint-flat-config/-/eslint-flat-config-1.1.4.tgz#66c3f484056bf956b9f6f238de00910b5bb8bdca" - integrity sha512-El+bvh7tA9c4XxClj8CiyC4mqgiVbAjyFqNWtak8blq2hU/F22Zu5cWGKPvlB4o9TJ7bZRRR9cCfvEF9ZN+fHw== +"@nish1896/eslint-flat-config@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@nish1896/eslint-flat-config/-/eslint-flat-config-2.0.0.tgz#d55c1bbd5d6d4f76894f41c09a0d7f905f2d0a80" + integrity sha512-0yTLUnO/xtkDM5rnKkdxT9gj+EMegB0x0y8ccpzcoWHJ4FNYo46tjZfXBbUL60oaxqAhgJBypExJSSh0NRwykQ== dependencies: - "@stylistic/eslint-plugin" "^2.13.0" + "@stylistic/eslint-plugin-js" "^4.2.0" + "@stylistic/eslint-plugin-jsx" "^4.2.0" + "@stylistic/eslint-plugin-plus" "^4.2.0" + "@stylistic/eslint-plugin-ts" "^4.2.0" eslint-plugin-jsx-a11y "^6.10.2" eslint-plugin-react "^7.37.4" eslint-plugin-react-hooks "^5.2.0" globals "^16.0.0" - typescript-eslint "^8.26.1" + typescript-eslint "^8.28.0" "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -2890,17 +2913,41 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@stylistic/eslint-plugin@^2.13.0": - version "2.13.0" - resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-2.13.0.tgz#53bf175dac8c1ec055b370a6ff77d491cae9a70d" - integrity sha512-RnO1SaiCFHn666wNz2QfZEFxvmiNRqhzaMXHXxXXKt+MEP7aajlPxUSMIQpKAaJfverpovEYqjBOXDq6dDcaOQ== +"@stylistic/eslint-plugin-js@^4.2.0": + version "4.2.0" + resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin-js/-/eslint-plugin-js-4.2.0.tgz#30536fd35dd6aba08c1e234fe37bf66831c6e989" + integrity sha512-MiJr6wvyzMYl/wElmj8Jns8zH7Q1w8XoVtm+WM6yDaTrfxryMyb8n0CMxt82fo42RoLIfxAEtM6tmQVxqhk0/A== + dependencies: + eslint-visitor-keys "^4.2.0" + espree "^10.3.0" + +"@stylistic/eslint-plugin-jsx@^4.2.0": + version "4.2.0" + resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin-jsx/-/eslint-plugin-jsx-4.2.0.tgz#31799d2fc3022f1f17700bda79184825580b1e30" + integrity sha512-V+AtcVs0a3ck2IWWH/fd/+TmOYSgBJlsJXIR65+3kqgNi3p3pPfo9C8nhRsU/KlcSwhnzyx+Z/kEcuWCMZtTcA== dependencies: - "@typescript-eslint/utils" "^8.13.0" eslint-visitor-keys "^4.2.0" espree "^10.3.0" estraverse "^5.3.0" picomatch "^4.0.2" +"@stylistic/eslint-plugin-plus@^4.2.0": + version "4.2.0" + resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin-plus/-/eslint-plugin-plus-4.2.0.tgz#8bf652616f4ddf55823e8408a2f9ed72f1475e04" + integrity sha512-w7HArI09lCB7u9hj0ZXojY49iQmcmL8mJKkZ3EXCRCy6nlM8AeHZCFxNDXJo4EW/sP08RiaspXEbL9ZtDs4cPQ== + dependencies: + eslint-visitor-keys "^4.2.0" + espree "^10.3.0" + +"@stylistic/eslint-plugin-ts@^4.2.0": + version "4.2.0" + resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin-ts/-/eslint-plugin-ts-4.2.0.tgz#8f5bd6673b735a51deb2a981d8c263830166b769" + integrity sha512-j2o2GvOx9v66x8hmp/HJ+0T+nOppiO5ycGsCkifh7JPGgjxEhpkGmIGx3RWsoxpWbad3VCX8e8/T8n3+7ze1Zg== + dependencies: + "@typescript-eslint/utils" "^8.23.0" + eslint-visitor-keys "^4.2.0" + espree "^10.3.0" + "@surma/rollup-plugin-off-main-thread@^2.2.3": version "2.2.3" resolved "https://registry.yarnpkg.com/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-2.2.3.tgz#ee34985952ca21558ab0d952f00298ad2190c053" @@ -3454,13 +3501,20 @@ dependencies: "@types/node" "*" -"@types/node@*", "@types/node@^22.13.10": +"@types/node@*": version "22.13.10" resolved "https://registry.yarnpkg.com/@types/node/-/node-22.13.10.tgz#df9ea358c5ed991266becc3109dc2dc9125d77e4" integrity sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw== dependencies: undici-types "~6.20.0" +"@types/node@^22.13.14": + version "22.13.14" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.13.14.tgz#70d84ec91013dcd2ba2de35532a5a14c2b4cc912" + integrity sha512-Zs/Ollc1SJ8nKUAgc7ivOEdIBM8JAKgrqqUYi2J997JuKO7/tpQC+WCetQ1sypiKCQWHdvdg9wBNpUPEWZae7w== + dependencies: + undici-types "~6.20.0" + "@types/parse-json@^4.0.0": version "4.0.2" resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239" @@ -3645,6 +3699,21 @@ natural-compare "^1.4.0" ts-api-utils "^2.0.1" +"@typescript-eslint/eslint-plugin@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.28.0.tgz#ad1465aa6fe7e937801c291648dec951c4dc38e6" + integrity sha512-lvFK3TCGAHsItNdWZ/1FkvpzCxTHUVuFrdnOGLMa0GGCFIbCgQWVk3CzCGdA7kM3qGVc+dfW9tr0Z/sHnGDFyg== + dependencies: + "@eslint-community/regexpp" "^4.10.0" + "@typescript-eslint/scope-manager" "8.28.0" + "@typescript-eslint/type-utils" "8.28.0" + "@typescript-eslint/utils" "8.28.0" + "@typescript-eslint/visitor-keys" "8.28.0" + graphemer "^1.4.0" + ignore "^5.3.1" + natural-compare "^1.4.0" + ts-api-utils "^2.0.1" + "@typescript-eslint/eslint-plugin@^5.5.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db" @@ -3679,6 +3748,17 @@ "@typescript-eslint/visitor-keys" "8.27.0" debug "^4.3.4" +"@typescript-eslint/parser@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.28.0.tgz#85321707e8711c0e66a949ea228224af35f45c98" + integrity sha512-LPcw1yHD3ToaDEoljFEfQ9j2xShY367h7FZ1sq5NJT9I3yj4LHer1Xd1yRSOdYy9BpsrxU7R+eoDokChYM53lQ== + dependencies: + "@typescript-eslint/scope-manager" "8.28.0" + "@typescript-eslint/types" "8.28.0" + "@typescript-eslint/typescript-estree" "8.28.0" + "@typescript-eslint/visitor-keys" "8.28.0" + debug "^4.3.4" + "@typescript-eslint/parser@^5.5.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7" @@ -3705,6 +3785,14 @@ "@typescript-eslint/types" "8.27.0" "@typescript-eslint/visitor-keys" "8.27.0" +"@typescript-eslint/scope-manager@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.28.0.tgz#e495b20438a3787e00498774d5625e620d68f9fe" + integrity sha512-u2oITX3BJwzWCapoZ/pXw6BCOl8rJP4Ij/3wPoGvY8XwvXflOzd1kLrDUUUAIEdJSFh+ASwdTHqtan9xSg8buw== + dependencies: + "@typescript-eslint/types" "8.28.0" + "@typescript-eslint/visitor-keys" "8.28.0" + "@typescript-eslint/type-utils@5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz#286f0389c41681376cdad96b309cedd17d70346a" @@ -3725,6 +3813,16 @@ debug "^4.3.4" ts-api-utils "^2.0.1" +"@typescript-eslint/type-utils@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.28.0.tgz#fc565414ebc16de1fc65e0dd8652ce02c78ca61f" + integrity sha512-oRoXu2v0Rsy/VoOGhtWrOKDiIehvI+YNrDk5Oqj40Mwm0Yt01FC/Q7nFqg088d3yAsR1ZcZFVfPCTTFCe/KPwg== + dependencies: + "@typescript-eslint/typescript-estree" "8.28.0" + "@typescript-eslint/utils" "8.28.0" + debug "^4.3.4" + ts-api-utils "^2.0.1" + "@typescript-eslint/types@5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" @@ -3735,6 +3833,11 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.27.0.tgz#3dd01ced4c81e798d1106fda0904f8d5c91051aa" integrity sha512-/6cp9yL72yUHAYq9g6DsAU+vVfvQmd1a8KyA81uvfDE21O2DwQ/qxlM4AR8TSdAu+kJLBDrEHKC5/W2/nxsY0A== +"@typescript-eslint/types@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.28.0.tgz#7c73878385edfd9674c7aa10975e6c484b4f896e" + integrity sha512-bn4WS1bkKEjx7HqiwG2JNB3YJdC1q6Ue7GyGlwPHyt0TnVq6TtD/hiOdTZt71sq0s7UzqBFXD8t8o2e63tXgwA== + "@typescript-eslint/typescript-estree@5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b" @@ -3762,6 +3865,20 @@ semver "^7.6.0" ts-api-utils "^2.0.1" +"@typescript-eslint/typescript-estree@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.28.0.tgz#56b999f26f7ca67b9d75d6a67af5c8b8e4e80114" + integrity sha512-H74nHEeBGeklctAVUvmDkxB1mk+PAZ9FiOMPFncdqeRBXxk1lWSYraHw8V12b7aa6Sg9HOBNbGdSHobBPuQSuA== + dependencies: + "@typescript-eslint/types" "8.28.0" + "@typescript-eslint/visitor-keys" "8.28.0" + debug "^4.3.4" + fast-glob "^3.3.2" + is-glob "^4.0.3" + minimatch "^9.0.4" + semver "^7.6.0" + ts-api-utils "^2.0.1" + "@typescript-eslint/utils@5.62.0", "@typescript-eslint/utils@^5.58.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86" @@ -3776,7 +3893,7 @@ eslint-scope "^5.1.1" semver "^7.3.7" -"@typescript-eslint/utils@8.27.0", "@typescript-eslint/utils@^8.13.0": +"@typescript-eslint/utils@8.27.0": version "8.27.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.27.0.tgz#d9c2a4891c6a85b952a9d5f9656c379ab111cf6d" integrity sha512-njkodcwH1yvmo31YWgRHNb/x1Xhhq4/m81PhtvmRngD8iHPehxffz1SNCO+kwaePhATC+kOa/ggmvPoPza5i0Q== @@ -3786,6 +3903,16 @@ "@typescript-eslint/types" "8.27.0" "@typescript-eslint/typescript-estree" "8.27.0" +"@typescript-eslint/utils@8.28.0", "@typescript-eslint/utils@^8.23.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.28.0.tgz#7850856620a896b7ac621ac12d49c282aefbb528" + integrity sha512-OELa9hbTYciYITqgurT1u/SzpQVtDLmQMFzy/N8pQE+tefOyCWT79jHsav294aTqV1q1u+VzqDGbuujvRYaeSQ== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@typescript-eslint/scope-manager" "8.28.0" + "@typescript-eslint/types" "8.28.0" + "@typescript-eslint/typescript-estree" "8.28.0" + "@typescript-eslint/visitor-keys@5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" @@ -3802,6 +3929,14 @@ "@typescript-eslint/types" "8.27.0" eslint-visitor-keys "^4.2.0" +"@typescript-eslint/visitor-keys@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.28.0.tgz#18eb9a25cc9dadb027835c58efe93a5c4ee81969" + integrity sha512-hbn8SZ8w4u2pRwgQ1GlUrPKE+t2XvcCW5tTRF7j6SMYIuYG37XuzIW44JCZPa36evi0Oy2SnM664BlIaAuQcvg== + dependencies: + "@typescript-eslint/types" "8.28.0" + eslint-visitor-keys "^4.2.0" + "@ungap/structured-clone@^1.2.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.3.0.tgz#d06bbb384ebcf6c505fde1c3d0ed4ddffe0aaff8" @@ -6665,18 +6800,18 @@ eslint@^8.3.0: strip-ansi "^6.0.1" text-table "^0.2.0" -eslint@^9.22.0: - version "9.22.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.22.0.tgz#0760043809fbf836f582140345233984d613c552" - integrity sha512-9V/QURhsRN40xuHXWjV64yvrzMjcz7ZyNoF2jJFmy9j/SLk0u1OLSZgXi28MrXjymnjEGSR80WCdab3RGMDveQ== +eslint@^9.23.0: + version "9.23.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.23.0.tgz#b88f3ab6dc83bcb927fdb54407c69ffe5f2441a6" + integrity sha512-jV7AbNoFPAY1EkFYpLq5bslU9NLNO8xnEeQXwErNibVryjk67wHVmddTBilc5srIttJDBrB0eMHKZBFbSIABCw== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.12.1" "@eslint/config-array" "^0.19.2" - "@eslint/config-helpers" "^0.1.0" + "@eslint/config-helpers" "^0.2.0" "@eslint/core" "^0.12.0" - "@eslint/eslintrc" "^3.3.0" - "@eslint/js" "9.22.0" + "@eslint/eslintrc" "^3.3.1" + "@eslint/js" "9.23.0" "@eslint/plugin-kit" "^0.2.7" "@humanfs/node" "^0.16.6" "@humanwhocodes/module-importer" "^1.0.1" @@ -13310,6 +13445,18 @@ tsc-alias@^1.8.11: normalize-path "^3.0.0" plimit-lit "^1.2.6" +tsc-alias@^1.8.13: + version "1.8.13" + resolved "https://registry.yarnpkg.com/tsc-alias/-/tsc-alias-1.8.13.tgz#9445ed80669e13a95facbca197fb6671a54a5731" + integrity sha512-hpuglrm2DoHZE62L8ntYqRNiSQ7J8kvIxEsajzY/QfGOm7EcdhgG5asqoWYi2E2KX0SqUuhOTnV8Ry8D/TnsEA== + dependencies: + chokidar "^3.5.3" + commander "^9.0.0" + globby "^11.0.4" + mylas "^2.1.9" + normalize-path "^3.0.0" + plimit-lit "^1.2.6" + tsconfig-paths-webpack-plugin@4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.2.0.tgz#f7459a8ed1dd4cf66ad787aefc3d37fff3cf07fc" @@ -13520,6 +13667,15 @@ typescript-eslint@^8.26.1: "@typescript-eslint/parser" "8.27.0" "@typescript-eslint/utils" "8.27.0" +typescript-eslint@^8.28.0: + version "8.28.0" + resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.28.0.tgz#70b0ac51dc15eeb9fcfad66c0b0ec78f3ad341e3" + integrity sha512-jfZtxJoHm59bvoCMYCe2BM0/baMswRhMmYhy+w6VfcyHrjxZ0OJe0tGasydCpIpA+A/WIJhTyZfb3EtwNC/kHQ== + dependencies: + "@typescript-eslint/eslint-plugin" "8.28.0" + "@typescript-eslint/parser" "8.28.0" + "@typescript-eslint/utils" "8.28.0" + typescript@5.7.3: version "5.7.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e" From aaf20ebd90fe0f911f1a2307dc37e80dc81e1171 Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 30 Mar 2025 21:10:43 +0530 Subject: [PATCH 02/13] upgrade nestjs-server dependencies --- apps/nestjs-server/package.json | 30 ++-- apps/next-client/package.json | 4 +- package.json | 2 +- yarn.lock | 278 +++++++++++++++----------------- 4 files changed, 148 insertions(+), 166 deletions(-) diff --git a/apps/nestjs-server/package.json b/apps/nestjs-server/package.json index 7583485..99b95b0 100644 --- a/apps/nestjs-server/package.json +++ b/apps/nestjs-server/package.json @@ -18,41 +18,41 @@ "test:e2e": "jest --config ./test/jest-e2e.json" }, "dependencies": { - "@nestjs/common": "^11.0.11", - "@nestjs/core": "^11.0.11", - "@nestjs/platform-express": "^11.0.11", - "@nestjs/platform-fastify": "^11.0.11", + "@nestjs/common": "^11.0.12", + "@nestjs/core": "^11.0.12", + "@nestjs/platform-express": "^11.0.12", + "@nestjs/platform-fastify": "^11.0.12", "reflect-metadata": "^0.2.2", "rxjs": "^7.8.2" }, "devDependencies": { - "@eslint/eslintrc": "^3.3.0", - "@eslint/js": "^9.22.0", + "@eslint/eslintrc": "^3.3.1", + "@eslint/js": "^9.23.0", "@nestjs/cli": "^11.0.5", "@nestjs/schematics": "^11.0.2", - "@nestjs/testing": "^11.0.11", + "@nestjs/testing": "^11.0.12", "@nish1896/eslint-flat-config": "^2.0.0", "@swc/cli": "^0.6.0", - "@swc/core": "^1.10.8", - "@types/express": "^5.0.0", + "@swc/core": "^1.11.13", + "@types/express": "^5.0.1", "@types/jest": "^29.5.14", "@types/node": "^22.13.14", - "@types/supertest": "^6.0.2", + "@types/supertest": "^6.0.3", "eslint": "^9.23.0", "eslint-config-prettier": "^10.1.1", - "eslint-plugin-prettier": "^5.2.3", + "eslint-plugin-prettier": "^5.2.5", "globals": "^16.0.0", "jest": "^29.7.0", - "prettier": "^3.4.2", + "prettier": "^3.5.3", "rimraf": "^6.0.1", "source-map-support": "^0.5.21", - "supertest": "^7.0.0", - "ts-jest": "^29.2.6", + "supertest": "^7.1.0", + "ts-jest": "^29.3.0", "ts-loader": "^9.5.2", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "typescript": "^5.8.2", - "typescript-eslint": "^8.26.1" + "typescript-eslint": "^8.28.0" }, "jest": { "moduleFileExtensions": [ diff --git a/apps/next-client/package.json b/apps/next-client/package.json index b2ff08b..3d973b6 100644 --- a/apps/next-client/package.json +++ b/apps/next-client/package.json @@ -22,10 +22,10 @@ "react-dom": "^19.0.0" }, "devDependencies": { - "@eslint/eslintrc": "^3.3.0", + "@eslint/eslintrc": "^3.3.1", "@nish1896/eslint-flat-config": "^2.0.0", "@types/node": "^22.13.14", - "@types/react": "^19.0.10", + "@types/react": "^19.0.12", "@types/react-dom": "^19.0.4", "eslint": "^9.23.0", "eslint-config-next": "15.2.2", diff --git a/package.json b/package.json index b3835dd..fbca14e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@nish1896/react-nestjs-monorepo", "author": "Nishant Kohli", - "version": "1.0.1", + "version": "1.0.0", "private": true, "workspaces": [ "apps/*", diff --git a/yarn.lock b/yarn.lock index 9497d04..9e55626 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1468,21 +1468,6 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/eslintrc@^3.3.0": - version "3.3.0" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.3.0.tgz#96a558f45842989cca7ea1ecd785ad5491193846" - integrity sha512-yaVPAiNAalnCZedKLdR21GOGILMLKPyqSLWaAjQFvYA2i/ciDi8ArYVr69Anohb6cH2Ukhqti4aFnYyPm8wdwQ== - dependencies: - ajv "^6.12.4" - debug "^4.3.2" - espree "^10.0.1" - globals "^14.0.0" - ignore "^5.2.0" - import-fresh "^3.2.1" - js-yaml "^4.1.0" - minimatch "^3.1.2" - strip-json-comments "^3.1.1" - "@eslint/eslintrc@^3.3.1": version "3.3.1" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.3.1.tgz#e55f7f1dd400600dd066dbba349c4c0bac916964" @@ -1503,7 +1488,7 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.1.tgz#de633db3ec2ef6a3c89e2f19038063e8a122e2c2" integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q== -"@eslint/js@9.23.0": +"@eslint/js@9.23.0", "@eslint/js@^9.23.0": version "9.23.0" resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.23.0.tgz#c09ded4f3dc63b40b933bcaeb853fceddb64da30" integrity sha512-35MJ8vCPU0ZMxo7zfev2pypqTwWTofFZO6m4KAtdoFhRpLJUpHTZZ+KB3C7Hb1d7bULYwO4lJXGCi5Se+8OMbw== @@ -2609,7 +2594,7 @@ webpack "5.98.0" webpack-node-externals "3.0.0" -"@nestjs/common@^11.0.11": +"@nestjs/common@^11.0.12": version "11.0.12" resolved "https://registry.yarnpkg.com/@nestjs/common/-/common-11.0.12.tgz#0173d11aa3f6ec8f0522a6bca294140fc40e4d7c" integrity sha512-6PXxmDe2iYmb57xacnxzpW1NAxRZ7Gf+acMT7/hmRB/4KpZiFU/cNvLWwgbM2BL5QSzQulOwY6ny5bbKnPpB+A== @@ -2618,7 +2603,7 @@ iterare "1.2.1" tslib "2.8.1" -"@nestjs/core@^11.0.11": +"@nestjs/core@^11.0.12": version "11.0.12" resolved "https://registry.yarnpkg.com/@nestjs/core/-/core-11.0.12.tgz#d1a60c998bfc68d3a48a0a9997fb5f0ba2a74013" integrity sha512-micQrbh9iL0PuYVx2vsUojuNmMUyqoMCuj7eGAUhvjiZUh4DBLPdxYmJEayCT/equHSiw9vNC95Vm0JigVZ44g== @@ -2630,7 +2615,7 @@ path-to-regexp "8.2.0" tslib "2.8.1" -"@nestjs/platform-express@^11.0.11": +"@nestjs/platform-express@^11.0.12": version "11.0.12" resolved "https://registry.yarnpkg.com/@nestjs/platform-express/-/platform-express-11.0.12.tgz#bbc68d01c650727894c59150463a73edb28fae1f" integrity sha512-Jze6dY1q1BBAjFuPQT9CLjYFl5IxMSQQxD+xs6cV+4EIysHxgSFZMJqiTpknZTFgPneyp0zF1TtQAjxBshnwlg== @@ -2641,7 +2626,7 @@ path-to-regexp "8.2.0" tslib "2.8.1" -"@nestjs/platform-fastify@^11.0.11": +"@nestjs/platform-fastify@^11.0.12": version "11.0.12" resolved "https://registry.yarnpkg.com/@nestjs/platform-fastify/-/platform-fastify-11.0.12.tgz#c9cf061d912d00b7ba4e89eceae0489028b154f0" integrity sha512-wpUI+A5jlSTEUyc212kMG2pGVCS29A3xzn8Y73tgu+szX+womi6zXud//+GArrlUcOIaA8Z2sCJLiROkiH2D2A== @@ -2666,7 +2651,7 @@ jsonc-parser "3.3.1" pluralize "8.0.0" -"@nestjs/testing@^11.0.11": +"@nestjs/testing@^11.0.12": version "11.0.12" resolved "https://registry.yarnpkg.com/@nestjs/testing/-/testing-11.0.12.tgz#2d76e62dbd851b4a01b8feead9847c68564e3f88" integrity sha512-jl1McTqrY+zRBFIWcFMVwesY2v++mAdHrrzXsLxatgkf6wRVh6te1MQ6LikgQ6qz4P5qzVV6EiXQVLGvARe5Xw== @@ -2785,10 +2770,10 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== -"@pkgr/core@^0.1.0": - version "0.1.2" - resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.2.tgz#1cf95080bb7072fafaa3cb13b442fab4695c3893" - integrity sha512-fdDH1LSGfZdTH2sxdpVMw31BanV28K/Gry0cVFxaNP77neJSkd82mM8ErPNYs9e+0O7SdHBLTDzDgwUuy18RnQ== +"@pkgr/core@^0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.2.0.tgz#8dff61038cb5884789d8b323d9869e5363b976f7" + integrity sha512-vsJDAkYR6qCPu+ioGScGiMYR7LvZYIXh/dlQeviqoTWNCVfKTLYD/LkNWH4Mxsv2a5vpIRc77FN5DnmK1eBggQ== "@pmmmwh/react-refresh-webpack-plugin@^0.5.3": version "0.5.15" @@ -3076,74 +3061,74 @@ slash "3.0.0" source-map "^0.7.3" -"@swc/core-darwin-arm64@1.11.11": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.11.11.tgz#e4b5fc99bab657f8f72217fd4976956faf4132b3" - integrity sha512-vJcjGVDB8cZH7zyOkC0AfpFYI/7GHKG0NSsH3tpuKrmoAXJyCYspKPGid7FT53EAlWreN7+Pew+bukYf5j+Fmg== - -"@swc/core-darwin-x64@1.11.11": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.11.11.tgz#0f4e810a2cd9c2993a7ccc3b38d1f92ef49894d8" - integrity sha512-/N4dGdqEYvD48mCF3QBSycAbbQd3yoZ2YHSzYesQf8usNc2YpIhYqEH3sql02UsxTjEFOJSf1bxZABDdhbSl6A== - -"@swc/core-linux-arm-gnueabihf@1.11.11": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.11.11.tgz#72b4b1e403bca37f051fd194eb0518cda83fad9f" - integrity sha512-hsBhKK+wVXdN3x9MrL5GW0yT8o9GxteE5zHAI2HJjRQel3HtW7m5Nvwaq+q8rwMf4YQRd8ydbvwl4iUOZx7i2Q== - -"@swc/core-linux-arm64-gnu@1.11.11": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.11.11.tgz#ea87e183ec53db9e121cca581cef538e9652193f" - integrity sha512-YOCdxsqbnn/HMPCNM6nrXUpSndLXMUssGTtzT7ffXqr7WuzRg2e170FVDVQFIkb08E7Ku5uOnnUVAChAJQbMOQ== - -"@swc/core-linux-arm64-musl@1.11.11": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.11.11.tgz#33db0f45b2286bbca9baf2ed84d1f2405c657600" - integrity sha512-nR2tfdQRRzwqR2XYw9NnBk9Fdvff/b8IiJzDL28gRR2QiJWLaE8LsRovtWrzCOYq6o5Uu9cJ3WbabWthLo4jLw== - -"@swc/core-linux-x64-gnu@1.11.11": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.11.11.tgz#4a1fe41baa968008bb0fffc7754fd6ee824e76e1" - integrity sha512-b4gBp5HA9xNWNC5gsYbdzGBJWx4vKSGybGMGOVWWuF+ynx10+0sA/o4XJGuNHm8TEDuNh9YLKf6QkIO8+GPJ1g== - -"@swc/core-linux-x64-musl@1.11.11": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.11.11.tgz#972d3530d740b3681191590ee08bb9ab7bb6706d" - integrity sha512-dEvqmQVswjNvMBwXNb8q5uSvhWrJLdttBSef3s6UC5oDSwOr00t3RQPzyS3n5qmGJ8UMTdPRmsopxmqaODISdg== - -"@swc/core-win32-arm64-msvc@1.11.11": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.11.11.tgz#179846f1f9e3e806a4bf6d8f35af97f577c1a0b3" - integrity sha512-aZNZznem9WRnw2FbTqVpnclvl8Q2apOBW2B316gZK+qxbe+ktjOUnYaMhdCG3+BYggyIBDOnaJeQrXbKIMmNdw== - -"@swc/core-win32-ia32-msvc@1.11.11": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.11.11.tgz#b098b72c1b45e237a9598b7b5e83e6c5ecb9ac69" - integrity sha512-DjeJn/IfjgOddmJ8IBbWuDK53Fqw7UvOz7kyI/728CSdDYC3LXigzj3ZYs4VvyeOt+ZcQZUB2HA27edOifomGw== - -"@swc/core-win32-x64-msvc@1.11.11": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.11.11.tgz#1d5610c585b903b8c1f4a452725d77ac96f27e84" - integrity sha512-Gp/SLoeMtsU4n0uRoKDOlGrRC6wCfifq7bqLwSlAG8u8MyJYJCcwjg7ggm0rhLdC2vbiZ+lLVl3kkETp+JUvKg== - -"@swc/core@^1.10.8": - version "1.11.11" - resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.11.11.tgz#bac3256d7a113f0dd6965206cf428e826981cf0d" - integrity sha512-pCVY2Wn6dV/labNvssk9b3Owi4WOYsapcbWm90XkIj4xH/56Z6gzja9fsU+4MdPuEfC2Smw835nZHcdCFGyX6A== +"@swc/core-darwin-arm64@1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.11.13.tgz#ebd30fa0cda7ad28fc471cd756402ff17801cfb4" + integrity sha512-loSERhLaQ9XDS+5Kdx8cLe2tM1G0HLit8MfehipAcsdctpo79zrRlkW34elOf3tQoVPKUItV0b/rTuhjj8NtHg== + +"@swc/core-darwin-x64@1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.11.13.tgz#9cad870d48ebff805e8946ddcbe3d8312182f70b" + integrity sha512-uSA4UwgsDCIysUPfPS8OrQTH2h9spO7IYFd+1NB6dJlVGUuR6jLKuMBOP1IeLeax4cGHayvkcwSJ3OvxHwgcZQ== + +"@swc/core-linux-arm-gnueabihf@1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.11.13.tgz#51839e5a850bfa300e2c838fee8379e4dba1de78" + integrity sha512-boVtyJzS8g30iQfe8Q46W5QE/cmhKRln/7NMz/5sBP/am2Lce9NL0d05NnFwEWJp1e2AMGHFOdRr3Xg1cDiPKw== + +"@swc/core-linux-arm64-gnu@1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.11.13.tgz#4145f1e504bdfa92604aee883d777bc8c4fba5d7" + integrity sha512-+IK0jZ84zHUaKtwpV+T+wT0qIUBnK9v2xXD03vARubKF+eUqCsIvcVHXmLpFuap62dClMrhCiwW10X3RbXNlHw== + +"@swc/core-linux-arm64-musl@1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.11.13.tgz#b1813ae2e99e386ca16fff5af6601ac45ef57c5b" + integrity sha512-+ukuB8RHD5BHPCUjQwuLP98z+VRfu+NkKQVBcLJGgp0/+w7y0IkaxLY/aKmrAS5ofCNEGqKL+AOVyRpX1aw+XA== + +"@swc/core-linux-x64-gnu@1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.11.13.tgz#13b89a0194c4033c01400e9c65d9c21c56a4a6cd" + integrity sha512-q9H3WI3U3dfJ34tdv60zc8oTuWvSd5fOxytyAO9Pc5M82Hic3jjWaf2xBekUg07ubnMZpyfnv+MlD+EbUI3Llw== + +"@swc/core-linux-x64-musl@1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.11.13.tgz#0d0e5aa889dd4da69723e2287c3c1714d9bfd8aa" + integrity sha512-9aaZnnq2pLdTbAzTSzy/q8dr7Woy3aYIcQISmw1+Q2/xHJg5y80ZzbWSWKYca/hKonDMjIbGR6dp299I5J0aeA== + +"@swc/core-win32-arm64-msvc@1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.11.13.tgz#ad7281f9467e3de09f52615afe2276a8ef738a9d" + integrity sha512-n3QZmDewkHANcoHvtwvA6yJbmS4XJf0MBMmwLZoKDZ2dOnC9D/jHiXw7JOohEuzYcpLoL5tgbqmjxa3XNo9Oow== + +"@swc/core-win32-ia32-msvc@1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.11.13.tgz#046f6dbddb5b69a29bbaa98de104090a46088b74" + integrity sha512-wM+Nt4lc6YSJFthCx3W2dz0EwFNf++j0/2TQ0Js9QLJuIxUQAgukhNDVCDdq8TNcT0zuA399ALYbvj5lfIqG6g== + +"@swc/core-win32-x64-msvc@1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.11.13.tgz#0412620d8594a7d3e482d3e79d9e89d80f9a14c0" + integrity sha512-+X5/uW3s1L5gK7wAo0E27YaAoidJDo51dnfKSfU7gF3mlEUuWH8H1bAy5OTt2mU4eXtfsdUMEVXSwhDlLtQkuA== + +"@swc/core@^1.11.13": + version "1.11.13" + resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.11.13.tgz#54ca047c7139d35e358a16a5afcbf8aec0d6e8b6" + integrity sha512-9BXdYz12Wl0zWmZ80PvtjBWeg2ncwJ9L5WJzjhN6yUTZWEV/AwAdVdJnIEp4pro3WyKmAaMxcVOSbhuuOZco5g== dependencies: "@swc/counter" "^0.1.3" "@swc/types" "^0.1.19" optionalDependencies: - "@swc/core-darwin-arm64" "1.11.11" - "@swc/core-darwin-x64" "1.11.11" - "@swc/core-linux-arm-gnueabihf" "1.11.11" - "@swc/core-linux-arm64-gnu" "1.11.11" - "@swc/core-linux-arm64-musl" "1.11.11" - "@swc/core-linux-x64-gnu" "1.11.11" - "@swc/core-linux-x64-musl" "1.11.11" - "@swc/core-win32-arm64-msvc" "1.11.11" - "@swc/core-win32-ia32-msvc" "1.11.11" - "@swc/core-win32-x64-msvc" "1.11.11" + "@swc/core-darwin-arm64" "1.11.13" + "@swc/core-darwin-x64" "1.11.13" + "@swc/core-linux-arm-gnueabihf" "1.11.13" + "@swc/core-linux-arm64-gnu" "1.11.13" + "@swc/core-linux-arm64-musl" "1.11.13" + "@swc/core-linux-x64-gnu" "1.11.13" + "@swc/core-linux-x64-musl" "1.11.13" + "@swc/core-win32-arm64-msvc" "1.11.13" + "@swc/core-win32-ia32-msvc" "1.11.13" + "@swc/core-win32-x64-msvc" "1.11.13" "@swc/counter@0.1.3", "@swc/counter@^0.1.3": version "0.1.3" @@ -3391,7 +3376,7 @@ "@types/range-parser" "*" "@types/send" "*" -"@types/express@*", "@types/express@^5.0.0": +"@types/express@*", "@types/express@^5.0.1": version "5.0.1" resolved "https://registry.yarnpkg.com/@types/express/-/express-5.0.1.tgz#138d741c6e5db8cc273bec5285cd6e9d0779fc9f" integrity sha512-UZUw8vjpWFXuDnjFTh7/5c2TWDlQqeXHi6hcN7F2XSVT5P+WmUnnbFS3KA6Jnc6IsEqI2qCVu2bK0R0J4A8ZQQ== @@ -3565,7 +3550,7 @@ resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.12.tgz#b5d76568485b02a307238270bfe96cb51ee2a044" integrity sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w== -"@types/react@*", "@types/react@^19.0.10": +"@types/react@*", "@types/react@^19.0.10", "@types/react@^19.0.12": version "19.0.12" resolved "https://registry.yarnpkg.com/@types/react/-/react-19.0.12.tgz#338b3f7854adbb784be454b3a83053127af96bd3" integrity sha512-V6Ar115dBDrjbtXSrS+/Oruobc+qVbbUxDFC1RSbRqLt5SYvxxyIDrSC85RWml54g+jfNeEMZhEj7wW07ONQhA== @@ -3635,10 +3620,10 @@ "@types/node" "*" form-data "^4.0.0" -"@types/supertest@^6.0.2": - version "6.0.2" - resolved "https://registry.yarnpkg.com/@types/supertest/-/supertest-6.0.2.tgz#2af1c466456aaf82c7c6106c6b5cbd73a5e86588" - integrity sha512-137ypx2lk/wTQbW6An6safu9hXmajAifU/s7szAHLN/FeIm5w7yR0Wkl9fdJMRSHwOn4HLAI0DaB2TOORuhPDg== +"@types/supertest@^6.0.3": + version "6.0.3" + resolved "https://registry.yarnpkg.com/@types/supertest/-/supertest-6.0.3.tgz#d736f0e994b195b63e1c93e80271a2faf927388c" + integrity sha512-8WzXq62EXFhJ7QsH3Ocb/iKQ/Ty9ZVWnVzoTKc9tyyFRRF3a74Tk2+TLFgaFFw364Ere+npzHKEJ6ga2LzIL7w== dependencies: "@types/methods" "^1.1.4" "@types/superagent" "^8.1.0" @@ -3684,21 +3669,6 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@8.27.0", "@typescript-eslint/eslint-plugin@^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.27.0.tgz#fbef10802365832ee1d1bd5d2117dcec82727a72" - integrity sha512-4henw4zkePi5p252c8ncBLzLce52SEUz2Ebj8faDnuUXz2UuHEONYcJ+G0oaCF+bYCWVZtrGzq3FD7YXetmnSA== - dependencies: - "@eslint-community/regexpp" "^4.10.0" - "@typescript-eslint/scope-manager" "8.27.0" - "@typescript-eslint/type-utils" "8.27.0" - "@typescript-eslint/utils" "8.27.0" - "@typescript-eslint/visitor-keys" "8.27.0" - graphemer "^1.4.0" - ignore "^5.3.1" - natural-compare "^1.4.0" - ts-api-utils "^2.0.1" - "@typescript-eslint/eslint-plugin@8.28.0": version "8.28.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.28.0.tgz#ad1465aa6fe7e937801c291648dec951c4dc38e6" @@ -3714,6 +3684,21 @@ natural-compare "^1.4.0" ts-api-utils "^2.0.1" +"@typescript-eslint/eslint-plugin@^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0": + version "8.27.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.27.0.tgz#fbef10802365832ee1d1bd5d2117dcec82727a72" + integrity sha512-4henw4zkePi5p252c8ncBLzLce52SEUz2Ebj8faDnuUXz2UuHEONYcJ+G0oaCF+bYCWVZtrGzq3FD7YXetmnSA== + dependencies: + "@eslint-community/regexpp" "^4.10.0" + "@typescript-eslint/scope-manager" "8.27.0" + "@typescript-eslint/type-utils" "8.27.0" + "@typescript-eslint/utils" "8.27.0" + "@typescript-eslint/visitor-keys" "8.27.0" + graphemer "^1.4.0" + ignore "^5.3.1" + natural-compare "^1.4.0" + ts-api-utils "^2.0.1" + "@typescript-eslint/eslint-plugin@^5.5.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db" @@ -3737,17 +3722,6 @@ dependencies: "@typescript-eslint/utils" "5.62.0" -"@typescript-eslint/parser@8.27.0", "@typescript-eslint/parser@^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.27.0.tgz#3f6beaa83934467eda34ae82ef04090014df8227" - integrity sha512-XGwIabPallYipmcOk45DpsBSgLC64A0yvdAkrwEzwZ2viqGqRUJ8eEYoPz0CWnutgAFbNMPdsGGvzjSmcWVlEA== - dependencies: - "@typescript-eslint/scope-manager" "8.27.0" - "@typescript-eslint/types" "8.27.0" - "@typescript-eslint/typescript-estree" "8.27.0" - "@typescript-eslint/visitor-keys" "8.27.0" - debug "^4.3.4" - "@typescript-eslint/parser@8.28.0": version "8.28.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.28.0.tgz#85321707e8711c0e66a949ea228224af35f45c98" @@ -3759,6 +3733,17 @@ "@typescript-eslint/visitor-keys" "8.28.0" debug "^4.3.4" +"@typescript-eslint/parser@^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0": + version "8.27.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.27.0.tgz#3f6beaa83934467eda34ae82ef04090014df8227" + integrity sha512-XGwIabPallYipmcOk45DpsBSgLC64A0yvdAkrwEzwZ2viqGqRUJ8eEYoPz0CWnutgAFbNMPdsGGvzjSmcWVlEA== + dependencies: + "@typescript-eslint/scope-manager" "8.27.0" + "@typescript-eslint/types" "8.27.0" + "@typescript-eslint/typescript-estree" "8.27.0" + "@typescript-eslint/visitor-keys" "8.27.0" + debug "^4.3.4" + "@typescript-eslint/parser@^5.5.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7" @@ -6657,13 +6642,13 @@ eslint-plugin-jsx-a11y@^6.10.0, eslint-plugin-jsx-a11y@^6.10.2, eslint-plugin-js safe-regex-test "^1.0.3" string.prototype.includes "^2.0.1" -eslint-plugin-prettier@^5.2.3: - version "5.2.3" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.3.tgz#c4af01691a6fa9905207f0fbba0d7bea0902cce5" - integrity sha512-qJ+y0FfCp/mQYQ/vWQ3s7eUlFEL4PyKfAJxsnYTJ4YT73nsJBWqmEpFryxV9OeUiqmsTsYJ5Y+KDNaeP31wrRw== +eslint-plugin-prettier@^5.2.5: + version "5.2.5" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.5.tgz#0ff00b16f4c80ccdafd6a24a263effba1700087e" + integrity sha512-IKKP8R87pJyMl7WWamLgPkloB16dagPIdd2FjBDbyRYPKo93wS/NbCOPh6gH+ieNLC+XZrhJt/kWj0PS/DFdmg== dependencies: prettier-linter-helpers "^1.0.0" - synckit "^0.9.1" + synckit "^0.10.2" eslint-plugin-react-hooks@^4.3.0: version "4.6.2" @@ -11369,7 +11354,7 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@^3.4.2, prettier@^3.5.3: +prettier@^3.5.3: version "3.5.3" resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.5.3.tgz#4fc2ce0d657e7a02e602549f053b239cb7dfe1b5" integrity sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw== @@ -13039,7 +13024,7 @@ superagent@^9.0.1: mime "2.6.0" qs "^6.11.0" -supertest@^7.0.0: +supertest@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/supertest/-/supertest-7.1.0.tgz#09b273174a8820e57ccdb03d9ca0d96c08c96b52" integrity sha512-5QeSO8hSrKghtcWEoPiO036fxH0Ii2wVQfFZSP0oqQhmjk8bOLhDFXr4JrvaFmPuEWUoq4znY3uSi8UzLKxGqw== @@ -13128,13 +13113,13 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -synckit@^0.9.1: - version "0.9.2" - resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.9.2.tgz#a3a935eca7922d48b9e7d6c61822ee6c3ae4ec62" - integrity sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw== +synckit@^0.10.2: + version "0.10.3" + resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.10.3.tgz#940aea2c7b6d141a4f74dbdebc81e0958c331a4b" + integrity sha512-R1urvuyiTaWfeCggqEvpDJwAlDVdsT9NM+IP//Tk2x7qHCkSvBk/fwFgw/TLAHzZlrAnnazMcRw0ZD8HlYFTEQ== dependencies: - "@pkgr/core" "^0.1.0" - tslib "^2.6.2" + "@pkgr/core" "^0.2.0" + tslib "^2.8.1" tailwindcss@^3.0.2: version "3.4.17" @@ -13388,10 +13373,10 @@ ts-interface-checker@^0.1.9: resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== -ts-jest@^29.2.6: - version "29.2.6" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.6.tgz#df53edf8b72fb89de032cfa310abf37582851d9a" - integrity sha512-yTNZVZqc8lSixm+QGVFcPe6+yj7+TWZwIesuOWvfcn4B9bz5x4NDzVCQQjOs7Hfouu36aEqfEbo9Qpo+gq8dDg== +ts-jest@^29.3.0: + version "29.3.0" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.3.0.tgz#8fc867616619dafeac150b818056badfe07708d5" + integrity sha512-4bfGBX7Gd1Aqz3SyeDS9O276wEU/BInZxskPrbhZLyv+c1wskDCqDFMJQJLWrIr/fKoAH4GE5dKUlrdyvo+39A== dependencies: bs-logger "^0.2.6" ejs "^3.1.10" @@ -13401,6 +13386,7 @@ ts-jest@^29.2.6: lodash.memoize "^4.1.2" make-error "^1.3.6" semver "^7.7.1" + type-fest "^4.37.0" yargs-parser "^21.1.1" ts-loader@^9.5.2: @@ -13486,7 +13472,7 @@ tsconfig-paths@^3.15.0: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@2.8.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.6.2, tslib@^2.8.0: +tslib@2.8.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.8.0, tslib@^2.8.1: version "2.8.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== @@ -13584,6 +13570,11 @@ type-fest@^0.21.3: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== +type-fest@^4.37.0: + version "4.38.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-4.38.0.tgz#659fa14d1a71c2811400aa3b5272627e0c1e6b96" + integrity sha512-2dBz5D5ycHIoliLYLi0Q2V7KRaDlH0uWIvmk7TYlAg5slqwiPv1ezJdZm1QEM0xgk29oYWMCbIG7E6gHpvChlg== + type-is@^1.6.4, type-is@~1.6.18: version "1.6.18" resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" @@ -13658,15 +13649,6 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript-eslint@^8.26.1: - version "8.27.0" - resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.27.0.tgz#96cc34213723ec41a0bcaffc808f04c8d3cd64fb" - integrity sha512-ZZ/8+Y0rRUMuW1gJaPtLWe4ryHbsPLzzibk5Sq+IFa2aOH1Vo0gPr1fbA6pOnzBke7zC2Da4w8AyCgxKXo3lqA== - dependencies: - "@typescript-eslint/eslint-plugin" "8.27.0" - "@typescript-eslint/parser" "8.27.0" - "@typescript-eslint/utils" "8.27.0" - typescript-eslint@^8.28.0: version "8.28.0" resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.28.0.tgz#70b0ac51dc15eeb9fcfad66c0b0ec78f3ad341e3" From d788314ceb7a9e1b302b39cfef42af3b8c5fa74b Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 30 Mar 2025 21:22:01 +0530 Subject: [PATCH 03/13] upgrade next-client dependencies --- apps/next-client/package.json | 14 +- yarn.lock | 248 ++++++++++++++++++++++++---------- 2 files changed, 185 insertions(+), 77 deletions(-) diff --git a/apps/next-client/package.json b/apps/next-client/package.json index 3d973b6..46acbe0 100644 --- a/apps/next-client/package.json +++ b/apps/next-client/package.json @@ -14,12 +14,12 @@ "@emotion/cache": "^11.14.0", "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.0", - "@mui/icons-material": "^6.4.7", - "@mui/material": "^6.4.7", - "@mui/material-nextjs": "^6.4.3", - "next": "15.2.2", - "react": "^19.0.0", - "react-dom": "^19.0.0" + "@mui/icons-material": "^7.0.1", + "@mui/material": "^7.0.1", + "@mui/material-nextjs": "^7.0.0", + "next": "15.2.4", + "react": "^19.1.0", + "react-dom": "^19.1.0" }, "devDependencies": { "@eslint/eslintrc": "^3.3.1", @@ -28,7 +28,7 @@ "@types/react": "^19.0.12", "@types/react-dom": "^19.0.4", "eslint": "^9.23.0", - "eslint-config-next": "15.2.2", + "eslint-config-next": "15.2.4", "typescript": "^5.8.2" } } diff --git a/yarn.lock b/yarn.lock index 9e55626..7bd870e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1119,6 +1119,13 @@ dependencies: regenerator-runtime "^0.14.0" +"@babel/runtime@^7.26.10": + version "7.27.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.27.0.tgz#fbee7cf97c709518ecc1f590984481d5460d4762" + integrity sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw== + dependencies: + regenerator-runtime "^0.14.0" + "@babel/template@^7.25.9", "@babel/template@^7.26.9", "@babel/template@^7.3.3": version "7.26.9" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.26.9.tgz#4577ad3ddf43d194528cff4e1fa6b232fa609bb2" @@ -2374,6 +2381,11 @@ resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-6.4.8.tgz#ffabbdce0e7b341e9c2906bb06a00b34c9d15e05" integrity sha512-vjP4+A1ybyCRhDZC7r5EPWu/gLseFZxaGyPdDl94vzVvk6Yj6gahdaqcjbhkaCrJjdZj90m3VioltWPAnWF/zw== +"@mui/core-downloads-tracker@^7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-7.0.1.tgz#09949138fbd5319f5ee850c709d9ad9696cf7008" + integrity sha512-T5DNVnSD9pMbj4Jk/Uphz+yvj9dfpl2+EqsOuJtG12HxEihNG5pd3qzX5yM1Id4dDwKRvM3dPVcxyzavTFhJeA== + "@mui/icons-material@^6.4.7": version "6.4.8" resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-6.4.8.tgz#3e8f52c19badd2573fce40eb3f47685ecf20dbd0" @@ -2381,12 +2393,19 @@ dependencies: "@babel/runtime" "^7.26.0" -"@mui/material-nextjs@^6.4.3": - version "6.4.3" - resolved "https://registry.yarnpkg.com/@mui/material-nextjs/-/material-nextjs-6.4.3.tgz#516eec4b6ca7d79f196f5c8b1b7f91e69e5c95ab" - integrity sha512-4ZRLrcD1HeWpvY8c7MrKYKuaUSobtvqcLYeEfGh/x5ezzPgKizhl7C0jpVVEgf6g+C9OgOGbhLTVfks7Y2IBAQ== +"@mui/icons-material@^7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-7.0.1.tgz#4a25d74f8f1bfc5eac924819001efae9b39be2d9" + integrity sha512-x8Em7LISFQ6s/KeZj6ZKwJHq2WttRNe9KJLWFa72eQx7B53s/TzMKOEjGKB/YyhOx+bqqSv1pMvK373M4Xf07A== dependencies: - "@babel/runtime" "^7.26.0" + "@babel/runtime" "^7.26.10" + +"@mui/material-nextjs@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@mui/material-nextjs/-/material-nextjs-7.0.0.tgz#5ae7450c8013d02fe7d0745e1702bccb9cd62541" + integrity sha512-C0rY/W6oln6Qy1CCCB8p+ORyS/DYThhVmD+yoBO08cnI8FaIq4mWdkpVXeafOX8Pzinn6NlbHQlquNrMcW4acw== + dependencies: + "@babel/runtime" "^7.26.10" "@mui/material@^6.4.7": version "6.4.8" @@ -2406,6 +2425,24 @@ react-is "^19.0.0" react-transition-group "^4.4.5" +"@mui/material@^7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@mui/material/-/material-7.0.1.tgz#c7f2769903bf6154b48aabf5cbb661733f67f45d" + integrity sha512-tQwjIIsn/UUSCHoCIQVkANuLua67h7Ro9M9gIHoGWaFbJFuF6cSO4Oda2olDVqIs4SWG+PaDChuu6SngxsaoyQ== + dependencies: + "@babel/runtime" "^7.26.10" + "@mui/core-downloads-tracker" "^7.0.1" + "@mui/system" "^7.0.1" + "@mui/types" "^7.4.0" + "@mui/utils" "^7.0.1" + "@popperjs/core" "^2.11.8" + "@types/react-transition-group" "^4.4.12" + clsx "^2.1.1" + csstype "^3.1.3" + prop-types "^15.8.1" + react-is "^19.0.0" + react-transition-group "^4.4.5" + "@mui/private-theming@^6.4.8": version "6.4.8" resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-6.4.8.tgz#210d1a1ab4501f6cf31f1abdf1b0a37fbdfc2991" @@ -2415,6 +2452,15 @@ "@mui/utils" "^6.4.8" prop-types "^15.8.1" +"@mui/private-theming@^7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-7.0.1.tgz#677405caac853bcd306325d8fb91f3ff26b7e00a" + integrity sha512-1kQ7REYjjzDukuMfTbAjm3pLEhD7gUMC2bWhg9VD6f6sHzyokKzX0XHzlr3IdzNWBjPytGkzHpPIRQrUOoPLCQ== + dependencies: + "@babel/runtime" "^7.26.10" + "@mui/utils" "^7.0.1" + prop-types "^15.8.1" + "@mui/styled-engine@^6.4.8": version "6.4.8" resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-6.4.8.tgz#a454115ab349cf729510c107f2564fd1e23c385a" @@ -2427,6 +2473,18 @@ csstype "^3.1.3" prop-types "^15.8.1" +"@mui/styled-engine@^7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-7.0.1.tgz#589bff7e01c49e049a8c60e3da492f1b68e393da" + integrity sha512-BeGe4xZmF7tESKhmctYrL54Kl25kGHPKVdZYM5qj5Xz76WM/poY+d8EmAqUesT6k2rbJWPp2gtOAXXinNCGunQ== + dependencies: + "@babel/runtime" "^7.26.10" + "@emotion/cache" "^11.13.5" + "@emotion/serialize" "^1.3.3" + "@emotion/sheet" "^1.4.0" + csstype "^3.1.3" + prop-types "^15.8.1" + "@mui/system@^6.4.8": version "6.4.8" resolved "https://registry.yarnpkg.com/@mui/system/-/system-6.4.8.tgz#e4ecb65677c2268959effad1f4f885d9b836c09b" @@ -2441,6 +2499,27 @@ csstype "^3.1.3" prop-types "^15.8.1" +"@mui/system@^7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@mui/system/-/system-7.0.1.tgz#d37aedbfa2b47ba452203b2d2e59ff508900b4ae" + integrity sha512-pK+puz0hRPHEKGlcPd80mKYD3jpyi0uVIwWffox1WZgPTQMw2dCKLcD+9ndMDJADnrKzmKlpoH756PPFh2UvWA== + dependencies: + "@babel/runtime" "^7.26.10" + "@mui/private-theming" "^7.0.1" + "@mui/styled-engine" "^7.0.1" + "@mui/types" "^7.4.0" + "@mui/utils" "^7.0.1" + clsx "^2.1.1" + csstype "^3.1.3" + prop-types "^15.8.1" + +"@mui/types@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.4.0.tgz#2304bab870721de1842c9ee0ff13fe8be6b8d0ed" + integrity sha512-TxJ4ezEeedWHBjOmLtxI203a9DII9l4k83RXmz1PYSAmnyEcK2PglTNmJGxswC/wM5cdl9ap2h8lnXvt2swAGQ== + dependencies: + "@babel/runtime" "^7.26.10" + "@mui/types@~7.2.24": version "7.2.24" resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.24.tgz#5eff63129d9c29d80bbf2d2e561bd0690314dec2" @@ -2458,6 +2537,18 @@ prop-types "^15.8.1" react-is "^19.0.0" +"@mui/utils@^7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-7.0.1.tgz#d0fed4d023d0831ea9b817c149aa7c4291438a36" + integrity sha512-SJKrrebNpmK9rJCnVL29nGPhPXQYtBZmb7Dsp0f58uIUhQfAKcBXHE4Kjs06SX4CwqeCuwEVgcHY+MgAO6XQ/g== + dependencies: + "@babel/runtime" "^7.26.10" + "@mui/types" "^7.4.0" + "@types/prop-types" "^15.7.14" + clsx "^2.1.1" + prop-types "^15.8.1" + react-is "^19.0.0" + "@napi-rs/nice-android-arm-eabi@1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@napi-rs/nice-android-arm-eabi/-/nice-android-arm-eabi-1.0.1.tgz#9a0cba12706ff56500df127d6f4caf28ddb94936" @@ -2658,57 +2749,57 @@ dependencies: tslib "2.8.1" -"@next/env@15.2.2": - version "15.2.2" - resolved "https://registry.yarnpkg.com/@next/env/-/env-15.2.2.tgz#6345352365a811c523cecf284874ff489b675e59" - integrity sha512-yWgopCfA9XDR8ZH3taB5nRKtKJ1Q5fYsTOuYkzIIoS8TJ0UAUKAGF73JnGszbjk2ufAQDj6mDdgsJAFx5CLtYQ== +"@next/env@15.2.4": + version "15.2.4" + resolved "https://registry.yarnpkg.com/@next/env/-/env-15.2.4.tgz#060f8d8ddb02be5c825eab4ccd9ab619001efffb" + integrity sha512-+SFtMgoiYP3WoSswuNmxJOCwi06TdWE733D+WPjpXIe4LXGULwEaofiiAy6kbS0+XjM5xF5n3lKuBwN2SnqD9g== -"@next/eslint-plugin-next@15.2.2": - version "15.2.2" - resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-15.2.2.tgz#55fa96486f9e163ca689d441d31f4431ef423aef" - integrity sha512-1+BzokFuFQIfLaRxUKf2u5In4xhPV7tUgKcK53ywvFl6+LXHWHpFkcV7VNeKlyQKUotwiq4fy/aDNF9EiUp4RQ== +"@next/eslint-plugin-next@15.2.4": + version "15.2.4" + resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-15.2.4.tgz#0be0628380bf18313a4e89954d546b01572023aa" + integrity sha512-O8ScvKtnxkp8kL9TpJTTKnMqlkZnS+QxwoQnJwPGBxjBbzd6OVVPEJ5/pMNrktSyXQD/chEfzfFzYLM6JANOOQ== dependencies: fast-glob "3.3.1" -"@next/swc-darwin-arm64@15.2.2": - version "15.2.2" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.2.2.tgz#d3131279d4815ed7604eba7bf0063e0b8bfd2135" - integrity sha512-HNBRnz+bkZ+KfyOExpUxTMR0Ow8nkkcE6IlsdEa9W/rI7gefud19+Sn1xYKwB9pdCdxIP1lPru/ZfjfA+iT8pw== - -"@next/swc-darwin-x64@15.2.2": - version "15.2.2" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-15.2.2.tgz#8562f6b51177aa30f3a6e95a8b3e0e176a6cb04f" - integrity sha512-mJOUwp7al63tDpLpEFpKwwg5jwvtL1lhRW2fI1Aog0nYCPAhxbJsaZKdoVyPZCy8MYf/iQVNDuk/+i29iLCzIA== - -"@next/swc-linux-arm64-gnu@15.2.2": - version "15.2.2" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.2.2.tgz#c2466cffc541f39ae4d435087c81f5899d401903" - integrity sha512-5ZZ0Zwy3SgMr7MfWtRE7cQWVssfOvxYfD9O7XHM7KM4nrf5EOeqwq67ZXDgo86LVmffgsu5tPO57EeFKRnrfSQ== - -"@next/swc-linux-arm64-musl@15.2.2": - version "15.2.2" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.2.2.tgz#24ed87fe47325597e986bd01c427efae53d6b677" - integrity sha512-cgKWBuFMLlJ4TWcFHl1KOaVVUAF8vy4qEvX5KsNd0Yj5mhu989QFCq1WjuaEbv/tO1ZpsQI6h/0YR8bLwEi+nA== - -"@next/swc-linux-x64-gnu@15.2.2": - version "15.2.2" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.2.2.tgz#0240f44530ca39c1fc899fabe8f33aa35d7e77da" - integrity sha512-c3kWSOSsVL8rcNBBfOq1+/j2PKs2nsMwJUV4icUxRgGBwUOfppeh7YhN5s79enBQFU+8xRgVatFkhHU1QW7yUA== - -"@next/swc-linux-x64-musl@15.2.2": - version "15.2.2" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.2.2.tgz#cca6ce8e9ec89afaa618673f0f8658682c30ff56" - integrity sha512-PXTW9PLTxdNlVYgPJ0equojcq1kNu5NtwcNjRjHAB+/sdoKZ+X8FBu70fdJFadkxFIGekQTyRvPMFF+SOJaQjw== - -"@next/swc-win32-arm64-msvc@15.2.2": - version "15.2.2" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.2.2.tgz#08f621602ed53fa21ddf6f656160b9186860be15" - integrity sha512-nG644Es5llSGEcTaXhnGWR/aThM/hIaz0jx4MDg4gWC8GfTCp8eDBWZ77CVuv2ha/uL9Ce+nPTfYkSLG67/sHg== - -"@next/swc-win32-x64-msvc@15.2.2": - version "15.2.2" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.2.2.tgz#2072d69374f8c944134a5c5a80ce03ff84254cfa" - integrity sha512-52nWy65S/R6/kejz3jpvHAjZDPKIbEQu4x9jDBzmB9jJfuOy5rspjKu4u77+fI4M/WzLXrrQd57hlFGzz1ubcQ== +"@next/swc-darwin-arm64@15.2.4": + version "15.2.4" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.2.4.tgz#3a54f67aa2e0096a9147bd24dff1492e151819ae" + integrity sha512-1AnMfs655ipJEDC/FHkSr0r3lXBgpqKo4K1kiwfUf3iE68rDFXZ1TtHdMvf7D0hMItgDZ7Vuq3JgNMbt/+3bYw== + +"@next/swc-darwin-x64@15.2.4": + version "15.2.4" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-15.2.4.tgz#9b540f24afde1b7878623fdba9695344d26b7d67" + integrity sha512-3qK2zb5EwCwxnO2HeO+TRqCubeI/NgCe+kL5dTJlPldV/uwCnUgC7VbEzgmxbfrkbjehL4H9BPztWOEtsoMwew== + +"@next/swc-linux-arm64-gnu@15.2.4": + version "15.2.4" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.2.4.tgz#417a234c9f4dc5495094a8979859ac528c0f1f58" + integrity sha512-HFN6GKUcrTWvem8AZN7tT95zPb0GUGv9v0d0iyuTb303vbXkkbHDp/DxufB04jNVD+IN9yHy7y/6Mqq0h0YVaQ== + +"@next/swc-linux-arm64-musl@15.2.4": + version "15.2.4" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.2.4.tgz#9bca76375508a175956f2d51f8547d0d6f9ffa64" + integrity sha512-Oioa0SORWLwi35/kVB8aCk5Uq+5/ZIumMK1kJV+jSdazFm2NzPDztsefzdmzzpx5oGCJ6FkUC7vkaUseNTStNA== + +"@next/swc-linux-x64-gnu@15.2.4": + version "15.2.4" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.2.4.tgz#c3d5041d53a5b228bf521ed49649e0f2a7aff947" + integrity sha512-yb5WTRaHdkgOqFOZiu6rHV1fAEK0flVpaIN2HB6kxHVSy/dIajWbThS7qON3W9/SNOH2JWkVCyulgGYekMePuw== + +"@next/swc-linux-x64-musl@15.2.4": + version "15.2.4" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.2.4.tgz#b2a51a108b1c412c69a504556cde0517631768c7" + integrity sha512-Dcdv/ix6srhkM25fgXiyOieFUkz+fOYkHlydWCtB0xMST6X9XYI3yPDKBZt1xuhOytONsIFJFB08xXYsxUwJLw== + +"@next/swc-win32-arm64-msvc@15.2.4": + version "15.2.4" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.2.4.tgz#7d687b42512abd36f44c2c787d58a1590f174b69" + integrity sha512-dW0i7eukvDxtIhCYkMrZNQfNicPDExt2jPb9AZPpL7cfyUo7QSNl1DjsHjmmKp6qNAqUESyT8YFl/Aw91cNJJg== + +"@next/swc-win32-x64-msvc@15.2.4": + version "15.2.4" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.2.4.tgz#779a0ea272fa4f509387f3b320e2d70803943a95" + integrity sha512-SbnWkJmkS7Xl3kre8SdMF6F/XDh1DTFEhp0jRTj/uB8iPKoU2bb2NDfcu+iifv1+mxQEd1g2vvSxcZbXSKyWiQ== "@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1": version "5.1.1-v1" @@ -6511,12 +6602,12 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-config-next@15.2.2: - version "15.2.2" - resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-15.2.2.tgz#114ffec6851ced10fde7aa2f62c3d3a4371df514" - integrity sha512-g34RI7RFS4HybYFwGa/okj+8WZM+/fy+pEM+aqRQoVvM4gQhKrd4wIEddKmlZfWD75j8LTwB5zwkmNv3DceH1A== +eslint-config-next@15.2.4: + version "15.2.4" + resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-15.2.4.tgz#549084ab268c3ced41ecdbded1892e4c8ecc442e" + integrity sha512-v4gYjd4eYIme8qzaJItpR5MMBXJ0/YV07u7eb50kEnlEmX7yhOjdUdzz70v4fiINYRjLf8X8TbogF0k7wlz6sA== dependencies: - "@next/eslint-plugin-next" "15.2.2" + "@next/eslint-plugin-next" "15.2.4" "@rushstack/eslint-patch" "^1.10.3" "@typescript-eslint/eslint-plugin" "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0" "@typescript-eslint/parser" "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0" @@ -10154,12 +10245,12 @@ neo-async@^2.6.2: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== -next@15.2.2: - version "15.2.2" - resolved "https://registry.yarnpkg.com/next/-/next-15.2.2.tgz#e3941a0e0e76cfe1880b57452807489e0546e3a2" - integrity sha512-dgp8Kcx5XZRjMw2KNwBtUzhngRaURPioxoNIVl5BOyJbhi9CUgEtKDO7fx5wh8Z8vOVX1nYZ9meawJoRrlASYA== +next@15.2.4: + version "15.2.4" + resolved "https://registry.yarnpkg.com/next/-/next-15.2.4.tgz#e05225e9511df98e3b2edc713e17f4c970bff961" + integrity sha512-VwL+LAaPSxEkd3lU2xWbgEOtrM8oedmyhBqaVNmgKB+GvZlCy9rgaEc+y2on0wv+l0oSFqLtYD6dcC1eAedUaQ== dependencies: - "@next/env" "15.2.2" + "@next/env" "15.2.4" "@swc/counter" "0.1.3" "@swc/helpers" "0.5.15" busboy "1.6.0" @@ -10167,14 +10258,14 @@ next@15.2.2: postcss "8.4.31" styled-jsx "5.1.6" optionalDependencies: - "@next/swc-darwin-arm64" "15.2.2" - "@next/swc-darwin-x64" "15.2.2" - "@next/swc-linux-arm64-gnu" "15.2.2" - "@next/swc-linux-arm64-musl" "15.2.2" - "@next/swc-linux-x64-gnu" "15.2.2" - "@next/swc-linux-x64-musl" "15.2.2" - "@next/swc-win32-arm64-msvc" "15.2.2" - "@next/swc-win32-x64-msvc" "15.2.2" + "@next/swc-darwin-arm64" "15.2.4" + "@next/swc-darwin-x64" "15.2.4" + "@next/swc-linux-arm64-gnu" "15.2.4" + "@next/swc-linux-arm64-musl" "15.2.4" + "@next/swc-linux-x64-gnu" "15.2.4" + "@next/swc-linux-x64-musl" "15.2.4" + "@next/swc-win32-arm64-msvc" "15.2.4" + "@next/swc-win32-x64-msvc" "15.2.4" sharp "^0.33.5" no-case@^3.0.4: @@ -11601,6 +11692,13 @@ react-dom@^19.0.0: dependencies: scheduler "^0.25.0" +react-dom@^19.1.0: + version "19.1.0" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.1.0.tgz#133558deca37fa1d682708df8904b25186793623" + integrity sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g== + dependencies: + scheduler "^0.26.0" + react-error-overlay@^6.0.11: version "6.1.0" resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-6.1.0.tgz#22b86256beb1c5856f08a9a228adb8121dd985f2" @@ -11719,6 +11817,11 @@ react@^19.0.0: resolved "https://registry.yarnpkg.com/react/-/react-19.0.0.tgz#6e1969251b9f108870aa4bff37a0ce9ddfaaabdd" integrity sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ== +react@^19.1.0: + version "19.1.0" + resolved "https://registry.yarnpkg.com/react/-/react-19.1.0.tgz#926864b6c48da7627f004795d6cce50e90793b75" + integrity sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg== + read-cache@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" @@ -12205,6 +12308,11 @@ scheduler@^0.25.0: resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.25.0.tgz#336cd9768e8cceebf52d3c80e3dcf5de23e7e015" integrity sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA== +scheduler@^0.26.0: + version "0.26.0" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.26.0.tgz#4ce8a8c2a2095f13ea11bf9a445be50c555d6337" + integrity sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA== + schema-utils@2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.0.tgz#17151f76d8eae67fbbf77960c33c676ad9f4efc7" From 6b957970322dfa25833bb9e2479b555725ffe0bc Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 30 Mar 2025 21:33:49 +0530 Subject: [PATCH 04/13] upgrade react-client --- apps/react-client/package.json | 16 ++++++++-------- yarn.lock | 29 ++++++----------------------- 2 files changed, 14 insertions(+), 31 deletions(-) diff --git a/apps/react-client/package.json b/apps/react-client/package.json index 00d8b12..50e7b48 100644 --- a/apps/react-client/package.json +++ b/apps/react-client/package.json @@ -15,20 +15,20 @@ "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.0", - "@mui/icons-material": "^6.4.7", - "@mui/material": "^6.4.7", + "@mui/icons-material": "^7.0.1", + "@mui/material": "^7.0.1", "@reduxjs/toolkit": "^2.6.1", - "axios": "^1.8.3", - "react": "^19.0.0", - "react-dom": "^19.0.0", + "axios": "^1.8.4", + "react": "^19.1.0", + "react-dom": "^19.1.0", "react-redux": "^9.2.0", - "react-router": "^7.3.0", + "react-router": "^7.4.1", "react-scripts": "5.0.1", "redux-persist": "^6.0.0", "web-vitals": "^4.2.4" }, "devDependencies": { - "@eslint/js": "^9.22.0", + "@eslint/js": "^9.23.0", "@nish1896/eslint-flat-config": "^2.0.0", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", @@ -36,7 +36,7 @@ "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.14", "@types/node": "^22.13.14", - "@types/react": "^19.0.10", + "@types/react": "^19.0.12", "@types/react-dom": "^19.0.4", "@types/react-redux": "^7.1.34", "eslint": "^9.23.0", diff --git a/yarn.lock b/yarn.lock index 7bd870e..2dd3e31 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1500,11 +1500,6 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.23.0.tgz#c09ded4f3dc63b40b933bcaeb853fceddb64da30" integrity sha512-35MJ8vCPU0ZMxo7zfev2pypqTwWTofFZO6m4KAtdoFhRpLJUpHTZZ+KB3C7Hb1d7bULYwO4lJXGCi5Se+8OMbw== -"@eslint/js@^9.22.0": - version "9.22.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.22.0.tgz#4ff53649ded7cbce90b444b494c234137fa1aa3d" - integrity sha512-vLFajx9o8d1/oL2ZkpMYbkLv8nDB6yaIwFNt7nI4+I80U/z03SxmfOMsLbvWr3p7C+Wnoh//aOu2pQW8cS0HCQ== - "@eslint/object-schema@^2.1.6": version "2.1.6" resolved "https://registry.yarnpkg.com/@eslint/object-schema/-/object-schema-2.1.6.tgz#58369ab5b5b3ca117880c0f6c0b0f32f6950f24f" @@ -3641,7 +3636,7 @@ resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.12.tgz#b5d76568485b02a307238270bfe96cb51ee2a044" integrity sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w== -"@types/react@*", "@types/react@^19.0.10", "@types/react@^19.0.12": +"@types/react@*", "@types/react@^19.0.12": version "19.0.12" resolved "https://registry.yarnpkg.com/@types/react/-/react-19.0.12.tgz#338b3f7854adbb784be454b3a83053127af96bd3" integrity sha512-V6Ar115dBDrjbtXSrS+/Oruobc+qVbbUxDFC1RSbRqLt5SYvxxyIDrSC85RWml54g+jfNeEMZhEj7wW07ONQhA== @@ -4741,7 +4736,7 @@ axe-core@^4.10.0: resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.10.3.tgz#04145965ac7894faddbac30861e5d8f11bfd14fc" integrity sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg== -axios@^1.8.3: +axios@^1.8.4: version "1.8.4" resolved "https://registry.yarnpkg.com/axios/-/axios-1.8.4.tgz#78990bb4bc63d2cae072952d374835950a82f447" integrity sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw== @@ -11685,13 +11680,6 @@ react-dev-utils@^12.0.1: strip-ansi "^6.0.1" text-table "^0.2.0" -react-dom@^19.0.0: - version "19.0.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.0.0.tgz#43446f1f01c65a4cd7f7588083e686a6726cfb57" - integrity sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ== - dependencies: - scheduler "^0.25.0" - react-dom@^19.1.0: version "19.1.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.1.0.tgz#133558deca37fa1d682708df8904b25186793623" @@ -11737,10 +11725,10 @@ react-refresh@^0.11.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046" integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A== -react-router@^7.3.0: - version "7.4.0" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.4.0.tgz#9787041425bc4bf52e6d472b6ccfd78a43ace133" - integrity sha512-Y2g5ObjkvX3VFeVt+0CIPuYd9PpgqCslG7ASSIdN73LwA1nNWzcMLaoMRJfP3prZFI92svxFwbn7XkLJ+UPQ6A== +react-router@^7.4.1: + version "7.4.1" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.4.1.tgz#0e6af1eefb8370d2cd79c961b87708afdb50fe64" + integrity sha512-Vmizn9ZNzxfh3cumddqv3kLOKvc7AskUT0dC1prTabhiEi0U4A33LmkDOJ79tXaeSqCqMBXBU/ySX88W85+EUg== dependencies: "@types/cookie" "^0.6.0" cookie "^1.0.1" @@ -12303,11 +12291,6 @@ saxes@^5.0.1: dependencies: xmlchars "^2.2.0" -scheduler@^0.25.0: - version "0.25.0" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.25.0.tgz#336cd9768e8cceebf52d3c80e3dcf5de23e7e015" - integrity sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA== - scheduler@^0.26.0: version "0.26.0" resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.26.0.tgz#4ce8a8c2a2095f13ea11bf9a445be50c555d6337" From 724b12f6cd49ca7f01b3528ff8781cac90e8a7ab Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 30 Mar 2025 21:36:57 +0530 Subject: [PATCH 05/13] upgrade core-lib dependencies --- packages/core-lib/package.json | 8 +-- yarn.lock | 101 +-------------------------------- 2 files changed, 5 insertions(+), 104 deletions(-) diff --git a/packages/core-lib/package.json b/packages/core-lib/package.json index 852bba3..cc1c7ca 100644 --- a/packages/core-lib/package.json +++ b/packages/core-lib/package.json @@ -9,14 +9,14 @@ "lint": "eslint --fix ." }, "dependencies": { - "@mui/icons-material": "^6.4.7", - "@mui/material": "^6.4.7", - "react": "^19.0.0" + "@mui/icons-material": "^7.0.1", + "@mui/material": "^7.0.1", + "react": "^19.1.0" }, "devDependencies": { "@nish1896/eslint-flat-config": "^2.0.0", "eslint": "^9.23.0", - "tsc-alias": "^1.8.11", + "tsc-alias": "^1.8.13", "typescript": "^5.8.2" } } diff --git a/yarn.lock b/yarn.lock index 2dd3e31..dba7072 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1112,7 +1112,7 @@ "@babel/plugin-transform-modules-commonjs" "^7.25.9" "@babel/plugin-transform-typescript" "^7.25.9" -"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.3", "@babel/runtime@^7.18.3", "@babel/runtime@^7.26.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2": +"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.3", "@babel/runtime@^7.18.3", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2": version "7.26.10" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.10.tgz#a07b4d8fa27af131a633d7b3524db803eb4764c2" integrity sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw== @@ -2371,23 +2371,11 @@ resolved "https://registry.yarnpkg.com/@lukeed/csprng/-/csprng-1.1.0.tgz#1e3e4bd05c1cc7a0b2ddbd8a03f39f6e4b5e6cfe" integrity sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA== -"@mui/core-downloads-tracker@^6.4.8": - version "6.4.8" - resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-6.4.8.tgz#ffabbdce0e7b341e9c2906bb06a00b34c9d15e05" - integrity sha512-vjP4+A1ybyCRhDZC7r5EPWu/gLseFZxaGyPdDl94vzVvk6Yj6gahdaqcjbhkaCrJjdZj90m3VioltWPAnWF/zw== - "@mui/core-downloads-tracker@^7.0.1": version "7.0.1" resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-7.0.1.tgz#09949138fbd5319f5ee850c709d9ad9696cf7008" integrity sha512-T5DNVnSD9pMbj4Jk/Uphz+yvj9dfpl2+EqsOuJtG12HxEihNG5pd3qzX5yM1Id4dDwKRvM3dPVcxyzavTFhJeA== -"@mui/icons-material@^6.4.7": - version "6.4.8" - resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-6.4.8.tgz#3e8f52c19badd2573fce40eb3f47685ecf20dbd0" - integrity sha512-LKGWiLWRyoOw3dWxZQ+lV//mK+4DVTTAiLd2ljmJdD6XV0rDB8JFKjRD9nyn9cJAU5XgWnii7ZR3c93ttUnMKg== - dependencies: - "@babel/runtime" "^7.26.0" - "@mui/icons-material@^7.0.1": version "7.0.1" resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-7.0.1.tgz#4a25d74f8f1bfc5eac924819001efae9b39be2d9" @@ -2402,24 +2390,6 @@ dependencies: "@babel/runtime" "^7.26.10" -"@mui/material@^6.4.7": - version "6.4.8" - resolved "https://registry.yarnpkg.com/@mui/material/-/material-6.4.8.tgz#3da961a35b778246832db22fab98c49adbccda77" - integrity sha512-5S9UTjKZZBd9GfbcYh/nYfD9cv6OXmj5Y7NgKYfk7JcSoshp8/pW5zP4wecRiroBSZX8wcrywSgogpVNO+5W0Q== - dependencies: - "@babel/runtime" "^7.26.0" - "@mui/core-downloads-tracker" "^6.4.8" - "@mui/system" "^6.4.8" - "@mui/types" "~7.2.24" - "@mui/utils" "^6.4.8" - "@popperjs/core" "^2.11.8" - "@types/react-transition-group" "^4.4.12" - clsx "^2.1.1" - csstype "^3.1.3" - prop-types "^15.8.1" - react-is "^19.0.0" - react-transition-group "^4.4.5" - "@mui/material@^7.0.1": version "7.0.1" resolved "https://registry.yarnpkg.com/@mui/material/-/material-7.0.1.tgz#c7f2769903bf6154b48aabf5cbb661733f67f45d" @@ -2438,15 +2408,6 @@ react-is "^19.0.0" react-transition-group "^4.4.5" -"@mui/private-theming@^6.4.8": - version "6.4.8" - resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-6.4.8.tgz#210d1a1ab4501f6cf31f1abdf1b0a37fbdfc2991" - integrity sha512-sWwQoNSn6elsPTAtSqCf+w5aaGoh7AASURNmpy+QTTD/zwJ0Jgwt0ZaaP6mXq2IcgHxYnYloM/+vJgHPMkRKTQ== - dependencies: - "@babel/runtime" "^7.26.0" - "@mui/utils" "^6.4.8" - prop-types "^15.8.1" - "@mui/private-theming@^7.0.1": version "7.0.1" resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-7.0.1.tgz#677405caac853bcd306325d8fb91f3ff26b7e00a" @@ -2456,18 +2417,6 @@ "@mui/utils" "^7.0.1" prop-types "^15.8.1" -"@mui/styled-engine@^6.4.8": - version "6.4.8" - resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-6.4.8.tgz#a454115ab349cf729510c107f2564fd1e23c385a" - integrity sha512-oyjx1b1FvUCI85ZMO4trrjNxGm90eLN3Ohy0AP/SqK5gWvRQg1677UjNf7t6iETOKAleHctJjuq0B3aXO2gtmw== - dependencies: - "@babel/runtime" "^7.26.0" - "@emotion/cache" "^11.13.5" - "@emotion/serialize" "^1.3.3" - "@emotion/sheet" "^1.4.0" - csstype "^3.1.3" - prop-types "^15.8.1" - "@mui/styled-engine@^7.0.1": version "7.0.1" resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-7.0.1.tgz#589bff7e01c49e049a8c60e3da492f1b68e393da" @@ -2480,20 +2429,6 @@ csstype "^3.1.3" prop-types "^15.8.1" -"@mui/system@^6.4.8": - version "6.4.8" - resolved "https://registry.yarnpkg.com/@mui/system/-/system-6.4.8.tgz#e4ecb65677c2268959effad1f4f885d9b836c09b" - integrity sha512-gV7iBHoqlsIenU2BP0wq14BefRoZcASZ/4LeyuQglayBl+DfLX5rEd3EYR3J409V2EZpR0NOM1LATAGlNk2cyA== - dependencies: - "@babel/runtime" "^7.26.0" - "@mui/private-theming" "^6.4.8" - "@mui/styled-engine" "^6.4.8" - "@mui/types" "~7.2.24" - "@mui/utils" "^6.4.8" - clsx "^2.1.1" - csstype "^3.1.3" - prop-types "^15.8.1" - "@mui/system@^7.0.1": version "7.0.1" resolved "https://registry.yarnpkg.com/@mui/system/-/system-7.0.1.tgz#d37aedbfa2b47ba452203b2d2e59ff508900b4ae" @@ -2515,23 +2450,6 @@ dependencies: "@babel/runtime" "^7.26.10" -"@mui/types@~7.2.24": - version "7.2.24" - resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.24.tgz#5eff63129d9c29d80bbf2d2e561bd0690314dec2" - integrity sha512-3c8tRt/CbWZ+pEg7QpSwbdxOk36EfmhbKf6AGZsD1EcLDLTSZoxxJ86FVtcjxvjuhdyBiWKSTGZFaXCnidO2kw== - -"@mui/utils@^6.4.8": - version "6.4.8" - resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-6.4.8.tgz#f80ee0c0ac47f1cd47c2031a5fb87243322b6bf3" - integrity sha512-C86gfiZ5BfZ51KqzqoHi1WuuM2QdSKoFhbkZeAfQRB+jCc4YNhhj11UXFVMMsqBgZ+Zy8IHNJW3M9Wj/LOwRXQ== - dependencies: - "@babel/runtime" "^7.26.0" - "@mui/types" "~7.2.24" - "@types/prop-types" "^15.7.14" - clsx "^2.1.1" - prop-types "^15.8.1" - react-is "^19.0.0" - "@mui/utils@^7.0.1": version "7.0.1" resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-7.0.1.tgz#d0fed4d023d0831ea9b817c149aa7c4291438a36" @@ -11800,11 +11718,6 @@ react-transition-group@^4.4.5: loose-envify "^1.4.0" prop-types "^15.6.2" -react@^19.0.0: - version "19.0.0" - resolved "https://registry.yarnpkg.com/react/-/react-19.0.0.tgz#6e1969251b9f108870aa4bff37a0ce9ddfaaabdd" - integrity sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ== - react@^19.1.0: version "19.1.0" resolved "https://registry.yarnpkg.com/react/-/react-19.1.0.tgz#926864b6c48da7627f004795d6cce50e90793b75" @@ -13510,18 +13423,6 @@ ts-node@^10.9.2: v8-compile-cache-lib "^3.0.1" yn "3.1.1" -tsc-alias@^1.8.11: - version "1.8.11" - resolved "https://registry.yarnpkg.com/tsc-alias/-/tsc-alias-1.8.11.tgz#acd3f7680a69ff82bed2df2ef26072e445c15470" - integrity sha512-2DuEQ58A9Rj2NE2c1+/qaGKlshni9MCK95MJzRGhQG0CYLw0bE/ACgbhhTSf/p1svLelwqafOd8stQate2bYbg== - dependencies: - chokidar "^3.5.3" - commander "^9.0.0" - globby "^11.0.4" - mylas "^2.1.9" - normalize-path "^3.0.0" - plimit-lit "^1.2.6" - tsc-alias@^1.8.13: version "1.8.13" resolved "https://registry.yarnpkg.com/tsc-alias/-/tsc-alias-1.8.13.tgz#9445ed80669e13a95facbca197fb6671a54a5731" From b1e70a72267a7287c85deea146470f9c8b4aca8e Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 30 Mar 2025 22:32:15 +0530 Subject: [PATCH 06/13] update eslint config update eslint config --- apps/express-server/eslint.config.mjs | 2 ++ apps/nestjs-server/eslint.config.mjs | 3 ++- apps/next-client/eslint.config.mjs | 6 +++++- apps/react-client/eslint.config.mjs | 2 ++ packages/core-lib/eslint.config.mjs | 2 ++ 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/apps/express-server/eslint.config.mjs b/apps/express-server/eslint.config.mjs index 3cb03bc..99d0585 100644 --- a/apps/express-server/eslint.config.mjs +++ b/apps/express-server/eslint.config.mjs @@ -1,5 +1,7 @@ import jsConfig from '@nish1896/eslint-flat-config/js'; +import tsConfig from '@nish1896/eslint-flat-config/ts'; export default [ ...jsConfig, + ...tsConfig, ]; diff --git a/apps/nestjs-server/eslint.config.mjs b/apps/nestjs-server/eslint.config.mjs index f5618ba..3982203 100644 --- a/apps/nestjs-server/eslint.config.mjs +++ b/apps/nestjs-server/eslint.config.mjs @@ -1,9 +1,9 @@ -// @ts-check import eslint from '@eslint/js'; import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; import globals from 'globals'; import tseslint from 'typescript-eslint'; import jsConfig from '@nish1896/eslint-flat-config/js'; +import tsConfig from '@nish1896/eslint-flat-config/ts'; export default tseslint.config( { @@ -12,6 +12,7 @@ export default tseslint.config( eslint.configs.recommended, ...tseslint.configs.recommendedTypeChecked, ...jsConfig, + ...tsConfig, eslintPluginPrettierRecommended, { languageOptions: { diff --git a/apps/next-client/eslint.config.mjs b/apps/next-client/eslint.config.mjs index 2ef8c1e..4db1d5f 100644 --- a/apps/next-client/eslint.config.mjs +++ b/apps/next-client/eslint.config.mjs @@ -1,6 +1,8 @@ import { dirname } from 'path'; import { fileURLToPath } from 'url'; import { FlatCompat } from '@eslint/eslintrc'; +import jsConfig from '@nish1896/eslint-flat-config/js'; +import nextTsConfig from '@nish1896/eslint-flat-config/next-ts'; import nextConfig from '@nish1896/eslint-flat-config/next'; const __filename = fileURLToPath(import.meta.url); @@ -11,8 +13,10 @@ const compat = new FlatCompat({ }); const eslintConfig = [ - ...nextConfig, ...compat.extends('next/core-web-vitals', 'next/typescript'), + ...jsConfig, + ...nextTsConfig, + ...nextConfig, { /** * Somehow loading this rule is causing issues, when using diff --git a/apps/react-client/eslint.config.mjs b/apps/react-client/eslint.config.mjs index 9cf5b98..9f1a787 100644 --- a/apps/react-client/eslint.config.mjs +++ b/apps/react-client/eslint.config.mjs @@ -1,9 +1,11 @@ import jsConfig from '@nish1896/eslint-flat-config/js'; +import tsConfig from '@nish1896/eslint-flat-config/ts'; import jsxConfig from '@nish1896/eslint-flat-config/jsx'; /** @type {import('eslint').Linter.Config[]} */ export default [ ...jsConfig, + ...tsConfig, ...jsxConfig, { rules: {}, diff --git a/packages/core-lib/eslint.config.mjs b/packages/core-lib/eslint.config.mjs index 9cf5b98..9f1a787 100644 --- a/packages/core-lib/eslint.config.mjs +++ b/packages/core-lib/eslint.config.mjs @@ -1,9 +1,11 @@ import jsConfig from '@nish1896/eslint-flat-config/js'; +import tsConfig from '@nish1896/eslint-flat-config/ts'; import jsxConfig from '@nish1896/eslint-flat-config/jsx'; /** @type {import('eslint').Linter.Config[]} */ export default [ ...jsConfig, + ...tsConfig, ...jsxConfig, { rules: {}, From dc0932b4387d41e82540201727af076c9dcc4a88 Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 30 Mar 2025 22:37:02 +0530 Subject: [PATCH 07/13] lint react client --- apps/react-client/src/assets/styles/theme.ts | 2 +- apps/react-client/src/redux-store/hooks.ts | 6 +++++- apps/react-client/src/redux-store/index.ts | 2 +- .../react-client/src/redux-store/reducers/settings.slice.ts | 2 +- apps/react-client/src/redux-store/types.ts | 2 +- apps/react-client/src/routes/index.tsx | 4 ++-- 6 files changed, 11 insertions(+), 7 deletions(-) diff --git a/apps/react-client/src/assets/styles/theme.ts b/apps/react-client/src/assets/styles/theme.ts index 498244f..aa883f3 100644 --- a/apps/react-client/src/assets/styles/theme.ts +++ b/apps/react-client/src/assets/styles/theme.ts @@ -1,4 +1,4 @@ -import { PaletteMode } from '@mui/material'; +import type { PaletteMode } from '@mui/material'; import { LightThemePalette, DarkThemePalette } from './palette'; const AppTheme = (mode: PaletteMode) => ({ diff --git a/apps/react-client/src/redux-store/hooks.ts b/apps/react-client/src/redux-store/hooks.ts index e4764fd..7a71c51 100644 --- a/apps/react-client/src/redux-store/hooks.ts +++ b/apps/react-client/src/redux-store/hooks.ts @@ -1,4 +1,8 @@ -import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'; +import { + useDispatch, + useSelector, + type TypedUseSelectorHook +} from 'react-redux'; import type { RootState, AppDispatch } from './types'; /* Use throughout your app instead of plain `useDispatch` and `useSelector`, diff --git a/apps/react-client/src/redux-store/index.ts b/apps/react-client/src/redux-store/index.ts index 2bb2180..6efa7c1 100644 --- a/apps/react-client/src/redux-store/index.ts +++ b/apps/react-client/src/redux-store/index.ts @@ -2,4 +2,4 @@ export * from './hooks'; export * from './reducers'; export * from './services'; export * from './store'; -export * from './types'; +export type * from './types'; diff --git a/apps/react-client/src/redux-store/reducers/settings.slice.ts b/apps/react-client/src/redux-store/reducers/settings.slice.ts index 5f7de43..552e124 100644 --- a/apps/react-client/src/redux-store/reducers/settings.slice.ts +++ b/apps/react-client/src/redux-store/reducers/settings.slice.ts @@ -1,6 +1,6 @@ import { createSlice } from '@reduxjs/toolkit'; import type { RootState } from 'redux-store'; -import { PaletteMode } from '@mui/material'; +import type { PaletteMode } from '@mui/material'; interface SettingsConfig { mode: PaletteMode; diff --git a/apps/react-client/src/redux-store/types.ts b/apps/react-client/src/redux-store/types.ts index ee00638..b1aeb65 100644 --- a/apps/react-client/src/redux-store/types.ts +++ b/apps/react-client/src/redux-store/types.ts @@ -1,4 +1,4 @@ -import { store } from './store'; +import type { store } from './store'; export type RootState = ReturnType; export type AppDispatch = typeof store.dispatch; diff --git a/apps/react-client/src/routes/index.tsx b/apps/react-client/src/routes/index.tsx index a4973f7..3580ea0 100644 --- a/apps/react-client/src/routes/index.tsx +++ b/apps/react-client/src/routes/index.tsx @@ -1,11 +1,11 @@ -import { FC, lazy } from 'react'; +import { lazy } from 'react'; import { BrowserRouter, Route, Routes } from 'react-router'; import RouteNames from './route-names'; import HomePage from 'pages/Home'; const Page404 = lazy(() => import('pages/Page404')); -const Routing: FC = () => ( +const Routing = () => ( } /> From cf49df946f3ca01c8c6f4749be17ca228607ec82 Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 30 Mar 2025 23:18:49 +0530 Subject: [PATCH 08/13] lint nestjs-server --- apps/nestjs-server/eslint.config.mjs | 3 ++- apps/nestjs-server/src/main.ts | 2 +- apps/nestjs-server/src/routes/home/controller.spec.ts | 2 +- apps/nestjs-server/test/app.e2e-spec.ts | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/nestjs-server/eslint.config.mjs b/apps/nestjs-server/eslint.config.mjs index 3982203..d8240eb 100644 --- a/apps/nestjs-server/eslint.config.mjs +++ b/apps/nestjs-server/eslint.config.mjs @@ -32,7 +32,8 @@ export default tseslint.config( rules: { '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-floating-promises': 'warn', - '@typescript-eslint/no-unsafe-argument': 'warn' + '@typescript-eslint/no-unsafe-argument': 'warn', + '@stylistic/plus/curly-newline': ['warn', { consistent: true }], }, }, ); diff --git a/apps/nestjs-server/src/main.ts b/apps/nestjs-server/src/main.ts index d52690d..e925cbb 100644 --- a/apps/nestjs-server/src/main.ts +++ b/apps/nestjs-server/src/main.ts @@ -1,7 +1,7 @@ import { NestFactory } from '@nestjs/core'; import { FastifyAdapter, - NestFastifyApplication, + type NestFastifyApplication, } from '@nestjs/platform-fastify'; import { AppModule } from './app.module'; diff --git a/apps/nestjs-server/src/routes/home/controller.spec.ts b/apps/nestjs-server/src/routes/home/controller.spec.ts index f22b783..c690a8c 100644 --- a/apps/nestjs-server/src/routes/home/controller.spec.ts +++ b/apps/nestjs-server/src/routes/home/controller.spec.ts @@ -1,4 +1,4 @@ -import { Test, TestingModule } from '@nestjs/testing'; +import { Test, type TestingModule } from '@nestjs/testing'; import { HomeController } from './controller'; import { HomeService } from './service'; diff --git a/apps/nestjs-server/test/app.e2e-spec.ts b/apps/nestjs-server/test/app.e2e-spec.ts index 8d78913..bd3b827 100644 --- a/apps/nestjs-server/test/app.e2e-spec.ts +++ b/apps/nestjs-server/test/app.e2e-spec.ts @@ -1,7 +1,7 @@ -import { INestApplication } from '@nestjs/common'; +import type { INestApplication } from '@nestjs/common'; import { Test } from '@nestjs/testing'; import * as request from 'supertest'; -import { App } from 'supertest/types'; +import type { App } from 'supertest/types'; import { AppModule } from './../src/app.module'; describe('AppController (e2e)', () => { From c425c0c1ec5d762ce7d6ab5b09c953ac46106bf3 Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 30 Mar 2025 23:25:00 +0530 Subject: [PATCH 09/13] update pre-commit hook --- .husky/pre-commit | 3 ++- package.json | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d0a7784..eee479f 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,2 @@ -npx lint-staged \ No newline at end of file +npx lint-staged +turbo lint \ No newline at end of file diff --git a/package.json b/package.json index fbca14e..206e84a 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,6 @@ "turbo": "^2.4.4" }, "lint-staged": { - "*.{js,jsx,ts,tsx}": [ - "eslint --fix" - ], "*.{json,html,css,sass,scss}": [ "prettier --write --ignore-unknown" ] From 88d84389716f8b73141aaef479a2ceb74846b215 Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 30 Mar 2025 23:37:05 +0530 Subject: [PATCH 10/13] lint express-server --- apps/express-server/src/app.ts | 6 +++++- apps/express-server/src/middleware/guard.ts | 2 +- apps/express-server/src/middleware/request-logger.ts | 6 ++++-- apps/express-server/src/middleware/winston-logger.ts | 6 ++++-- apps/express-server/src/routes/auth/controller.ts | 4 ++-- apps/express-server/src/routes/auth/service.ts | 2 +- 6 files changed, 17 insertions(+), 9 deletions(-) diff --git a/apps/express-server/src/app.ts b/apps/express-server/src/app.ts index 052c77e..1af08d5 100644 --- a/apps/express-server/src/app.ts +++ b/apps/express-server/src/app.ts @@ -1,4 +1,8 @@ -import express, { Express, Request, Response } from 'express'; +import express, { + type Express, + type Request, + type Response +} from 'express'; import cors from 'cors'; import { ENV_VARS } from '@/app-constants'; import { requestLogger } from '@/middleware'; diff --git a/apps/express-server/src/middleware/guard.ts b/apps/express-server/src/middleware/guard.ts index 1d04938..864a2a1 100644 --- a/apps/express-server/src/middleware/guard.ts +++ b/apps/express-server/src/middleware/guard.ts @@ -1,4 +1,4 @@ -import { Request, Response, NextFunction } from 'express'; +import type { Request, Response, NextFunction } from 'express'; import { winstonLogger } from './winston-logger'; export function validateAuthHeader( diff --git a/apps/express-server/src/middleware/request-logger.ts b/apps/express-server/src/middleware/request-logger.ts index dec7777..5c91ea7 100644 --- a/apps/express-server/src/middleware/request-logger.ts +++ b/apps/express-server/src/middleware/request-logger.ts @@ -1,4 +1,4 @@ -import { Request, Response, NextFunction } from 'express'; +import type { Request, Response, NextFunction } from 'express'; import { winstonLogger } from './winston-logger'; export function requestLogger( @@ -22,7 +22,9 @@ export function printSuccessMsg(msg: string): void { } export function printError(error: unknown): void { - winstonLogger.error(`⚠ ERROR - ${error}`); + winstonLogger.error( + `⚠ ERROR - ${error instanceof Error ? error.message : JSON.stringify(error)}` + ); } export function errorLogger(res: Response, error: unknown) { diff --git a/apps/express-server/src/middleware/winston-logger.ts b/apps/express-server/src/middleware/winston-logger.ts index 6cd754c..1bdc736 100644 --- a/apps/express-server/src/middleware/winston-logger.ts +++ b/apps/express-server/src/middleware/winston-logger.ts @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/restrict-template-expressions */ + import { createLogger, addColors, format, transports } from 'winston'; import { ENV_VARS } from '@/app-constants'; @@ -23,7 +25,7 @@ const customLevels = { } }; -const myFormat = printf( +const logFormat = printf( ({ level, message, timestamp }) => `[ ${level} ]:: ${timestamp} - ${message}` ); @@ -47,7 +49,7 @@ const winstonLogger = createLogger({ /* Aligns in a tabular format */ // format.align(), - myFormat + logFormat ), // defaultMeta: { service: 'log-service' }, transports: [ diff --git a/apps/express-server/src/routes/auth/controller.ts b/apps/express-server/src/routes/auth/controller.ts index fcb5a6d..3b6ce52 100644 --- a/apps/express-server/src/routes/auth/controller.ts +++ b/apps/express-server/src/routes/auth/controller.ts @@ -1,6 +1,6 @@ -import { Router, Request, Response } from 'express'; +import { Router, type Request, type Response } from 'express'; import authService from './service'; -import * as AuthTypes from './types'; +import type * as AuthTypes from './types'; const authRouter = Router(); diff --git a/apps/express-server/src/routes/auth/service.ts b/apps/express-server/src/routes/auth/service.ts index cfbc97d..0578315 100644 --- a/apps/express-server/src/routes/auth/service.ts +++ b/apps/express-server/src/routes/auth/service.ts @@ -1,4 +1,4 @@ -import { Response } from 'express'; +import type { Response } from 'express'; class AuthService { loginUser(res: Response, email: string, password: string) { From a9b27909fb573cf082074715e56af9b39a84644a Mon Sep 17 00:00:00 2001 From: Nishant Date: Mon, 31 Mar 2025 01:21:20 +0530 Subject: [PATCH 11/13] lint next-client --- apps/next-client/eslint.config.mjs | 13 ++----------- apps/next-client/src/app/layout.tsx | 2 +- apps/next-client/src/theme/index.tsx | 6 +++--- apps/next-client/src/theme/theme.ts | 2 +- apps/next-client/src/types/index.ts | 2 +- apps/next-client/tsconfig.json | 11 +++++++++-- 6 files changed, 17 insertions(+), 19 deletions(-) diff --git a/apps/next-client/eslint.config.mjs b/apps/next-client/eslint.config.mjs index 4db1d5f..8ffd540 100644 --- a/apps/next-client/eslint.config.mjs +++ b/apps/next-client/eslint.config.mjs @@ -13,19 +13,10 @@ const compat = new FlatCompat({ }); const eslintConfig = [ - ...compat.extends('next/core-web-vitals', 'next/typescript'), ...jsConfig, - ...nextTsConfig, ...nextConfig, - { - /** - * Somehow loading this rule is causing issues, when using - * NextApp in monorepo, thus disabling this for now. - */ - rules: { - '@typescript-eslint/no-empty-function': 'off' - } - } + ...nextTsConfig, + ...compat.extends('next/core-web-vitals', 'next/typescript'), ]; export default eslintConfig; diff --git a/apps/next-client/src/app/layout.tsx b/apps/next-client/src/app/layout.tsx index d000ca8..617cc12 100644 --- a/apps/next-client/src/app/layout.tsx +++ b/apps/next-client/src/app/layout.tsx @@ -3,7 +3,7 @@ import { Roboto } from 'next/font/google'; import { AppRouterCacheProvider } from '@mui/material-nextjs/v14-appRouter'; import { AppBar } from '@/components'; import { AppThemeProvider } from '@/theme'; -import { LayoutProps } from '@/types'; +import type { LayoutProps } from '@/types'; import './globals.css'; const roboto = Roboto({ diff --git a/apps/next-client/src/theme/index.tsx b/apps/next-client/src/theme/index.tsx index 140e75c..b25e7b7 100644 --- a/apps/next-client/src/theme/index.tsx +++ b/apps/next-client/src/theme/index.tsx @@ -1,10 +1,10 @@ 'use client'; import { createContext, useContext, useEffect, useMemo, useState } from 'react'; -import { PaletteMode, ThemeProvider, createTheme } from '@mui/material/styles'; +import { ThemeProvider, createTheme, type PaletteMode } from '@mui/material/styles'; import useMediaQuery from '@mui/material/useMediaQuery'; import CssBaseline from '@mui/material/CssBaseline'; -import { LayoutProps } from '@/types'; +import type { LayoutProps } from '@/types'; import { getTheme } from './theme'; interface ThemeContextProps { @@ -14,7 +14,7 @@ interface ThemeContextProps { const ThemeContext = createContext({ currentTheme: 'light', - toggleTheme: () => {} + toggleTheme: () => { /* noop */ }, }); export const useThemeContext = () => useContext(ThemeContext); diff --git a/apps/next-client/src/theme/theme.ts b/apps/next-client/src/theme/theme.ts index dae0cdc..84a2892 100644 --- a/apps/next-client/src/theme/theme.ts +++ b/apps/next-client/src/theme/theme.ts @@ -1,7 +1,7 @@ 'use client'; import { Roboto } from 'next/font/google'; -import { PaletteMode } from '@mui/material/styles'; +import type { PaletteMode } from '@mui/material/styles'; import { LightThemePalette, DarkThemePalette } from './palette'; const roboto = Roboto({ diff --git a/apps/next-client/src/types/index.ts b/apps/next-client/src/types/index.ts index d0b9323..00f66a7 100644 --- a/apps/next-client/src/types/index.ts +++ b/apps/next-client/src/types/index.ts @@ -1 +1 @@ -export * from './common'; +export type * from './common'; diff --git a/apps/next-client/tsconfig.json b/apps/next-client/tsconfig.json index d8f0b73..7b5a2ad 100644 --- a/apps/next-client/tsconfig.json +++ b/apps/next-client/tsconfig.json @@ -22,6 +22,13 @@ "@/*": ["./src/*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts" + ], + "exclude": [ + "node_modules" + ] } From 6c35dc384bb5f2af99998f763ce240d482e39352 Mon Sep 17 00:00:00 2001 From: Nishant Date: Mon, 31 Mar 2025 02:20:55 +0530 Subject: [PATCH 12/13] update flat-config --- apps/express-server/package.json | 2 +- apps/nestjs-server/package.json | 2 +- apps/next-client/package.json | 2 +- apps/react-client/package.json | 2 +- packages/core-lib/package.json | 2 +- yarn.lock | 8 ++++---- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/express-server/package.json b/apps/express-server/package.json index bd071cd..5872b1d 100644 --- a/apps/express-server/package.json +++ b/apps/express-server/package.json @@ -17,7 +17,7 @@ "winston": "3.17.0" }, "devDependencies": { - "@nish1896/eslint-flat-config": "^2.0.0", + "@nish1896/eslint-flat-config": "^2.0.1", "@types/cors": "^2.8.17", "@types/node": "^22.13.14", "eslint": "^9.23.0", diff --git a/apps/nestjs-server/package.json b/apps/nestjs-server/package.json index 99b95b0..bf6451b 100644 --- a/apps/nestjs-server/package.json +++ b/apps/nestjs-server/package.json @@ -31,7 +31,7 @@ "@nestjs/cli": "^11.0.5", "@nestjs/schematics": "^11.0.2", "@nestjs/testing": "^11.0.12", - "@nish1896/eslint-flat-config": "^2.0.0", + "@nish1896/eslint-flat-config": "^2.0.1", "@swc/cli": "^0.6.0", "@swc/core": "^1.11.13", "@types/express": "^5.0.1", diff --git a/apps/next-client/package.json b/apps/next-client/package.json index 46acbe0..37d2dff 100644 --- a/apps/next-client/package.json +++ b/apps/next-client/package.json @@ -23,7 +23,7 @@ }, "devDependencies": { "@eslint/eslintrc": "^3.3.1", - "@nish1896/eslint-flat-config": "^2.0.0", + "@nish1896/eslint-flat-config": "^2.0.1", "@types/node": "^22.13.14", "@types/react": "^19.0.12", "@types/react-dom": "^19.0.4", diff --git a/apps/react-client/package.json b/apps/react-client/package.json index 50e7b48..89991a5 100644 --- a/apps/react-client/package.json +++ b/apps/react-client/package.json @@ -29,7 +29,7 @@ }, "devDependencies": { "@eslint/js": "^9.23.0", - "@nish1896/eslint-flat-config": "^2.0.0", + "@nish1896/eslint-flat-config": "^2.0.1", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", diff --git a/packages/core-lib/package.json b/packages/core-lib/package.json index cc1c7ca..3fdce0b 100644 --- a/packages/core-lib/package.json +++ b/packages/core-lib/package.json @@ -14,7 +14,7 @@ "react": "^19.1.0" }, "devDependencies": { - "@nish1896/eslint-flat-config": "^2.0.0", + "@nish1896/eslint-flat-config": "^2.0.1", "eslint": "^9.23.0", "tsc-alias": "^1.8.13", "typescript": "^5.8.2" diff --git a/yarn.lock b/yarn.lock index dba7072..45f9007 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2721,10 +2721,10 @@ dependencies: eslint-scope "5.1.1" -"@nish1896/eslint-flat-config@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@nish1896/eslint-flat-config/-/eslint-flat-config-2.0.0.tgz#d55c1bbd5d6d4f76894f41c09a0d7f905f2d0a80" - integrity sha512-0yTLUnO/xtkDM5rnKkdxT9gj+EMegB0x0y8ccpzcoWHJ4FNYo46tjZfXBbUL60oaxqAhgJBypExJSSh0NRwykQ== +"@nish1896/eslint-flat-config@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@nish1896/eslint-flat-config/-/eslint-flat-config-2.0.1.tgz#f6354e71debef37ea4fb1d1138e6b20d7e2ae284" + integrity sha512-DwWNcjOuI34v4zPgHkf13tUOoC0HY/xz6md+bdqV3JyUJzG+NJD9fb4+4McPJsC969d4rCl92LQ/mdqiCKIb5g== dependencies: "@stylistic/eslint-plugin-js" "^4.2.0" "@stylistic/eslint-plugin-jsx" "^4.2.0" From 756896c26eae9372dd27a2a21871d62e5c9eecb6 Mon Sep 17 00:00:00 2001 From: Nishant Date: Mon, 31 Mar 2025 03:01:32 +0530 Subject: [PATCH 13/13] upgrade flat-config --- .husky/pre-commit | 1 - apps/express-server/package.json | 2 +- apps/nestjs-server/package.json | 2 +- apps/next-client/package.json | 2 +- apps/react-client/package.json | 2 +- packages/core-lib/package.json | 2 +- yarn.lock | 8 ++++---- 7 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index eee479f..2312dc5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1 @@ npx lint-staged -turbo lint \ No newline at end of file diff --git a/apps/express-server/package.json b/apps/express-server/package.json index 5872b1d..aa9259a 100644 --- a/apps/express-server/package.json +++ b/apps/express-server/package.json @@ -17,7 +17,7 @@ "winston": "3.17.0" }, "devDependencies": { - "@nish1896/eslint-flat-config": "^2.0.1", + "@nish1896/eslint-flat-config": "^2.0.2", "@types/cors": "^2.8.17", "@types/node": "^22.13.14", "eslint": "^9.23.0", diff --git a/apps/nestjs-server/package.json b/apps/nestjs-server/package.json index bf6451b..3ae951d 100644 --- a/apps/nestjs-server/package.json +++ b/apps/nestjs-server/package.json @@ -31,7 +31,7 @@ "@nestjs/cli": "^11.0.5", "@nestjs/schematics": "^11.0.2", "@nestjs/testing": "^11.0.12", - "@nish1896/eslint-flat-config": "^2.0.1", + "@nish1896/eslint-flat-config": "^2.0.2", "@swc/cli": "^0.6.0", "@swc/core": "^1.11.13", "@types/express": "^5.0.1", diff --git a/apps/next-client/package.json b/apps/next-client/package.json index 37d2dff..bd79abf 100644 --- a/apps/next-client/package.json +++ b/apps/next-client/package.json @@ -23,7 +23,7 @@ }, "devDependencies": { "@eslint/eslintrc": "^3.3.1", - "@nish1896/eslint-flat-config": "^2.0.1", + "@nish1896/eslint-flat-config": "^2.0.2", "@types/node": "^22.13.14", "@types/react": "^19.0.12", "@types/react-dom": "^19.0.4", diff --git a/apps/react-client/package.json b/apps/react-client/package.json index 89991a5..e4a4638 100644 --- a/apps/react-client/package.json +++ b/apps/react-client/package.json @@ -29,7 +29,7 @@ }, "devDependencies": { "@eslint/js": "^9.23.0", - "@nish1896/eslint-flat-config": "^2.0.1", + "@nish1896/eslint-flat-config": "^2.0.2", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", diff --git a/packages/core-lib/package.json b/packages/core-lib/package.json index 3fdce0b..0cb13e1 100644 --- a/packages/core-lib/package.json +++ b/packages/core-lib/package.json @@ -14,7 +14,7 @@ "react": "^19.1.0" }, "devDependencies": { - "@nish1896/eslint-flat-config": "^2.0.1", + "@nish1896/eslint-flat-config": "^2.0.2", "eslint": "^9.23.0", "tsc-alias": "^1.8.13", "typescript": "^5.8.2" diff --git a/yarn.lock b/yarn.lock index 45f9007..09ffbb9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2721,10 +2721,10 @@ dependencies: eslint-scope "5.1.1" -"@nish1896/eslint-flat-config@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@nish1896/eslint-flat-config/-/eslint-flat-config-2.0.1.tgz#f6354e71debef37ea4fb1d1138e6b20d7e2ae284" - integrity sha512-DwWNcjOuI34v4zPgHkf13tUOoC0HY/xz6md+bdqV3JyUJzG+NJD9fb4+4McPJsC969d4rCl92LQ/mdqiCKIb5g== +"@nish1896/eslint-flat-config@^2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@nish1896/eslint-flat-config/-/eslint-flat-config-2.0.2.tgz#9e8cfdda505287a388f3fe8d048044e802748504" + integrity sha512-+I6QaUMipAntQFU7x9ecEt0TEX+6AmniqwUaRszEaxVyBv3qL63asxUpcVpQoHRhoIk62hyi9DZXrpoHok4uWg== dependencies: "@stylistic/eslint-plugin-js" "^4.2.0" "@stylistic/eslint-plugin-jsx" "^4.2.0"