Skip to content

Commit

Permalink
chore: dev mprocs start
Browse files Browse the repository at this point in the history
  • Loading branch information
noyyyy committed Dec 27, 2023
1 parent 525194b commit 4a85d38
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 10 deletions.
9 changes: 9 additions & 0 deletions mprocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
procs:
contracts:
cwd: packages/contracts
shell: pnpm wait-port 5050; sozo migrate
client:
cwd: packages/client
shell: pnpm run dev
katana:
shell: katana
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "mprocs"
},
"keywords": [],
"author": "",
"license": "ISC"
}
"license": "ISC",
"dependencies": {
"mprocs": "^0.6.4",
"wait-port": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/client/src/dojo/setupNetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineContractComponents } from "./contractComponents";
import { world } from "./world";
import { DojoProvider } from "@dojoengine/core";
import { Account, num } from "starknet";
import dev_manifest from "../../../dojo-starter/target/dev/manifest.json";
import dev_manifest from "../../../contracts/target/dev/manifest.json";
import * as torii from "@dojoengine/torii-client";
import { createBurner } from "./createBurner";

Expand Down
39 changes: 33 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4a85d38

Please sign in to comment.