Skip to content

Commit 69c43be

Browse files
committed
chore: update ESLint configuration and package dependencies
1 parent e9049a7 commit 69c43be

File tree

5 files changed

+3463
-2396
lines changed

5 files changed

+3463
-2396
lines changed

apps/react-kit-demo/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": ["plugin:@nx/react", "../../.eslintrc.json"],
3-
"ignorePatterns": ["!**/*"],
3+
"ignorePatterns": ["!**/*", "**/vite.config.*.timestamp*", "**/vitest.config.*.timestamp*"],
44
"overrides": [
55
{
66
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],

nx.json

Lines changed: 50 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,52 @@
11
{
2-
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3-
"defaultProject": "react-kit-demo",
4-
"namedInputs": {
5-
"default": [
6-
"{projectRoot}/**/*",
7-
"sharedGlobals"
8-
],
9-
"production": [
10-
"default",
11-
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
12-
"!{projectRoot}/tsconfig.spec.json",
13-
"!{projectRoot}/.eslintrc.json",
14-
"!{projectRoot}/eslint.config.js"
15-
],
16-
"sharedGlobals": []
17-
},
18-
"plugins": [
19-
{
20-
"plugin": "@nx/vite/plugin",
21-
"options": {
22-
"buildTargetName": "build",
23-
"testTargetName": "test",
24-
"serveTargetName": "serve",
25-
"previewTargetName": "preview",
26-
"serveStaticTargetName": "serve-static"
27-
}
28-
},
29-
{
30-
"plugin": "@nx/eslint/plugin",
31-
"options": {
32-
"targetName": "lint"
33-
}
34-
}
35-
],
36-
"generators": {
37-
"@nx/react": {
38-
"application": {
39-
"babel": true,
40-
"style": "scss",
41-
"linter": "eslint",
42-
"bundler": "vite"
43-
},
44-
"component": {
45-
"style": "scss"
46-
},
47-
"library": {
48-
"style": "scss",
49-
"linter": "eslint",
50-
"unitTestRunner": "vitest"
51-
}
52-
}
53-
},"nxCloudId": "670ebadac0c313acbf9ee13c"
2+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3+
"defaultProject": "react-kit-demo",
4+
"namedInputs": {
5+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
6+
"production": [
7+
"default",
8+
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
9+
"!{projectRoot}/tsconfig.spec.json",
10+
"!{projectRoot}/.eslintrc.json",
11+
"!{projectRoot}/eslint.config.js"
12+
],
13+
"sharedGlobals": []
14+
},
15+
"plugins": [
16+
{
17+
"plugin": "@nx/vite/plugin",
18+
"options": {
19+
"buildTargetName": "build",
20+
"testTargetName": "test",
21+
"serveTargetName": "serve",
22+
"previewTargetName": "preview",
23+
"serveStaticTargetName": "serve-static"
24+
}
25+
},
26+
{
27+
"plugin": "@nx/eslint/plugin",
28+
"options": {
29+
"targetName": "lint"
30+
}
31+
}
32+
],
33+
"generators": {
34+
"@nx/react": {
35+
"application": {
36+
"babel": true,
37+
"style": "scss",
38+
"linter": "eslint",
39+
"bundler": "vite"
40+
},
41+
"component": {
42+
"style": "scss"
43+
},
44+
"library": {
45+
"style": "scss",
46+
"linter": "eslint",
47+
"unitTestRunner": "vitest"
48+
}
49+
}
50+
},
51+
"nxCloudId": "670ebadac0c313acbf9ee13c"
5452
}

package.json

Lines changed: 52 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -14,70 +14,71 @@
1414
"dependencies": {
1515
"@emotion/react": "^11.14.0",
1616
"@emotion/styled": "^11.14.0",
17-
"@mui/icons-material": "^6.4.8",
18-
"@mui/material": "^6.4.8",
19-
"@mui/x-data-grid": "^7.28.1",
17+
"@mui/icons-material": "^7.1.0",
18+
"@mui/material": "^7.1.0",
19+
"@mui/x-data-grid": "^8.2.0",
2020
"date-fns": "^4.1.0",
2121
"react": "^18.3.1 || ^19.0.0",
2222
"react-dom": "^18.3.1 || ^19.0.0",
23-
"react-router-dom": "^7.4.0"
23+
"react-router-dom": "^7.5.3"
2424
},
2525
"devDependencies": {
26-
"@babel/core": "^7.14.5",
27-
"@babel/preset-react": "^7.14.5",
28-
"@nx/cypress": "20.4.4",
29-
"@nx/devkit": "20.4.4",
30-
"@nx/eslint": "20.4.4",
31-
"@nx/eslint-plugin": "20.4.4",
32-
"@nx/js": "20.4.4",
33-
"@nx/react": "20.4.4",
34-
"@nx/vite": "20.4.4",
35-
"@nx/web": "20.4.4",
36-
"@nx/workspace": "20.4.4",
26+
"@babel/core": "^7.27.1",
27+
"@babel/preset-react": "^7.27.1",
28+
"@nx/cypress": "21.0.0",
29+
"@nx/devkit": "21.0.0",
30+
"@nx/eslint": "21.0.0",
31+
"@nx/eslint-plugin": "21.0.0",
32+
"@nx/js": "21.0.0",
33+
"@nx/react": "21.0.0",
34+
"@nx/vite": "21.0.0",
35+
"@nx/web": "21.0.0",
36+
"@nx/workspace": "21.0.0",
3737
"@semantic-release/git": "^10.0.1",
3838
"@semantic-release/npm": "^12.0.1",
39-
"@swc-node/register": "1.9.2",
40-
"@swc/cli": "~0.3.12",
41-
"@swc/core": "1.5.7",
42-
"@swc/helpers": "0.5.11",
39+
"@swc-node/register": "1.10.10",
40+
"@swc/cli": "0.6.0",
41+
"@swc/core": "1.11.24",
42+
"@swc/helpers": "0.5.17",
4343
"@testing-library/jest-dom": "^6.5.0",
44-
"@testing-library/react": "16.0.1",
45-
"@types/node": "20.14.2",
46-
"@types/react": "18.3.3",
47-
"@types/react-dom": "18.3.0",
48-
"@typescript-eslint/eslint-plugin": "7.18.0",
49-
"@typescript-eslint/parser": "7.18.0",
50-
"@vitejs/plugin-react": "^4.3.2",
51-
"@vitest/coverage-v8": "^2.1.3",
52-
"@vitest/ui": "^2.1.3",
53-
"eslint": "~8.57.0",
54-
"eslint-config-prettier": "^9.1.0",
44+
"@testing-library/react": "16.3.0",
45+
"@types/node": "22.15.14",
46+
"@types/react": "19.1.3",
47+
"@types/react-dom": "19.1.3",
48+
"@typescript-eslint/eslint-plugin": "8.32.0",
49+
"@typescript-eslint/parser": "8.32.0",
50+
"@vitejs/plugin-react": "^4.4.1",
51+
"@vitest/coverage-v8": "^3.1.3",
52+
"@vitest/ui": "^3.1.3",
53+
"eslint": "~9.26.0",
54+
"eslint-config-prettier": "10.1.2",
5555
"eslint-plugin-import": "2.31.0",
56-
"eslint-plugin-jsx-a11y": "6.10.1",
57-
"eslint-plugin-react": "7.34.2",
58-
"eslint-plugin-react-hooks": "5.0.0",
56+
"eslint-plugin-jsx-a11y": "6.10.2",
57+
"eslint-plugin-react": "7.37.5",
58+
"eslint-plugin-react-hooks": "5.2.0",
5959
"jest-mock": "^29.7.0",
60-
"jsdom": "~25.0.1",
61-
"nx": "20.4.4",
62-
"prettier": "^3.3.3",
63-
"sass": "^1.79.5",
64-
"semantic-release": "^24.1.2",
65-
"typescript": "5.7.3",
66-
"vite": "5.4.6",
67-
"vite-plugin-dts": "~4.2.4",
68-
"vite-plugin-mkcert": "^1.17.6",
69-
"vitest": "^2.1.3"
60+
"jiti": "2.4.2",
61+
"jsdom": "~26.1.0",
62+
"nx": "21.0.0",
63+
"prettier": "^3.5.3",
64+
"sass": "^1.87.0",
65+
"semantic-release": "^24.2.3",
66+
"typescript": "^5.8.3",
67+
"vite": "^6.3.5",
68+
"vite-plugin-dts": "^4.5.3",
69+
"vite-plugin-mkcert": "^1.17.8",
70+
"vitest": "^3.1.3"
7071
},
7172
"peerDependencies": {
72-
"@emotion/react": "^11.13.3",
73-
"@emotion/styled": "^11.13.0",
74-
"@mui/icons-material": "^6.1.4",
75-
"@mui/material": "^6.1.4",
76-
"@mui/x-data-grid": "^7.21.0",
73+
"@emotion/react": "^11.14.0",
74+
"@emotion/styled": "^11.14.0",
75+
"@mui/icons-material": "^7.1.0",
76+
"@mui/material": "^7.1.0",
77+
"@mui/x-data-grid": "^8.2.0",
7778
"date-fns": "^4.1.0",
78-
"react": "^18.3.1",
79-
"react-dom": "^18.3.1",
80-
"react-router-dom": "^6.27.0"
79+
"react": "^18.3.1 || ^19.0.0",
80+
"react-dom": "^18.3.1 || ^19.0.0",
81+
"react-router-dom": "^7.5.3"
8182
},
8283
"release": {
8384
"branches": [

0 commit comments

Comments
 (0)