diff --git a/package.json b/package.json index 1a57e2c085..f9bed58794 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "repository": "penumbra-zone/web.git", "packageManager": "pnpm@8.6.11", "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", diff --git a/packages/wasm/package.json b/packages/wasm/package.json index b294c36a50..a7a18d706b 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -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*\"",