Skip to content

Commit d37e955

Browse files
committed
chore(project): Bump NX from 18.3.5 to 19.4.2
1 parent 6224014 commit d37e955

File tree

6 files changed

+348
-299
lines changed

6 files changed

+348
-299
lines changed

.eslintrc.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,18 @@
2424
{
2525
"files": ["*.ts", "*.tsx"],
2626
"extends": ["plugin:@nx/typescript"],
27-
"rules": {}
27+
"rules": {
28+
"@typescript-eslint/no-extra-semi": "error",
29+
"no-extra-semi": "off"
30+
}
2831
},
2932
{
3033
"files": ["*.js", "*.jsx"],
3134
"extends": ["plugin:@nx/javascript"],
32-
"rules": {}
35+
"rules": {
36+
"@typescript-eslint/no-extra-semi": "error",
37+
"no-extra-semi": "off"
38+
}
3339
}
3440
]
3541
}

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
/dist
44
/coverage
55

6-
/.nx/cache
6+
/.nx/cache
7+
/.nx/workspace-data

migrations.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@
22
"migrations": [
33
{
44
"cli": "nx",
5-
"version": "18.0.0-beta.2",
6-
"description": "Updates nx.json to disabled adding plugins when generating projects in an existing Nx workspace",
7-
"implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces",
8-
"x-repair-skip": true,
5+
"version": "19.2.0-beta.2",
6+
"description": "Updates the default workspace data directory to .nx/workspace-data",
7+
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory",
98
"package": "nx",
10-
"name": "18.0.0-disable-adding-plugins-for-existing-workspaces"
9+
"name": "19-2-0-move-graph-cache-directory"
1110
},
1211
{
13-
"version": "18.1.0-beta.3",
14-
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
15-
"implementation": "./src/migrations/update-17-2-0/move-default-base",
12+
"cli": "nx",
13+
"version": "19.2.2-beta.0",
14+
"description": "Updates the nx wrapper.",
15+
"implementation": "./src/migrations/update-17-3-0/update-nxw",
1616
"package": "nx",
17-
"name": "move-default-base-to-nx-json-root"
17+
"name": "19-2-2-update-nx-wrapper"
1818
},
1919
{
20-
"cli": "nx",
21-
"version": "18.0.0-beta.0",
22-
"description": "Add NX_MF_DEV_SERVER_STATIC_REMOTES to inputs for task hashing when '@nx/webpack:webpack' is used for Module Federation.",
23-
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults",
24-
"package": "@nx/react",
25-
"name": "add-module-federation-env-var-to-target-defaults"
20+
"version": "19.2.4-beta.0",
21+
"description": "Set project name in nx.json explicitly",
22+
"implementation": "./src/migrations/update-19-2-4/set-project-name",
23+
"x-repair-skip": true,
24+
"package": "nx",
25+
"name": "19-2-4-set-project-name"
2626
},
2727
{
2828
"cli": "nx",
29-
"version": "18.1.1-beta.0",
30-
"description": "Ensure targetDefaults inputs for task hashing when '@nx/webpack:webpack' is used are correct for Module Federation.",
31-
"factory": "./src/migrations/update-18-1-1/fix-target-defaults-inputs",
32-
"package": "@nx/react",
33-
"name": "fix-target-defaults-for-webpack"
29+
"version": "19.1.0-beta.6",
30+
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs",
31+
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi",
32+
"package": "@nx/eslint-plugin",
33+
"name": "update-19-1-0-rename-no-extra-semi"
3434
}
3535
]
3636
}

nx.json

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,45 @@
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
33
"targetDefaults": {
44
"build": {
5-
"dependsOn": ["^build"],
6-
"inputs": ["production", "^production"],
5+
"dependsOn": [
6+
"^build"
7+
],
8+
"inputs": [
9+
"production",
10+
"^production"
11+
],
712
"cache": true
813
},
914
"test": {
10-
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
15+
"inputs": [
16+
"default",
17+
"^production",
18+
"{workspaceRoot}/jest.preset.js"
19+
],
1120
"cache": true
1221
},
1322
"@nx/vite:test": {
14-
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
23+
"inputs": [
24+
"default",
25+
"^production",
26+
"{workspaceRoot}/jest.preset.js"
27+
],
1528
"cache": true
1629
},
1730
"@nx/eslint:lint": {
18-
"inputs": ["default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/.eslintignore"],
31+
"inputs": [
32+
"default",
33+
"{workspaceRoot}/.eslintrc.json",
34+
"{workspaceRoot}/.eslintignore"
35+
],
1936
"cache": true
2037
}
2138
},
2239
"namedInputs": {
23-
"default": ["{projectRoot}/**/*", "sharedGlobals"],
40+
"default": [
41+
"{projectRoot}/**/*",
42+
"sharedGlobals"
43+
],
2444
"production": [
2545
"default",
2646
"!{projectRoot}/.eslintrc.json",
@@ -29,7 +49,9 @@
2949
"!{projectRoot}/jest.config.[jt]s",
3050
"!{projectRoot}/src/test-setup.[jt]s"
3151
],
32-
"sharedGlobals": ["{workspaceRoot}/babel.config.json"]
52+
"sharedGlobals": [
53+
"{workspaceRoot}/babel.config.json"
54+
]
3355
},
3456
"workspaceLayout": {
3557
"appsDir": "packages",

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,34 @@
1010
},
1111
"private": true,
1212
"dependencies": {
13-
"react": "18.2.0",
14-
"react-dom": "18.2.0",
13+
"react": "18.3.1",
14+
"react-dom": "18.3.1",
1515
"tslib": "^2.3.0"
1616
},
1717
"devDependencies": {
1818
"@babel/core": "^7.14.5",
1919
"@babel/preset-react": "^7.14.5",
2020
"@commitlint/cli": "^17.4.4",
2121
"@commitlint/config-conventional": "^17.4.4",
22-
"@nrwl/vite": "18.3.5",
23-
"@nx/eslint-plugin": "18.3.5",
24-
"@nx/jest": "18.3.5",
25-
"@nx/js": "18.3.5",
26-
"@nx/node": "18.3.5",
27-
"@nx/react": "18.3.5",
28-
"@nx/vite": "18.3.5",
29-
"@nx/workspace": "18.3.5",
22+
"@nrwl/vite": "19.4.2",
23+
"@nx/eslint-plugin": "19.4.2",
24+
"@nx/jest": "19.4.2",
25+
"@nx/js": "19.4.2",
26+
"@nx/node": "19.4.2",
27+
"@nx/react": "19.4.2",
28+
"@nx/vite": "19.4.2",
29+
"@nx/workspace": "19.4.2",
3030
"@semantic-release/changelog": "^6.0.2",
3131
"@semantic-release/exec": "^6.0.3",
3232
"@semantic-release/git": "^10.0.1",
3333
"@semantic-release/github": "^8.0.7",
34-
"@testing-library/react": "~14.3.1",
34+
"@testing-library/react": "15.0.6",
3535
"@testing-library/react-hooks": "^8.0.1",
3636
"@theunderscorer/nx-semantic-release": "^2.4.0",
3737
"@types/jest": "^29.4.0",
3838
"@types/node": "18.16.9",
39-
"@types/react": "18.2.24",
40-
"@types/react-dom": "18.2.9",
39+
"@types/react": "18.3.1",
40+
"@types/react-dom": "18.3.0",
4141
"@types/yargs": "^17.0.24",
4242
"@typescript-eslint/eslint-plugin": "7.9.0",
4343
"@typescript-eslint/parser": "7.9.0",
@@ -55,7 +55,7 @@
5555
"jest": "^29.4.1",
5656
"jest-environment-node": "^29.4.1",
5757
"jsdom": "22.1.0",
58-
"nx": "18.3.5",
58+
"nx": "19.4.2",
5959
"prettier": "^2.6.2",
6060
"semantic-release": "^20.1.1",
6161
"ts-jest": "29.1.0",
@@ -68,6 +68,6 @@
6868
"vite-tsconfig-paths": "^4.0.2",
6969
"vitest": "1.6.0",
7070
"yargs": "^17.7.1",
71-
"@nx/eslint": "18.3.5"
71+
"@nx/eslint": "19.4.2"
7272
}
7373
}

0 commit comments

Comments
 (0)