Skip to content

Commit

Permalink
Prepare v0.2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar Oostendorp committed May 10, 2024
1 parent 4a1f1ad commit 13f3d87
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 37 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# client
The (browser) client

Version 0.2.15
Version 0.2.16

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.15
0.2.16
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
services:
pixelaw-core:
image: ghcr.io/pixelaw/core:0.2.0
image: ghcr.io/pixelaw/core:0.2.5
platform: linux/x86_64
container_name: pixelaw-core
environment:
- DISABLE_FEE=true
- DISABLE_VALIDATE=true
- RUST_LOG=info,hyper=off
- WORLD_ADDRESS=0xfea84b178ab1dc982ef9e369246f8c4d53aea52ea7af08879911f436313e4e
- WORLD_ADDRESS=0x308cf899b99ecd34b86ceed1d7ee1c1567cec44cff625bb732732a44c41a1b8
- INVOKE_MAX_STEPS=4000000
ports:
- "127.0.0.1:5050:5050"
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": false,
"type": "module",
"license": "MIT",
"version": "0.2.15",
"version": "0.2.16",
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
"scripts": {
"dev": "rm -rf node_modules/.vite && vite",
Expand Down Expand Up @@ -65,8 +65,6 @@
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-graphql-request": "^6.0.0",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@import-meta-env/cli": "^0.6.8",
"@import-meta-env/unplugin": "^0.5.1",
"@types/lodash": "^4.14.200",
"@types/node": "^20.8.6",
"@types/react": "^18.2.28",
Expand Down
44 changes: 14 additions & 30 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,40 +1,24 @@
import path from "path"
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"
import ImportMetaEnvPlugin from "@import-meta-env/unplugin";
import {defineConfig} from "vite"
import wasm from 'vite-plugin-wasm'
import topLevelAwait from "vite-plugin-top-level-await";

export default defineConfig({
build: {
sourcemap: true
},
plugins: [
react(),
wasm(),
topLevelAwait(),
ImportMetaEnvPlugin.vite({
example: ".env.example",
}),
],
optimizeDeps: {
},
server: {
proxy: {
'/api': {
target: 'http://localhost:3000/',
changeOrigin: true,
},
'/world': {
target: 'http://localhost:3000/',
changeOrigin: true,
}
build: {
sourcemap: true
},
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
plugins: [
react(),
wasm(),
topLevelAwait(),
],
optimizeDeps: {},
server: {},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
},

})

0 comments on commit 13f3d87

Please sign in to comment.