Skip to content

Commit

Permalink
Update mud version
Browse files Browse the repository at this point in the history
  • Loading branch information
TiyoSheng committed Aug 9, 2024
1 parent bc8db3f commit 65e2390
Show file tree
Hide file tree
Showing 23 changed files with 3,115 additions and 2,640 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# suppress diffs for generated files
**/pnpm-lock.yaml linguist-generated=true
**/codegen/**/*.sol linguist-generated=true
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["JuanBlanco.solidity"]
"recommendations": ["NomicFoundation.hardhat-solidity", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"solidity.monoRepoSupport": true
"typescript.tsdk": "node_modules/typescript/lib"
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023 Tiyo <[email protected]>
Copyright (c) 2024 Tiyo <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 6 additions & 3 deletions mprocs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
procs:
contracts:
cwd: packages/contracts
shell: pnpm run dev
client:
cwd: packages/client
shell: pnpm run dev
contracts:
cwd: packages/contracts
shell: pnpm mud dev-contracts --rpc http://127.0.0.1:8545
anvil:
cwd: packages/contracts
shell: anvil --base-fee 0 --block-time 2
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@
"test": "pnpm recursive run test"
},
"devDependencies": {
"@latticexyz/cli": "2.0.0-next.14",
"@typescript-eslint/eslint-plugin": "5.46.1",
"@typescript-eslint/parser": "5.46.1",
"eslint": "8.29.0",
"@latticexyz/cli": "2.1.0",
"@latticexyz/common": "2.1.0",
"@types/debug": "4.1.7",
"@typescript-eslint/eslint-plugin": "7.1.1",
"@typescript-eslint/parser": "7.1.1",
"eslint": "8.57.0",
"mprocs": "^0.6.4",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
"typescript": "5.4.2"
},
"engines": {
"node": "18.x",
"pnpm": "8.x"
"node": "^18",
"pnpm": "^8 || ^9"
}
}
4 changes: 2 additions & 2 deletions packages/client/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VITE_CHAIN_ID=11155420
VITE_TEST_CHAIN_ID=11155420
VITE_CHAIN_ID=31337
VITE_TEST_CHAIN_ID=31337
VITE_IS_OPEN=true
18 changes: 8 additions & 10 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@
"test": "tsc --noEmit"
},
"dependencies": {
"@latticexyz/common": "2.0.0-next.14",
"@latticexyz/dev-tools": "2.0.0-next.14",
"@latticexyz/react": "2.0.0-next.14",
"@latticexyz/recs": "^1.43.0",
"@latticexyz/schema-type": "2.0.0-next.14",
"@latticexyz/services": "2.0.0-next.14",
"@latticexyz/store-sync": "2.0.0-next.14",
"@latticexyz/utils": "2.0.0-next.14",
"@latticexyz/world": "2.0.0-next.14",
"@latticexyz/common": "2.1.0",
"@latticexyz/dev-tools": "2.1.0",
"@latticexyz/react": "2.1.0",
"@latticexyz/schema-type": "2.1.0",
"@latticexyz/store-sync": "2.1.0",
"@latticexyz/utils": "2.1.0",
"@latticexyz/world": "2.1.0",
"@pixi/react": "^7.1.1",
"@types/node": "^18.15.11",
"@vitejs/plugin-react": "^4.1.1",
Expand All @@ -39,7 +37,7 @@
"rxjs": "7.5.5",
"sass": "^1.69.5",
"swiper": "^11.0.5",
"viem": "1.14.0"
"viem": "2.9.20"
},
"devDependencies": {
"@types/react": "18.2.22",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/mud/MUDContext.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createContext, ReactNode, useContext } from "react";
import { SetupResult } from "./setup"
import { SetupResult } from "./setup";

const MUDContext = createContext<SetupResult | null>(null);

Expand Down
Loading

0 comments on commit 65e2390

Please sign in to comment.