diff --git a/bun.lockb b/bun.lockb index a7795a37..8cae6050 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/examples/react-phaser-example/.env b/examples/react-phaser-example/.env.development similarity index 73% rename from examples/react-phaser-example/.env rename to examples/react-phaser-example/.env.development index 49b085e6..7c66c62b 100644 --- a/examples/react-phaser-example/.env +++ b/examples/react-phaser-example/.env.development @@ -2,6 +2,7 @@ VITE_PUBLIC_ETH_CONTRACT_ADDRESS=0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c74 VITE_PUBLIC_ACCOUNT_CLASS_HASH=0x04d07e40e93398ed3c76981e72dd1fd22557a78ce36c0515f679e27f0bb5bc5f VITE_PUBLIC_MASTER_ADDRESS=0x517ececd29116499f4a1b64b094da79ba08dfd54a3edaa316134c41f8160973 VITE_PUBLIC_MASTER_PRIVATE_KEY=0x1800000000300000180000000000030000000000003006001800006600 -VITE_PUBLIC_WORLD_ADDRESS=0x534692277764b04cfc469858891b825c799d1da550d2509fdd5be2f32abdaa0 +VITE_PUBLIC_WORLD_ADDRESS=0x33ac2f528bb97cc7b79148fd1756dc368be0e95d391d8c6d6473ecb60b4560e VITE_PUBLIC_NODE_URL=http://localhost:5050 -VITE_PUBLIC_TORII=http://localhost:8080 \ No newline at end of file +VITE_PUBLIC_TORII=http://localhost:8080 +VITE_PUBLIC_DEV=true diff --git a/examples/react-phaser-example/.prettierrc b/examples/react-phaser-example/.prettierrc new file mode 100644 index 00000000..36ff1651 --- /dev/null +++ b/examples/react-phaser-example/.prettierrc @@ -0,0 +1,8 @@ +{ + "trailingComma": "es5", + "tabWidth": 4, + "semi": true, + "singleQuote": false, + "bracketSpacing": true, + "printWidth": 80 +} diff --git a/examples/react-phaser-example/bun.lockb b/examples/react-phaser-example/bun.lockb new file mode 100755 index 00000000..37712492 Binary files /dev/null and b/examples/react-phaser-example/bun.lockb differ diff --git a/examples/react-phaser-example/codegen.ts b/examples/react-phaser-example/codegen.ts deleted file mode 100644 index fb3280cc..00000000 --- a/examples/react-phaser-example/codegen.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { CodegenConfig } from "@graphql-codegen/cli"; - -const config: CodegenConfig = { - schema: "http://localhost:8080", - documents: "src/**/*.graphql", - generates: { - "src/generated/graphql.ts": { - plugins: [ - "typescript", - "typescript-operations", - "typescript-graphql-request", - ], - config: { - rawRequest: true, - }, - }, - }, -}; -export default config; diff --git a/examples/react-phaser-example/components.json b/examples/react-phaser-example/components.json new file mode 100644 index 00000000..2a12988a --- /dev/null +++ b/examples/react-phaser-example/components.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://ui.shadcn.com/schema.json", + "style": "default", + "rsc": false, + "tsx": true, + "tailwind": { + "config": "tailwind.config.js", + "css": "src/index.css", + "baseColor": "stone", + "cssVariables": true + }, + "aliases": { + "components": "src/components", + "utils": "src/lib/utils" + } +} diff --git a/examples/react-phaser-example/index.html b/examples/react-phaser-example/index.html index e0ef3be8..5b6420e9 100644 --- a/examples/react-phaser-example/index.html +++ b/examples/react-phaser-example/index.html @@ -4,7 +4,7 @@ -