Skip to content

Commit

Permalink
v0.5.0 with local dojo.js packages
Browse files Browse the repository at this point in the history
  • Loading branch information
notV4l committed Jan 19, 2024
1 parent 39010ca commit db514b2
Show file tree
Hide file tree
Showing 22 changed files with 10,044 additions and 9,420 deletions.
2 changes: 1 addition & 1 deletion scripts/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ cp ./target/dev/manifest.json ./web/manifest.json

pushd $(dirname "$0")/../web

yarn run gen:dojo
pnpm run gen:dojo
prettier --write ./src/dojo/generated
2 changes: 1 addition & 1 deletion web/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ NEXT_PUBLIC_GRAPHQL_ENDPOINT="http://localhost:8080/graphql"
NEXT_PUBLIC_GRAPHQL_ENDPOINT_WS="ws://localhost:8080/graphql/ws"
NEXT_PUBLIC_ADMIN_ADDRESS="0x6162896d1d7ab204c7ccac6dd5f8e9e7c25ecd5ae4fcb4ad32e57786bb46e03"
NEXT_PUBLIC_ADMIN_PRIVATE_KEY="0x1800000000300000180000000000030000000000003006001800006600"
NEXT_PUBLIC_ACCOUNT_CLASS_HASH="0x04d07e40e93398ed3c76981e72dd1fd22557a78ce36c0515f679e27f0bb5bc5f"
NEXT_PUBLIC_ACCOUNT_CLASS_HASH="0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c"

8 changes: 4 additions & 4 deletions web/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
# NEXT_PUBLIC_GRAPHQL_ENDPOINT="https://api.cartridge.gg/x/rollyourown/torii"
# NEXT_PUBLIC_ADMIN_ADDRESS="0x6162896d1d7ab204c7ccac6dd5f8e9e7c25ecd5ae4fcb4ad32e57786bb46e03"
# NEXT_PUBLIC_ADMIN_PRIVATE_KEY="0x1800000000300000180000000000030000000000003006001800006600"
# NEXT_PUBLIC_ACCOUNT_CLASS_HASH="0x04d07e40e93398ed3c76981e72dd1fd22557a78ce36c0515f679e27f0bb5bc5f"
# NEXT_PUBLIC_ACCOUNT_CLASS_HASH="0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c"

NEXT_PUBLIC_DISABLE_MEDIAPLAYER_AUTOPLAY="false"
NEXT_PUBLIC_RPC_ENDPOINT="https://api.cartridge.gg/x/ryo/katana"
NEXT_PUBLIC_GRAPHQL_ENDPOINT="https://api.cartridge.gg/x/ryo/torii/graphql"
NEXT_PUBLIC_GRAPHQL_ENDPOINT_WS="wss://api.cartridge.gg/x/ryo/torii/graphql/ws"
NEXT_PUBLIC_ADMIN_ADDRESS="0x7e3d485ca5b12bbb6d2c0c2ecedc66914ec968f522ffe42fce91cdb7e1b092a"
NEXT_PUBLIC_ADMIN_PRIVATE_KEY="0x4ee49e8ed98edeb9c581efede804b1c299ab29cc444af9f282ed7cf454dff0c"
NEXT_PUBLIC_ACCOUNT_CLASS_HASH="0x04d07e40e93398ed3c76981e72dd1fd22557a78ce36c0515f679e27f0bb5bc5f"
NEXT_PUBLIC_ADMIN_ADDRESS="0x77d1e07891e1a2ee5dc4a0b94b0f9adc965ea66e1095b7f9e4819b806a4d7e8"
NEXT_PUBLIC_ADMIN_PRIVATE_KEY="0x44c494e4b484e4b1c4f49364b484e4b432303432303292330f957f0f548f7b5"
NEXT_PUBLIC_ACCOUNT_CLASS_HASH="0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c"
18 changes: 9 additions & 9 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "next lint",
"format": "prettier --write ./src",
"gen": "graphql-codegen --config codegen.yaml",
"gen:dojo": "yarn gen:events",
"gen:dojo": "pnpm gen:events",
"gen:models": "#npx create-models ./manifest.json ./src/dojo/generated/contractModels.ts",
"gen:events": "npx create-events ./manifest.json ./src/dojo/generated/contractEvents.ts"
},
Expand All @@ -21,13 +21,13 @@
"dependencies": {
"@chakra-ui/anatomy": "^2.1.1",
"@chakra-ui/react": "^2.8.1",
"@dojoengine/core": "^0.1.30",
"@dojoengine/create-burner": "0.1.30",
"@dojoengine/utils": "0.1.30",
"@dojoengine/core": "file:node_modules/@dojoengine/core",
"@dojoengine/create-burner": "file:../../dojo-packages/packages/create-burner",
"@dojoengine/utils": "0.3.4",
"@dojoengine/torii-client": "0.3.4",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@latticexyz/recs": "2.0.0-next.9",
"@latticexyz/utils": "2.0.0-next.9",
"@vercel/analytics": "^1.0.2",
"eslint": "8.36.0",
"eslint-config-next": "13.2.4",
Expand All @@ -42,11 +42,11 @@
"next": "^13.5.3",
"next-pwa": "^5.6.0",
"proxy-deep": "^3.1.1",
"react": "18.2.0",
"react": "^18.2.0",
"react-countdown": "^2.3.5",
"react-dom": "18.2.0",
"react-dom": "^18.2.0",
"react-query": "^3.39.2",
"starknet": "^5.19.5",
"starknet": "^5.24.3",
"use-caret-position": "^0.0.2",
"zustand": "^4.3.7"
},
Expand All @@ -67,4 +67,4 @@
"prettier": "^2.8.8",
"typescript": "5.2.2"
}
}
}
Loading

0 comments on commit db514b2

Please sign in to comment.