Skip to content

Commit

Permalink
wasm clean script, all-check clean (#974)
Browse files Browse the repository at this point in the history
  • Loading branch information
turbocrime committed Apr 24, 2024
1 parent f4b20a6 commit 110c29d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": "penumbra-zone/web.git",
"packageManager": "[email protected]",
"scripts": {
"all-check": "pnpm install && pnpm compile && pnpm format-check && pnpm lint && pnpm test && pnpm build && pnpm format-check:rust && pnpm lint:rust && pnpm test:rust",
"all-check": "pnpm clean && pnpm install && pnpm compile && pnpm format-check && pnpm lint && pnpm test && pnpm build && pnpm format-check:rust && pnpm lint:rust && pnpm test:rust",
"build": "turbo run build",
"changeset": "changeset",
"changeset:publish": "changeset publish",
Expand Down
3 changes: 2 additions & 1 deletion packages/wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"license": "(MIT OR Apache-2.0)",
"type": "module",
"scripts": {
"clean": "rm -rfv dist wasm ; cargo clean --manifest-path ./crate/Cargo.toml",
"clean": "rm -v wasm/index*",
"clean:rust": "cargo clean --manifest-path ./crate/Cargo.toml",
"compile": "cd crate ; wasm-pack build --no-pack --target bundler --out-name index --out-dir ../wasm",
"dev": "cargo watch -C ./crate --postpone -- pnpm turbo run compile",
"lint": "eslint \"src/*.ts*\"",
Expand Down

0 comments on commit 110c29d

Please sign in to comment.