Skip to content

Commit 378f17b

Browse files
committed
✨ feat(app): react 19.2
1 parent 140b15b commit 378f17b

File tree

4 files changed

+3174
-3528
lines changed

4 files changed

+3174
-3528
lines changed

eslint.config.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import pluginNoUseExtendNative from 'eslint-plugin-no-use-extend-native'
3636
import pluginPromise from 'eslint-plugin-promise'
3737
import pluginReact from 'eslint-plugin-react'
3838
// import pluginReactCompiler from 'eslint-plugin-react-compiler'
39-
import * as pluginReactHooks from 'eslint-plugin-react-hooks'
39+
import pluginReactHooks from 'eslint-plugin-react-hooks'
4040
import pluginReactHooksAddons from 'eslint-plugin-react-hooks-addons'
4141
import pluginReactPerf from 'eslint-plugin-react-perf'
4242
import pluginReactRefresh from 'eslint-plugin-react-refresh'
@@ -672,6 +672,8 @@ function getReactConfigs() {
672672
...applyTo.react('react/jsx-runtime', pluginReact.configs.flat['jsx-runtime']),
673673
...applyTo.react('react/custom', {
674674
rules: {
675+
'react/prop-types': 'off',
676+
'react/no-unescaped-entities': 'warn',
675677
'react/boolean-prop-naming': [
676678
'error',
677679
{
@@ -709,12 +711,12 @@ function getReactConfigs() {
709711
],
710712
},
711713
}),
712-
...applyTo.react('react/hooks', pluginReactHooks.configs.recommended),
714+
...applyTo.react('react/hooks', pluginReactHooks.configs['flat/recommended']),
713715
// Use below when using expo
714716
// ...applyTo.react('react/hooks', {
715717
// // Expo already define `react-hooks` plugin so we cannot redefine
716718
// rules: {
717-
// ...pluginReactHooks.configs.recommended.rules,
719+
// ...pluginReactHooks.configs['flat/recommended'].rules,
718720
// },
719721
// }),
720722
...applyTo.react('react/hooks/custom', {
@@ -761,7 +763,6 @@ function getReactConfigs() {
761763
'error',
762764
{requireDataLowercase: true, ignore: []},
763765
],
764-
'@eslint-react/no-unnecessary-key': 'error',
765766
},
766767
}),
767768
...applyTo.react('react/naming-convention', {

package.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -58,27 +58,27 @@
5858
"@floating-ui/react": "^0.27.16",
5959
"@fontsource/geist-mono": "^5.2.7",
6060
"@fontsource/geist-sans": "^5.2.5",
61-
"@heroui/react": "beta",
61+
"@heroui/react": "^2.8.4",
6262
"@hookform/resolvers": "^5.2.2",
6363
"@iconify/react": "^6.0.2",
6464
"@inlang/paraglide-js": "^2.4.0",
65-
"@lottiefiles/dotlottie-react": "^0.17.2",
65+
"@lottiefiles/dotlottie-react": "^0.17.3",
6666
"@number-flow/react": "^0.5.10",
6767
"@pythnetwork/price-service-client": "^1.9.0",
6868
"@qwik.dev/partytown": "^0.11.2",
6969
"@react-aria/focus": "^3.21.1",
7070
"@react-aria/live-announcer": "^3.4.4",
7171
"@react-oauth/google": "^0.12.2",
72-
"@sentry/react": "^10.16.0",
72+
"@sentry/react": "^10.17.0",
7373
"@starknet-io/get-starknet-core": "^4.0.7",
7474
"@starknet-io/types-js": "^0.8.4",
7575
"@tanstack/query-core": "^5.90.2",
7676
"@tanstack/query-sync-storage-persister": "^5.90.2",
7777
"@tanstack/react-query": "^5.90.2",
7878
"@tanstack/react-query-persist-client": "^5.90.2",
79-
"@tanstack/react-router": "^1.132.23",
80-
"@tanstack/react-router-ssr-query": "^1.132.23",
81-
"@tanstack/router-core": "^1.132.21",
79+
"@tanstack/react-router": "^1.132.31",
80+
"@tanstack/react-router-ssr-query": "^1.132.31",
81+
"@tanstack/router-core": "^1.132.31",
8282
"@unhead/addons": "^2.0.17",
8383
"@unhead/react": "^2.0.17",
8484
"abi-wan-kanabi": "2.2.2",
@@ -97,17 +97,17 @@
9797
"jotai-tanstack-query": "^0.11.0",
9898
"json-bigint": "^1.0.0",
9999
"klona": "^2.0.6",
100-
"lightweight-charts": "^5.0.8",
100+
"lightweight-charts": "^5.0.9",
101101
"match-sorter": "^8.1.0",
102102
"micromatch": "^4.0.8",
103103
"motion": "^12.23.22",
104104
"mutative": "^1.3.0",
105105
"optics-ts": "^2.4.1",
106106
"partial-json": "^0.1.7",
107107
"query-string": "^9.3.1",
108-
"react": "experimental",
108+
"react": "0.0.0-experimental-86181134-20251001",
109109
"react-content-loader": "^7.1.1",
110-
"react-dom": "experimental",
110+
"react-dom": "0.0.0-experimental-86181134-20251001",
111111
"react-error-boundary": "^6.0.0",
112112
"react-fast-compare": "^3.2.2",
113113
"react-hook-form": "^7.63.0",
@@ -129,9 +129,9 @@
129129
},
130130
"devDependencies": {
131131
"@axe-core/react": "^4.10.2",
132-
"@commitlint/cli": "^20.0.0",
132+
"@commitlint/cli": "^20.1.0",
133133
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
134-
"@eslint-react/eslint-plugin": "^2.0.2",
134+
"@eslint-react/eslint-plugin": "^2.0.5",
135135
"@eslint/compat": "^1.4.0",
136136
"@eslint/eslintrc": "^3.3.1",
137137
"@eslint/js": "^9.36.0",
@@ -148,23 +148,23 @@
148148
"@swc-jotai/debug-label": "0.2.0",
149149
"@swc-jotai/react-refresh": "0.3.0",
150150
"@swc/plugin-react-remove-properties": "^5.0.2",
151-
"@tailwindcss/vite": "^4.1.13",
151+
"@tailwindcss/vite": "^4.1.14",
152152
"@tanstack/eslint-plugin-query": "^5.91.0",
153-
"@tanstack/eslint-plugin-router": "^1.132.21",
153+
"@tanstack/eslint-plugin-router": "^1.132.31",
154154
"@tanstack/react-query-devtools": "^5.90.2",
155-
"@tanstack/router-devtools": "^1.132.23",
156-
"@tanstack/router-plugin": "^1.132.23",
157-
"@testing-library/jest-dom": "^6.8.0",
155+
"@tanstack/router-devtools": "^1.132.31",
156+
"@tanstack/router-plugin": "^1.132.31",
157+
"@testing-library/jest-dom": "^6.9.1",
158158
"@testing-library/react": "^16.3.0",
159159
"@testing-library/user-event": "^14.6.1",
160160
"@total-typescript/ts-reset": "^0.6.1",
161161
"@types/crypto-js": "^4.2.2",
162162
"@types/css.escape": "^1.5.2",
163163
"@types/gtag.js": "^0.0.20",
164164
"@types/json-bigint": "^1.0.4",
165-
"@types/node": "^22.18.7",
166-
"@types/react": "^19.1.15",
167-
"@types/react-dom": "^19.1.9",
165+
"@types/node": "^22.18.8",
166+
"@types/react": "^19.2.0",
167+
"@types/react-dom": "^19.2.0",
168168
"@types/react-lines-ellipsis": "^0.15.6",
169169
"@types/ua-parser-js": "^0.7.39",
170170
"@types/uuid": "^11.0.0",
@@ -178,7 +178,7 @@
178178
"@vitest/eslint-plugin": "^1.3.13",
179179
"@vitest/ui": "^3.2.4",
180180
"better-commits": "^1.18.0",
181-
"commitlint": "^20.0.0",
181+
"commitlint": "^20.1.0",
182182
"commitlint-config-gitmoji": "^2.3.1",
183183
"confusing-browser-globals": "^1.0.11",
184184
"eslint": "^9.36.0",
@@ -194,7 +194,7 @@
194194
"eslint-plugin-import-x": "^4.16.1",
195195
"eslint-plugin-jest-dom": "^5.5.0",
196196
"eslint-plugin-jest-formatting": "^3.1.0",
197-
"eslint-plugin-jsdoc": "^60.5.0",
197+
"eslint-plugin-jsdoc": "^60.7.0",
198198
"eslint-plugin-jsonc": "^2.20.1",
199199
"eslint-plugin-jsx-a11y": "^6.10.2",
200200
"eslint-plugin-math": "^0.13.0",
@@ -203,15 +203,15 @@
203203
"eslint-plugin-no-relative-import-paths": "^1.6.1",
204204
"eslint-plugin-no-secrets": "^2.2.1",
205205
"eslint-plugin-no-use-extend-native": "^0.7.2",
206-
"eslint-plugin-pnpm": "^1.1.2",
206+
"eslint-plugin-pnpm": "^1.2.0",
207207
"eslint-plugin-prettier": "^5.5.4",
208208
"eslint-plugin-promise": "^7.2.1",
209209
"eslint-plugin-react": "^7.37.5",
210-
"eslint-plugin-react-compiler": "19.1.0-rc.1",
211-
"eslint-plugin-react-hooks": "6.0.0-rc.1",
210+
"eslint-plugin-react-compiler": "19.1.0-rc.2",
211+
"eslint-plugin-react-hooks": "^6.1.0",
212212
"eslint-plugin-react-hooks-addons": "^0.5.0",
213213
"eslint-plugin-react-perf": "3.3.3",
214-
"eslint-plugin-react-refresh": "^0.4.22",
214+
"eslint-plugin-react-refresh": "^0.4.23",
215215
"eslint-plugin-react-you-might-not-need-an-effect": "^0.5.5",
216216
"eslint-plugin-regexp": "^2.10.0",
217217
"eslint-plugin-security": "^3.0.1",
@@ -222,7 +222,7 @@
222222
"eslint-plugin-unicorn": "^61.0.2",
223223
"fontaine": "^0.6.0",
224224
"globals": "^16.4.0",
225-
"happy-dom": "^19.0.1",
225+
"happy-dom": "^19.0.2",
226226
"husky": "^9.1.7",
227227
"jotai-devtools": "^0.13.0",
228228
"lightningcss": "^1.30.2",
@@ -234,7 +234,7 @@
234234
"million": "^3.1.11",
235235
"package-directory": "^8.1.0",
236236
"prettier": "^3.6.2",
237-
"prettier-plugin-classnames": "^0.8.3",
237+
"prettier-plugin-classnames": "^0.8.4",
238238
"prettier-plugin-merge": "^0.8.0",
239239
"react-dev-inspector": "^2.0.1",
240240
"rollup-obfuscator": "^4.1.1",
@@ -256,12 +256,12 @@
256256
"stylelint-prettier": "^5.0.3",
257257
"stylelint-use-logical-spec": "^5.0.1",
258258
"svgo": "^4.0.0",
259-
"tailwindcss": "^4.1.13",
259+
"tailwindcss": "^4.1.14",
260260
"terser": "^5.44.0",
261261
"ts-plugin-sort-import-suggestions": "^1.0.4",
262262
"type-coverage": "^2.29.7",
263263
"typed-scss-modules": "^8.1.1",
264-
"typescript": "^5.9.2",
264+
"typescript": "^5.9.3",
265265
"typescript-coverage-report": "^1.1.1",
266266
"typescript-eslint": "^8.45.0",
267267
"unplugin-auto-import": "^20.2.0",
@@ -307,7 +307,7 @@
307307
},
308308
"patchedDependencies": {
309309
310-
"eslint-plugin-react-hooks@6.0.0-rc.1": "patches/eslint-plugin-react-hooks@6.0.0-rc.1.patch",
310+
"eslint-plugin-react-hooks@6.1.0": "patches/eslint-plugin-react-hooks@6.1.0.patch",
311311
312312
"@tanstack/[email protected]": "patches/@[email protected]"
313313
},
Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/cjs/eslint-plugin-react-hooks.development.js b/cjs/eslint-plugin-react-hooks.development.js
2-
index 179bf427960002c7ca4b6d7d81515f23d542b4ef..7723fe5df4e1a4a0116f4ad560933d61690262f5 100644
2+
index 86401fcce7573e3dd7dd32d6aa9470ddbf1cd67a..f65eae29ae27775bbd503923cf807a66258db5ca 100644
33
--- a/cjs/eslint-plugin-react-hooks.development.js
44
+++ b/cjs/eslint-plugin-react-hooks.development.js
5-
@@ -44,6 +44,28 @@ const rule$2 = {
5+
@@ -56,6 +56,28 @@ const rule$1 = {
66
enableDangerousAutofixThisMayCauseInfiniteLoops: {
77
type: 'boolean',
88
},
@@ -28,22 +28,24 @@ index 179bf427960002c7ca4b6d7d81515f23d542b4ef..7723fe5df4e1a4a0116f4ad560933d61
2828
+ ],
2929
+ },
3030
+ },
31-
},
32-
},
33-
],
34-
@@ -58,9 +80,11 @@ const rule$2 = {
35-
context.options[0] &&
36-
context.options[0].enableDangerousAutofixThisMayCauseInfiniteLoops) ||
37-
false;
38-
+ const staticHooks = (context.options && context.options[0] && context.options[0].staticHooks) || {};
31+
experimental_autoDependenciesHooks: {
32+
type: 'array',
33+
items: {
34+
@@ -82,11 +104,13 @@ const rule$1 = {
35+
? rawOptions.experimental_autoDependenciesHooks
36+
: [];
37+
const requireExplicitEffectDeps = (rawOptions && rawOptions.requireExplicitEffectDeps) || false;
38+
+ const staticHooks = (rawOptions && rawOptions.staticHooks) || {};
3939
const options = {
4040
additionalHooks,
41+
experimental_autoDependenciesHooks,
4142
enableDangerousAutofixThisMayCauseInfiniteLoops,
43+
requireExplicitEffectDeps,
4244
+ staticHooks,
4345
};
4446
function reportProblem(problem) {
4547
if (enableDangerousAutofixThisMayCauseInfiniteLoops) {
46-
@@ -246,6 +270,33 @@ const rule$2 = {
48+
@@ -274,6 +298,33 @@ const rule$1 = {
4749
return true;
4850
}
4951
}

0 commit comments

Comments
 (0)