Skip to content

Commit

Permalink
move torii-wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Nov 3, 2023
1 parent bedc43e commit 9c1d2c0
Show file tree
Hide file tree
Showing 18 changed files with 5,160 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
matrix:
package:
[
"packages/torii-client",
"packages/create-burner",
"packages/utils",
"packages/core",
"packages/torii-client",
]

steps:
Expand Down
Binary file modified bun.lockb
Binary file not shown.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"packages/create-burner",
"packages/core",
"packages/utils",
"packages/torii-client"
"packages/torii-client",
"packages/torii-wasm"
],
"devDependencies": {
"prettier": "^3.0.3"
Expand All @@ -14,6 +15,8 @@
"build-core": "bun run --cwd packages/core build",
"build-create-burner": "bun run --cwd packages/create-burner build",
"build-utils": "bun run --cwd packages/utils build",
"build": "bun run build-core && bun run build-create-burner && bun run build-utils"
"build-torii-client": "bun run --cwd packages/torii-client build",
"build-torii-wasm": "bun run --cwd packages/torii-wasm build",
"build": "bun run build-core && bun run build-create-burner && bun run build-utils && bun run build-torii-client && bun run build-torii-wasm"
}
}
2 changes: 1 addition & 1 deletion packages/torii-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"license": "MIT",
"dependencies": {
"starknet": "^5.19.5",
"torii-client-wasm": "file:../pkg",
"@dojoengine/torii-wasm": "../../packages/torii-wasm",
"typescript": "^5.0.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/torii-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { createClient, Client, ClientConfig } from "torii-client-wasm";
export { createClient, Client, ClientConfig } from "@dojoengine/torii-wasm";
3 changes: 3 additions & 0 deletions packages/torii-wasm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
dist
**/*/target
5 changes: 5 additions & 0 deletions packages/torii-wasm/crate/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build]
target = "wasm32-unknown-unknown"

[target.wasm32-unknown-unknown]
runner = 'wasm-bindgen-test-runner'
Loading

0 comments on commit 9c1d2c0

Please sign in to comment.