Skip to content

Commit e6fa40d

Browse files
feat: clean up package builds
1 parent 903b915 commit e6fa40d

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

packages/create-dojo/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616
"scripts": {
1717
"dev": "tsup --watch",
18-
"build": "tsup --dts-resolve"
18+
"build": "tsup --dts-resolve",
19+
"test": "vitest run --coverage"
1920
},
2021
"dependencies": {
2122
"@inquirer/prompts": "^3.3.0",

packages/torii-client/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"main": "dist/index.js",
88
"type": "module",
99
"scripts": {
10-
"build": "tsup --dts-resolve"
10+
"build": "tsup --dts-resolve",
11+
"test": "echo \"Error: no test specified\" && exit 1"
1112
},
1213
"exports": {
1314
".": {

packages/torii-wasm/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -ex
55

66
# Clone the repository
7-
git clone --depth 1 --branch v1.0.0-alpha.12 https://github.com/dojoengine/dojo.c dojo.c
7+
git clone --depth 1 https://github.com/dojoengine/dojo.c dojo.c
88
cd dojo.c
99

1010
# Build for web (browser)

packages/torii-wasm/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"type": "module",
99
"scripts": {
1010
"build-wasm": "sh ./build.sh",
11-
"build": "npm run build-wasm && tsc"
11+
"build": "npm run build-wasm && tsc",
12+
"test": "echo \"Error: no test specified\" && exit 1"
1213
},
1314
"module": "./pkg/web/dojo_c.js",
1415
"types": "./pkg/web/dojo_c.d.ts",

packages/utils-wasm/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"type": "module",
99
"scripts": {
1010
"build-wasm": "cd crate && ./build.sh",
11-
"build": "npm run build-wasm && tsc"
11+
"build": "npm run build-wasm && tsc",
12+
"test": "echo \"Error: no test specified\" && exit 1"
1213
},
1314
"files": [
1415
"./pkg/utils_wasm_bg.wasm",

0 commit comments

Comments
 (0)