Skip to content

Commit 811ec3e

Browse files
authored
fix(apps): fix vite 8 node polyfills (#743)
1 parent 27d249a commit 811ec3e

4 files changed

Lines changed: 14 additions & 15 deletions

File tree

apps/synapse-playground/package.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
"@radix-ui/react-switch": "^1.2.6",
2525
"@radix-ui/react-tooltip": "^1.2.8",
2626
"@tailwindcss/vite": "^4.2.1",
27-
"@tanstack/query-sync-storage-persister": "^5.90.24",
28-
"@tanstack/react-query": "^5.90.11",
29-
"@tanstack/react-query-persist-client": "^5.90.24",
27+
"@tanstack/query-sync-storage-persister": "^5.99.0",
28+
"@tanstack/react-query": "^5.99.0",
29+
"@tanstack/react-query-persist-client": "^5.99.0",
3030
"class-variance-authority": "^0.7.1",
3131
"clsx": "^2.1.1",
3232
"iso-ledger": "^0.1.7",
33-
"lucide-react": "^1.0.0",
33+
"lucide-react": "^1.8.0",
3434
"nanostores": "^1.1.1",
3535
"next-themes": "^0.4.6",
36-
"react": "19.2.4",
37-
"react-dom": "19.2.4",
36+
"react": "19.2.5",
37+
"react-dom": "19.2.5",
3838
"react-dropzone": "^15.0.0",
3939
"react-hook-form": "^7.66.1",
4040
"sonner": "^2.0.7",
@@ -49,12 +49,10 @@
4949
"@types/react": "catalog:",
5050
"@types/react-dom": "catalog:",
5151
"@vitejs/plugin-react": "^6.0.1",
52-
"buffer": "^6.0.3",
53-
"globals": "^17.4.0",
5452
"tw-animate-css": "^1.4.0",
5553
"typescript": "catalog:",
56-
"vite": "^8.0.2",
57-
"vite-plugin-node-polyfills": "^0.26.0",
58-
"wrangler": "^4.76.0"
54+
"vite": "^8.0.8",
55+
"vite-plugin-node-polyfills-vite8": "0.25.4",
56+
"wrangler": "^4.82.2"
5957
}
6058
}

apps/synapse-playground/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import tailwindcss from '@tailwindcss/vite'
22
import react from '@vitejs/plugin-react'
33
import path from 'path'
44
import { defineConfig } from 'vite'
5-
import { nodePolyfills } from 'vite-plugin-node-polyfills'
5+
import { nodePolyfills } from 'vite-plugin-node-polyfills-vite8'
66

77
// https://vitejs.dev/config/
88
export default defineConfig({
@@ -16,6 +16,7 @@ export default defineConfig({
1616
react(),
1717
tailwindcss(),
1818
],
19+
1920
optimizeDeps: {
2021
exclude: ['@filoz/synapse-core', '@filoz/synapse-react'],
2122
},

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@filoz/synapse-core": "workspace:*",
1414
"@filoz/synapse-react": "workspace:*",
1515
"@filoz/synapse-sdk": "workspace:*",
16-
"@tanstack/react-query": "5.x",
16+
"@tanstack/react-query": "~5.99.0",
1717
"starlight-auto-sidebar": "^0.2.0",
1818
"starlight-changelogs": "^0.5.0",
1919
"starlight-links-validator": "^0.21.0",
@@ -34,6 +34,6 @@
3434
"typedoc": "^0.28.18",
3535
"typedoc-plugin-mdn-links": "^5.0.10",
3636
"typedoc-plugin-missing-exports": "^4.1.2",
37-
"wrangler": "^4.76.0"
37+
"wrangler": "^4.82.2"
3838
}
3939
}

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ catalog:
2424
msw: 2.12.14
2525
ox: ^0.14.0
2626
typescript: 5.9.3
27-
viem: ^2.47.0
27+
viem: ^2.47.17
2828
wagmi: ^3.0.2
2929
zod: ^4.3.5
3030

0 commit comments

Comments
 (0)