diff --git a/compiler/wasm/package.json b/compiler/wasm/package.json index c2f815abedc..01ad9680f43 100644 --- a/compiler/wasm/package.json +++ b/compiler/wasm/package.json @@ -23,7 +23,7 @@ "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha", "test:node": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha", "test:browser": "web-test-runner", - "clean": "rm -rf ./nodejs ./web ./target", + "clean": "rm -rf ./nodejs ./web ./target ./result", "lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0" }, "peerDependencies": { @@ -37,4 +37,4 @@ "@web/test-runner-webdriver": "^0.7.0", "mocha": "^10.2.0" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 84cada28471..72a78215484 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,9 @@ "build": "yarn workspaces foreach run build", "test": "yarn workspaces foreach run test", "test:integration": "yarn workspace integration-tests test", - "clean:workspaces": "yarn workspaces foreach run clean", + "clean:workspaces": "yarn workspaces foreach --exclude @noir-lang/root run clean", "clean:root": "rm -rf ./result ./target", - "clean": "yarn clean:workspaces && yarn clean:parent", + "clean": "yarn clean:workspaces && yarn clean:root", "lint": "yarn workspaces foreach run lint", "build:with:nix": "nix build -L .#wasm", "install:from:nix:noirc_abi_wasm": "cp -r ./result/noirc_abi_wasm/nodejs ./tooling/noirc_abi_wasm && cp -r ./result/noirc_abi_wasm/web ./tooling/noirc_abi_wasm", @@ -39,4 +39,4 @@ "dependencies": { "tslog": "^4.9.2" } -} +} \ No newline at end of file diff --git a/tooling/noirc_abi_wasm/package.json b/tooling/noirc_abi_wasm/package.json index af51188daee..23def0e1197 100644 --- a/tooling/noirc_abi_wasm/package.json +++ b/tooling/noirc_abi_wasm/package.json @@ -25,7 +25,7 @@ "build": "bash ./build.sh", "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha", "test:browser": "web-test-runner", - "clean": "rm -rf ./nodejs ./web ./target", + "clean": "rm -rf ./nodejs ./web ./target ./result", "lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0" }, "devDependencies": { @@ -37,4 +37,4 @@ "eslint": "^8.40.0", "mocha": "^10.2.0" } -} +} \ No newline at end of file