Skip to content

Commit af0bf33

Browse files
authored
🔧 Update React and TypeScript dependencies to use catalog references … (#120)
2 parents 6d44bb9 + 0014cbc commit af0bf33

File tree

8 files changed

+69
-69
lines changed

8 files changed

+69
-69
lines changed

‎apps/dashboard-admin/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"clsx": "^2.1.1",
3030
"isbot": "^5",
3131
"lucide-react": "^0.515.0",
32-
"react": "^19.1.8",
33-
"react-dom": "^19.1.6",
32+
"react": "catalog:",
33+
"react-dom": "catalog:",
3434
"react-router": "^7.9.4",
3535
"tailwind-merge": "^3.3.1",
3636
"viem": "^2.31.2"
@@ -39,8 +39,8 @@
3939
"@react-router/dev": "^7.9.4",
4040
"@tailwindcss/vite": "^4.1.10",
4141
"@types/node": "^24",
42-
"@types/react": "^19.1.8",
43-
"@types/react-dom": "^19.1.6",
42+
"@types/react": "catalog:",
43+
"@types/react-dom": "catalog:",
4444
"bun-types": "latest",
4545
"tailwindcss": "^4.1.10",
4646
"tw-animate-css": "^1.3.4",

‎apps/dashboard/package.json‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"next-dev-https": "next dev --experimental-https --port 3001",
1010
"dev": "sst dev bun run next-dev-https",
11-
"build": "next build",
11+
"build": "sst dev next build",
1212
"start": "next start",
1313
"lint": "biome lint .",
1414
"format:check": "biome check .",
@@ -50,25 +50,21 @@
5050
"next": "15.3.3",
5151
"normalize.css": "^8.0.1",
5252
"radash": "^12.1.0",
53-
"react": "^19.1.8",
53+
"react": "catalog:",
5454
"react-day-picker": "^9.7.0",
55-
"react-dom": "^19.1.6",
55+
"react-dom": "catalog:",
5656
"react-hook-form": "^7.57.0",
5757
"viem": "^2.31.2"
5858
},
5959
"devDependencies": {
6060
"@frak-labs/browserslist-config": "workspace:*",
6161
"@types/node": "^24",
62-
"@types/react": "^19.1.8",
63-
"@types/react-dom": "^19.1.6",
62+
"@types/react": "catalog:",
63+
"@types/react-dom": "catalog:",
6464
"bun-types": "latest",
6565
"sst": "3.17.5",
6666
"typescript": "^5"
6767
},
68-
"overrides": {
69-
"@types/react": "^19.1.8",
70-
"@types/react-dom": "^19.1.6"
71-
},
7268
"browserslist": [
7369
"extends @frak-labs/browserslist-config"
7470
]

‎apps/wallet/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
"nprogress": "^0.2.0",
6565
"permissionless": "^0.2.47",
6666
"radash": "^12.1.0",
67-
"react": "^19.1.8",
67+
"react": "catalog:",
6868
"react-avatar-editor": "^13.0.2",
69-
"react-dom": "^19.1.6",
69+
"react-dom": "catalog:",
7070
"react-hook-form": "^7.57.0",
7171
"react-i18next": "^15.5.3",
7272
"react-loading-skeleton": "^3.5.0",
@@ -88,9 +88,9 @@
8888
"@react-router/dev": "^7.9.4",
8989
"@types/dotenv": "^8.2.3",
9090
"@types/nprogress": "^0.2.3",
91-
"@types/react": "^19.1.8",
91+
"@types/react": "catalog:",
9292
"@types/react-avatar-editor": "^13.0.4",
93-
"@types/react-dom": "^19.1.6",
93+
"@types/react-dom": "catalog:",
9494
"bun-types": "latest",
9595
"cbor": "^10.0.9",
9696
"esbuild": "^0.24.2",

‎bun.lock‎

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,17 @@
6666
"next": "15.3.3",
6767
"normalize.css": "^8.0.1",
6868
"radash": "^12.1.0",
69-
"react": "^19.1.8",
69+
"react": "catalog:",
7070
"react-day-picker": "^9.7.0",
71-
"react-dom": "^19.1.6",
71+
"react-dom": "catalog:",
7272
"react-hook-form": "^7.57.0",
7373
"viem": "^2.31.2",
7474
},
7575
"devDependencies": {
7676
"@frak-labs/browserslist-config": "workspace:*",
7777
"@types/node": "^24",
78-
"@types/react": "^19.1.8",
79-
"@types/react-dom": "^19.1.6",
78+
"@types/react": "catalog:",
79+
"@types/react-dom": "catalog:",
8080
"bun-types": "latest",
8181
"sst": "3.17.5",
8282
"typescript": "^5",
@@ -103,8 +103,8 @@
103103
"clsx": "^2.1.1",
104104
"isbot": "^5",
105105
"lucide-react": "^0.515.0",
106-
"react": "^19.1.8",
107-
"react-dom": "^19.1.6",
106+
"react": "catalog:",
107+
"react-dom": "catalog:",
108108
"react-router": "^7.9.4",
109109
"tailwind-merge": "^3.3.1",
110110
"viem": "^2.31.2",
@@ -113,8 +113,8 @@
113113
"@react-router/dev": "^7.9.4",
114114
"@tailwindcss/vite": "^4.1.10",
115115
"@types/node": "^24",
116-
"@types/react": "^19.1.8",
117-
"@types/react-dom": "^19.1.6",
116+
"@types/react": "catalog:",
117+
"@types/react-dom": "catalog:",
118118
"bun-types": "latest",
119119
"tailwindcss": "^4.1.10",
120120
"tw-animate-css": "^1.3.4",
@@ -163,9 +163,9 @@
163163
"nprogress": "^0.2.0",
164164
"permissionless": "^0.2.47",
165165
"radash": "^12.1.0",
166-
"react": "^19.1.8",
166+
"react": "catalog:",
167167
"react-avatar-editor": "^13.0.2",
168-
"react-dom": "^19.1.6",
168+
"react-dom": "catalog:",
169169
"react-hook-form": "^7.57.0",
170170
"react-i18next": "^15.5.3",
171171
"react-loading-skeleton": "^3.5.0",
@@ -187,9 +187,9 @@
187187
"@react-router/dev": "^7.9.4",
188188
"@types/dotenv": "^8.2.3",
189189
"@types/nprogress": "^0.2.3",
190-
"@types/react": "^19.1.8",
190+
"@types/react": "catalog:",
191191
"@types/react-avatar-editor": "^13.0.4",
192-
"@types/react-dom": "^19.1.6",
192+
"@types/react-dom": "catalog:",
193193
"bun-types": "latest",
194194
"cbor": "^10.0.9",
195195
"esbuild": "^0.24.2",
@@ -267,17 +267,17 @@
267267
"isbot": "^5.1.28",
268268
"lucide-react": "^0.515.0",
269269
"normalize.css": "^8.0.1",
270-
"react": "^19.1.8",
271-
"react-dom": "^19.1.6",
270+
"react": "catalog:",
271+
"react-dom": "catalog:",
272272
"react-router": "^7.9.4",
273273
"react-router-dom": "^7.9.4",
274274
"viem": "^2.31.2",
275275
},
276276
"devDependencies": {
277277
"@frak-labs/browserslist-config": "workspace:*",
278278
"@react-router/dev": "^7.9.4",
279-
"@types/react": "^19.1.8",
280-
"@types/react-dom": "^19.1.6",
279+
"@types/react": "catalog:",
280+
"@types/react-dom": "catalog:",
281281
"typescript": "^5",
282282
"vite": "^6.3.5",
283283
"vite-tsconfig-paths": "^5.1.4",
@@ -366,9 +366,9 @@
366366
},
367367
"devDependencies": {
368368
"@frak-labs/app-essentials": "workspace:*",
369-
"@types/react": "^19.1.8",
370-
"@types/react-dom": "^19.1.6",
371-
"react": "^19.1.8",
369+
"@types/react": "catalog:",
370+
"@types/react-dom": "catalog:",
371+
"react": "catalog:",
372372
"typescript": "^5",
373373
},
374374
},
@@ -447,8 +447,8 @@
447447
"@rsbuild/plugin-react": "^1.3.2",
448448
"@rslib/core": "^0.9.2",
449449
"@types/node": "^24",
450-
"@types/react": "^19.1.8",
451-
"react": "^19.1.8",
450+
"@types/react": "catalog:",
451+
"react": "catalog:",
452452
"typescript": "^5",
453453
},
454454
"peerDependencies": {
@@ -498,9 +498,17 @@
498498
},
499499
},
500500
"overrides": {
501+
"@types/react": "^19.1.8",
502+
"@types/react-dom": "^19.1.6",
501503
"caniuse-lite": "^1.0.30001749",
504+
"react": "^19.1.8",
505+
"react-dom": "^19.1.6",
502506
},
503507
"catalog": {
508+
"@types/react": "^19.1.8",
509+
"@types/react-dom": "^19.1.6",
510+
"react": "^19.1.8",
511+
"react-dom": "^19.1.6",
504512
"viem": "^2.28.1",
505513
},
506514
"packages": {
@@ -4088,8 +4096,6 @@
40884096

40894097
"@types/preact-custom-element/preact": ["[email protected]", "", {}, "sha512-fmpDkgfGU6JYux9teDWLhj9mKN55tyepwYbxHgQuIxbWQzgFg5vk7Mrrtfx7xRxq798ynkY4DDDxZr235Kk+4w=="],
40904098

4091-
"@types/react-avatar-editor/@types/react": ["@types/[email protected]", "", { "dependencies": { "csstype": "^3.0.2" } }, "sha512-oxLPMytKchWGbnQM9O7D67uPa9paTNxO7jVoNMXgkkErULBPhPARCfkKL9ytcIJJRGjbsVwW4ugJzyFFvm/Tiw=="],
4092-
40934099
"@types/responselike/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw=="],
40944100

40954101
"@types/send/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw=="],
@@ -4440,10 +4446,6 @@
44404446

44414447
"raw-body/iconv-lite": ["[email protected]", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw=="],
44424448

4443-
"react-avatar-editor/react": ["[email protected]", "", {}, "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg=="],
4444-
4445-
"react-avatar-editor/react-dom": ["[email protected]", "", { "dependencies": { "scheduler": "^0.26.0" }, "peerDependencies": { "react": "^19.1.0" } }, "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g=="],
4446-
44474449
"react-i18next/@babel/runtime": ["@babel/[email protected]", "", {}, "sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q=="],
44484450

44494451
"react-router/cookie": ["[email protected]", "", {}, "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA=="],
@@ -5176,8 +5178,6 @@
51765178

51775179
"qrcode/yargs/yargs-parser": ["[email protected]", "", { "dependencies": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" } }, "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ=="],
51785180

5179-
"react-avatar-editor/react-dom/scheduler": ["[email protected]", "", {}, "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA=="],
5180-
51815181
"react-scan/@babel/core/@babel/code-frame": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.25.9", "js-tokens": "^4.0.0", "picocolors": "^1.0.0" } }, "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ=="],
51825182

51835183
"react-scan/@babel/core/@babel/helper-compilation-targets": ["@babel/[email protected]", "", { "dependencies": { "@babel/compat-data": "^7.26.8", "@babel/helper-validator-option": "^7.25.9", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-LVk7fbXml0H2xH34dFzKQ7TDZ2G4/rVTOrq9V+icbbadjbVxxeFeDsNHv2SrZeWoA+6ZiTyWYWtScEIW07EAcA=="],
@@ -5378,8 +5378,6 @@
53785378

53795379
"tsx/esbuild/@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg=="],
53805380

5381-
"valtio/use-sync-external-store/react": ["[email protected]", "", {}, "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg=="],
5382-
53835381
"vaul/@radix-ui/react-dialog/@radix-ui/react-dismissable-layer": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-primitive": "2.1.0", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-escape-keydown": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-j5+WBUdhccJsmH5/H0K6RncjDtoALSEr6jbkaZu+bjw6hOPOhHycr6vEUujl+HBK8kjUfWcoCJXxP6e4lUlMZw=="],
53845382

53855383
"vaul/@radix-ui/react-dialog/@radix-ui/react-focus-scope": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-primitive": "2.1.0", "@radix-ui/react-use-callback-ref": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-r2annK27lIW5w9Ho5NyQgqs0MmgZSTIKXWpVCJaLC1q2kZrZkcqnmHkCHMEmv8XLvsLlurKMPT+kbKkRkm/xVA=="],

‎example/wallet-ethcc/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@
3131
"@frak-labs/ui": "workspace:*",
3232
"@frak-labs/client": "workspace:*",
3333
"normalize.css": "^8.0.1",
34-
"react": "^19.1.8",
35-
"react-dom": "^19.1.6",
34+
"react": "catalog:",
35+
"react-dom": "catalog:",
3636
"react-router": "^7.9.4",
3737
"react-router-dom": "^7.9.4",
3838
"viem": "^2.31.2"
3939
},
4040
"devDependencies": {
4141
"@frak-labs/browserslist-config": "workspace:*",
4242
"@react-router/dev": "^7.9.4",
43-
"@types/react": "^19.1.8",
44-
"@types/react-dom": "^19.1.6",
43+
"@types/react": "catalog:",
44+
"@types/react-dom": "catalog:",
4545
"typescript": "^5",
4646
"vite": "^6.3.5",
4747
"vite-tsconfig-paths": "^5.1.4"

‎package.json‎

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,28 @@
4747
"typecheck": "bun run --filter '*' typecheck"
4848
},
4949
"type": "module",
50-
"workspaces": {
51-
"packages": [
52-
"apps/*",
53-
"packages/*",
54-
"sdk/*",
55-
"example/*",
56-
"services/*"
57-
],
58-
"catalog": {
59-
"viem": "^2.28.1"
60-
}
50+
"workspaces": [
51+
"apps/*",
52+
"packages/*",
53+
"sdk/*",
54+
"example/*",
55+
"services/*"
56+
],
57+
"catalog": {
58+
"viem": "^2.28.1",
59+
"react": "^19.1.8",
60+
"react-dom": "^19.1.6",
61+
"@types/react": "^19.1.8",
62+
"@types/react-dom": "^19.1.6"
6163
},
6264
"dependencies": {
6365
"caniuse-lite": "^1.0.30001749"
6466
},
6567
"resolutions": {
66-
"caniuse-lite": "^1.0.30001749"
68+
"caniuse-lite": "^1.0.30001749",
69+
"react": "^19.1.8",
70+
"react-dom": "^19.1.6",
71+
"@types/react": "^19.1.8",
72+
"@types/react-dom": "^19.1.6"
6773
}
6874
}

‎packages/ui/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
},
3333
"devDependencies": {
3434
"@frak-labs/app-essentials": "workspace:*",
35-
"@types/react": "^19.1.8",
36-
"@types/react-dom": "^19.1.6",
37-
"react": "^19.1.8",
35+
"@types/react": "catalog:",
36+
"@types/react-dom": "catalog:",
37+
"react": "catalog:",
3838
"typescript": "^5"
3939
}
4040
}

‎sdk/react/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
"@rsbuild/plugin-react": "^1.3.2",
7878
"@rslib/core": "^0.9.2",
7979
"@types/node": "^24",
80-
"@types/react": "^19.1.8",
81-
"react": "^19.1.8",
80+
"@types/react": "catalog:",
81+
"react": "catalog:",
8282
"typescript": "^5",
8383
"@frak-labs/dev-tooling": "workspace:*"
8484
},

0 commit comments

Comments
 (0)