Skip to content

Commit

Permalink
Upgrade MUD
Browse files Browse the repository at this point in the history
  • Loading branch information
TiyoSheng committed Dec 6, 2023
1 parent 46b81a2 commit c4a7ac3
Show file tree
Hide file tree
Showing 69 changed files with 16,346 additions and 11,901 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023 lewis
Copyright (c) 2023 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
7 changes: 7 additions & 0 deletions mprocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
procs:
contracts:
cwd: packages/contracts
shell: pnpm run dev
client:
cwd: packages/client
shell: pnpm run dev
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "mud-template-vanilla",
"name": "mud-template-react",
"private": true,
"scripts": {
"build": "pnpm recursive run build",
"build:client":"pnpm --filter 'client' run build",
"dev": "concurrently -n contracts,client -c cyan,magenta \"cd packages/contracts && pnpm run dev\" \"cd packages/client && pnpm run dev\"",
"dev": "mprocs",
"dev:client": "pnpm --filter 'client' run dev",
"dev:contracts": "pnpm --filter 'contracts' dev",
"foundry:up": "curl -L https://foundry.paradigm.xyz | bash && bash $HOME/.foundry/bin/foundryup",
Expand All @@ -13,11 +12,11 @@
"test": "pnpm recursive run test"
},
"devDependencies": {
"@latticexyz/cli": "2.0.0-next.4",
"@latticexyz/cli": "2.0.0-next.14",
"@typescript-eslint/eslint-plugin": "5.46.1",
"@typescript-eslint/parser": "5.46.1",
"concurrently": "^8.0.1",
"eslint": "8.29.0",
"mprocs": "^0.6.4",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/client/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VITE_CHAIN_ID=33784
VITE_CHAIN_ID=31337
VITE_TEST_CHAIN_ID=31337
VITE_IS_OPEN=true
7 changes: 7 additions & 0 deletions packages/client/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": ["../../.eslintrc", "plugin:react/recommended", "plugin:react-hooks/recommended"],
"plugins": ["react", "react-hooks"],
"rules": {
"react/react-in-jsx-scope": "off"
}
}
3 changes: 0 additions & 3 deletions packages/client/.gitignore

This file was deleted.

Loading

0 comments on commit c4a7ac3

Please sign in to comment.