Skip to content

Commit

Permalink
chore: upgrade nx to v19
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdo29 committed Aug 20, 2024
1 parent a791b8f commit d2537f8
Show file tree
Hide file tree
Showing 7 changed files with 582 additions and 664 deletions.
11 changes: 8 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
]
}
],

"@typescript-eslint/no-unused-vars": [
"error",
{
Expand All @@ -32,12 +31,18 @@
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
}
]
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ Thumbs.db

.env

.nx/cache
.nx/cache
.nx/workspace-data
33 changes: 0 additions & 33 deletions .nx/workspace-data/d/daemon.log

This file was deleted.

3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
/dist
/coverage

/.nx/cache
/.nx/cache
/.nx/workspace-data
34 changes: 25 additions & 9 deletions migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,35 @@
"migrations": [
{
"cli": "nx",
"version": "18.0.0-beta.2",
"description": "Updates nx.json 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,
"version": "19.2.0-beta.2",
"description": "Updates the default workspace data directory to .nx/workspace-data",
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory",
"package": "nx",
"name": "18.0.0-disable-adding-plugins-for-existing-workspaces"
"name": "19-2-0-move-graph-cache-directory"
},
{
"version": "18.1.0-beta.3",
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
"implementation": "./src/migrations/update-17-2-0/move-default-base",
"cli": "nx",
"version": "19.2.2-beta.0",
"description": "Updates the nx wrapper.",
"implementation": "./src/migrations/update-17-3-0/update-nxw",
"package": "nx",
"name": "move-default-base-to-nx-json-root"
"name": "19-2-2-update-nx-wrapper"
},
{
"version": "19.2.4-beta.0",
"description": "Set project name in nx.json explicitly",
"implementation": "./src/migrations/update-19-2-4/set-project-name",
"x-repair-skip": true,
"package": "nx",
"name": "19-2-4-set-project-name"
},
{
"cli": "nx",
"version": "19.1.0-beta.6",
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs",
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi",
"package": "@nx/eslint-plugin",
"name": "update-19-1-0-rename-no-extra-semi"
}
]
}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@
"@nestjs/platform-fastify": "10.0.3",
"@nestjs/schematics": "10.0.1",
"@nestjs/testing": "10.0.3",
"@nrwl/tao": "18.3.5",
"@nx/eslint-plugin": "18.3.5",
"@nx/jest": "18.3.5",
"@nx/js": "18.3.5",
"@nx/nest": "18.3.5",
"@nx/workspace": "18.3.5",
"@nrwl/tao": "19.6.1",
"@nx/eslint-plugin": "19.6.1",
"@nx/jest": "19.6.1",
"@nx/js": "19.6.1",
"@nx/nest": "19.6.1",
"@nx/workspace": "19.6.1",
"@sinclair/typebox": "^0.31.14",
"@swc/core": "1.3.99",
"@swc/core": "1.5.7",
"@swc/register": "^0.1.10",
"@types/jest": "29.4.4",
"@types/jest": "29.5.12",
"@types/node": "18.19.9",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"ajv": "^8.12.0",
"arktype": "1.0.21-alpha",
"dotenv": "8.2.0",
Expand All @@ -57,11 +57,11 @@
"fastify": "^4.18.0",
"fastify-multer": "^2.0.3",
"io-ts": "^2.2.20",
"jest": "29.4.3",
"jest-environment-jsdom": "28.1.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-environment-node": "^29.4.1",
"joi": "^17.10.1",
"nx": "18.3.5",
"nx": "19.6.1",
"ow": "^0.28.2",
"pactum": "^3.1.13",
"prettier": "^2.7.1",
Expand All @@ -73,10 +73,10 @@
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"tslib": "^2.4.0",
"typescript": "5.4.5",
"typescript": "5.5.4",
"valibot": "^0.15.0",
"yup": "^1.2.0",
"zod": "^3.22.2",
"@nx/eslint": "18.3.5"
"@nx/eslint": "19.6.1"
}
}
Loading

0 comments on commit d2537f8

Please sign in to comment.