File tree Expand file tree Collapse file tree 10 files changed +53
-215
lines changed
solana-batch-accounts-loader Expand file tree Collapse file tree 10 files changed +53
-215
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,8 @@ export default tseslint.config([
1919 ecmaVersion : 2020 ,
2020 globals : globals . browser ,
2121 } ,
22+ // rules: {
23+ // "react-hooks/react-compiler": "error",
24+ // },
2225 } ,
2326] ) ;
Original file line number Diff line number Diff line change 3939 "@tanstack/router-plugin" : " ^1.131.2" ,
4040 "@types/react" : " ^19.1.9" ,
4141 "@types/react-dom" : " ^19.1.7" ,
42- "@vitejs/plugin-react" : " ^4.7 .0" ,
42+ "@vitejs/plugin-react" : " ^5.0 .0" ,
4343 "eslint" : " catalog:" ,
4444 "eslint-plugin-react-hooks" : " ^5.2.0" ,
4545 "eslint-plugin-react-refresh" : " ^0.4.20" ,
4949 "typescript" : " catalog:" ,
5050 "typescript-eslint" : " ^8.39.0" ,
5151 "vite" : " ^7.1.1" ,
52- "vite-plugin-node-polyfills" : " ^0.22 .0" ,
52+ "vite-plugin-node-polyfills" : " ^0.24 .0" ,
5353 "vite-tsconfig-paths" : " ^5.1.4"
5454 },
5555 "lint-staged" : {
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ const solanaClient = createSolanaClient({
4040 urlOrMoniker : import . meta. env . VITE_SOLANA_RPC_URL ?? "mainnet-beta" ,
4141} ) ;
4242
43- function App ( ) {
43+ export const App : React . FC = ( ) => {
4444 const wallets = useMemo (
4545 ( ) => [ new PhantomWalletAdapter ( ) , new SolflareWalletAdapter ( ) ] ,
4646 [ ] ,
@@ -69,6 +69,4 @@ function App() {
6969 </ QueryClientProvider >
7070 </ ThemeProvider >
7171 ) ;
72- }
73-
74- export default App ;
72+ } ;
Original file line number Diff line number Diff line change 11import { StrictMode } from "react" ;
22import { createRoot } from "react-dom/client" ;
33import "./index.css" ;
4- import App from "./App.tsx " ;
4+ import { App } from "./App" ;
55
66createRoot ( document . getElementById ( "root" ) ! ) . render (
77 < StrictMode >
Original file line number Diff line number Diff line change 22import tailwindcss from "@tailwindcss/vite" ;
33// @ts -expect-error something wrong with types here
44import { tanstackRouter } from "@tanstack/router-plugin/vite" ;
5+ // @ts -expect-error something wrong with types here
56import react from "@vitejs/plugin-react" ;
67import { defineConfig } from "vite" ;
78import { nodePolyfills } from "vite-plugin-node-polyfills" ;
@@ -11,13 +12,13 @@ import tsconfigPaths from "vite-tsconfig-paths";
1112export default defineConfig ( {
1213 plugins : [
1314 tsconfigPaths ( ) ,
15+ react ( ) ,
1416 tanstackRouter ( {
1517 routesDirectory : "src/routes" ,
1618 generatedRouteTree : "src/routeTree.gen.ts" ,
1719 addExtensions : true ,
1820 quoteStyle : "double" ,
1921 } ) ,
20- react ( ) ,
2122 tailwindcss ( ) ,
2223 nodePolyfills ( ) ,
2324 ] ,
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 11{
2- "name" : " @macalinao/mast -monorepo" ,
2+ "name" : " @macalinao/grill -monorepo" ,
33 "private" : true ,
44 "type" : " module" ,
55 "license" : " Apache-2.0" ,
5555 "lint-staged" : {
5656 "*.{json,jsonc,html}" : " biome format --write"
5757 },
58- "dependencies " : {
59- "@coral-xyz/borsh " : " ^0.31 .1" ,
60- "@solana/kit " : " ^2.3.0 "
58+ "overrides " : {
59+ "react " : " ^19.1 .1" ,
60+ "react-dom " : " ^19.1.1 "
6161 }
6262}
Original file line number Diff line number Diff line change 3636 "@macalinao/eslint-config" : " catalog:" ,
3737 "@macalinao/tsconfig" : " catalog:" ,
3838 "@types/bun" : " ^1.2.19" ,
39- "@types/node" : " ^22.17 .1" ,
39+ "@types/node" : " ^24.2 .1" ,
4040 "eslint" : " catalog:" ,
4141 "typescript" : " catalog:" ,
4242 "vitest" : " catalog:"
Original file line number Diff line number Diff line change 4242 "@macalinao/tsconfig" : " catalog:" ,
4343 "@types/bun" : " ^1.2.19" ,
4444 "@types/lodash-es" : " ^4.17.12" ,
45- "@types/node" : " ^22.17 .1" ,
45+ "@types/node" : " ^24.2 .1" ,
4646 "eslint" : " catalog:" ,
4747 "typescript" : " catalog:" ,
4848 "vitest" : " catalog:"
Original file line number Diff line number Diff line change 4141 "@macalinao/eslint-config-react" : " ^3.1.2" ,
4242 "@macalinao/tsconfig" : " catalog:" ,
4343 "@solana/web3.js" : " ^1.98.4" ,
44- "@types/node" : " ^22.17 .1" ,
44+ "@types/node" : " ^24.2 .1" ,
4545 "@types/react" : " ^19.1.9" ,
4646 "@types/react-dom" : " ^19.1.7" ,
4747 "eslint" : " catalog:" ,
You can’t perform that action at this time.
0 commit comments