Skip to content

Commit

Permalink
chore: fix infinite loop in yarn workspace cleaning (#2863)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Sep 27, 2023
1 parent b8d9c34 commit eecdd69
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions compiler/wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -37,4 +37,4 @@
"@web/test-runner-webdriver": "^0.7.0",
"mocha": "^10.2.0"
}
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -39,4 +39,4 @@
"dependencies": {
"tslog": "^4.9.2"
}
}
}
4 changes: 2 additions & 2 deletions tooling/noirc_abi_wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -37,4 +37,4 @@
"eslint": "^8.40.0",
"mocha": "^10.2.0"
}
}
}

0 comments on commit eecdd69

Please sign in to comment.