feat: upgrade all packages

This commit is contained in:
Nevo David 2024-03-10 14:14:34 +07:00
parent 5efd8568ca
commit 38a0eed2c0
5 changed files with 1008 additions and 1010 deletions

43
migrations.json Normal file
View File

@ -0,0 +1,43 @@
{
"migrations": [
{
"cli": "nx",
"version": "17.3.0-beta.6",
"description": "Updates the nx wrapper.",
"implementation": "./src/migrations/update-17-3-0/update-nxw",
"package": "nx",
"name": "17.3.0-update-nx-wrapper"
},
{
"cli": "nx",
"version": "18.0.0-beta.2",
"description": "Updates .env to disabled adding plugins when generating projects in an existing Nx workspace",
"implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces",
"x-repair-skip": true,
"package": "nx",
"name": "18.0.0-disable-adding-plugins-for-existing-workspaces"
},
{
"cli": "nx",
"version": "18.0.0-beta.0",
"description": "Add NX_MF_DEV_SERVER_STATIC_REMOTES to inputs for task hashing when '@nx/webpack:webpack' is used for Module Federation.",
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults",
"package": "@nx/react",
"name": "add-module-federation-env-var-to-target-defaults"
},
{
"version": "17.2.9",
"description": "Move executor options to target defaults",
"implementation": "./src/migrations/update-17-2-9/move-options-to-target-defaults",
"package": "@nx/eslint",
"name": "move-options-to-target-defaults"
},
{
"version": "17.3.0-beta.0",
"description": "Move the vitest coverage thresholds in their own object if exists and add reporters.",
"implementation": "./src/migrations/update-17-3-0/vitest-coverage-and-reporters",
"package": "@nx/vite",
"name": "vitest-coverage-and-reporters"
}
]
}

13
nx.json
View File

@ -15,10 +15,6 @@
"{workspaceRoot}/eslint.config.js"
]
},
"@nx/vite:test": {
"cache": true,
"inputs": ["default", "^default"]
},
"@nx/jest:jest": {
"cache": true,
"inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"],
@ -31,6 +27,15 @@
"codeCoverage": true
}
}
},
"@nx/eslint:lint": {
"cache": true,
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.json",
"{workspaceRoot}/.eslintignore",
"{workspaceRoot}/eslint.config.js"
]
}
},
"generators": {

1911
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -15,6 +15,7 @@
"@casl/ability": "^6.5.0",
"@hookform/resolvers": "^3.3.4",
"@mantine/core": "^5.10.5",
"@mantine/hooks": "^5.10.5",
"@mantine/modals": "^5.10.5",
"@nestjs/cache-manager": "^2.2.1",
"@nestjs/common": "^10.0.2",
@ -37,7 +38,7 @@
"@uidotdev/usehooks": "^2.4.1",
"@uiw/react-md-editor": "^4.0.3",
"@virtual-grid/react": "^2.0.2",
"axios": "^1.0.0",
"axios": "1.6.7",
"bcrypt": "^5.1.1",
"bufferutil": "^4.0.8",
"bullmq": "^5.1.5",
@ -56,7 +57,7 @@
"mime-types": "^2.1.35",
"multer": "^1.4.5-lts.1",
"nestjs-command": "^3.1.4",
"next": "13.4.4",
"next": "14.0.4",
"prisma-paginate": "^5.2.1",
"react": "18.2.0",
"react-dnd": "^16.0.1",
@ -78,7 +79,7 @@
"sharp": "^0.33.2",
"simple-statistics": "^7.8.3",
"stripe": "^14.14.0",
"sweetalert2": "^11.10.5",
"sweetalert2": "^11.6.13",
"swr": "^2.2.5",
"tslib": "^2.3.0",
"twitter-api-v2": "^1.16.0",
@ -89,35 +90,35 @@
"devDependencies": {
"@nestjs/schematics": "^10.0.1",
"@nestjs/testing": "^10.0.2",
"@nx/eslint": "^17.2.8",
"@nx/eslint-plugin": "17.2.8",
"@nx/jest": "17.2.8",
"@nx/js": "17.2.8",
"@nx/nest": "^17.2.8",
"@nx/next": "^17.2.8",
"@nx/node": "17.2.8",
"@nx/react": "17.2.8",
"@nx/vite": "17.2.8",
"@nx/webpack": "17.2.8",
"@nx/eslint": "18.0.8",
"@nx/eslint-plugin": "18.0.8",
"@nx/jest": "18.0.8",
"@nx/js": "18.0.8",
"@nx/nest": "18.0.8",
"@nx/next": "18.0.8",
"@nx/node": "18.0.8",
"@nx/react": "18.0.8",
"@nx/vite": "18.0.8",
"@nx/webpack": "18.0.8",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@svgr/webpack": "^8.0.1",
"@swc-node/register": "~1.6.7",
"@swc-node/register": "~1.8.0",
"@swc/cli": "~0.1.62",
"@swc/core": "~1.3.85",
"@testing-library/react": "14.0.0",
"@types/cookie-parser": "^1.4.6",
"@types/jest": "^29.4.0",
"@types/multer": "^1.4.11",
"@types/node": "18.16.9",
"@types/node": "18.19.22",
"@types/react": "18.2.33",
"@types/react-dom": "18.2.14",
"@types/uuid": "^9.0.8",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "~0.34.6",
"@vitest/ui": "~0.34.6",
"@vitest/coverage-v8": "1.3.1",
"@vitest/ui": "1.3.1",
"autoprefixer": "^10.4.17",
"babel-jest": "^29.4.1",
"eslint": "~8.48.0",
@ -131,7 +132,7 @@
"jest-environment-jsdom": "^29.4.1",
"jest-environment-node": "^29.4.1",
"jsdom": "~22.1.0",
"nx": "17.2.8",
"nx": "18.0.8",
"postcss": "^8.4.33",
"prettier": "^2.6.2",
"prisma": "^5.8.1",
@ -141,10 +142,10 @@
"tailwindcss": "^3.4.1",
"ts-jest": "^29.1.0",
"ts-node": "10.9.1",
"typescript": "~5.2.2",
"typescript": "5.3.3",
"url-loader": "^4.1.1",
"vite": "^5.0.0",
"vitest": "~0.34.6"
"vitest": "1.3.1"
},
"workspaces": [
"apps/*"

View File

@ -20,12 +20,12 @@
"baseUrl": ".",
"paths": {
"@gitroom/backend/*": ["apps/backend/src/*"],
"@gitroom/cron/*": ["apps/cron/src/*"],
"@gitroom/frontend/*": ["apps/frontend/src/*"],
"@gitroom/helpers/*": ["libraries/helpers/src/*"],
"@gitroom/nestjs-libraries/*": ["libraries/nestjs-libraries/src/*"],
"@gitroom/react/*": ["libraries/react-shared-libraries/src/*"],
"@gitroom/helpers/*": ["libraries/helpers/src/*"],
"@gitroom/workers/*": ["apps/workers/src/*"],
"@gitroom/cron/*": ["apps/cron/src/*"]
"@gitroom/workers/*": ["apps/workers/src/*"]
}
},
"exclude": ["node_modules", "tmp"]