From fd436a25df0e034a905fbcfb423c3a3e73583544 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 11 Aug 2023 22:18:35 +0000 Subject: [PATCH 1/2] feat(yarn): run workspace commands in parallel --- yarn-project/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yarn-project/package.json b/yarn-project/package.json index af110e0a61e..3e2ee48a187 100644 --- a/yarn-project/package.json +++ b/yarn-project/package.json @@ -6,14 +6,14 @@ "prepare": "node ./yarn-project-base/scripts/update_package_jsons.mjs && yarn workspaces foreach run prepare && workspaces-to-typescript-project-references --tsconfigPath tsconfig.json && prettier -w */tsconfig.json", "prepare:check": "node ./yarn-project-base/scripts/update_package_jsons.mjs --check && yarn workspaces foreach run prepare:check && workspaces-to-typescript-project-references --check --tsconfigPath tsconfig.json", "docs": "typedoc --out docs/dist && cd docs && yarn serve", - "formatting": "yarn workspaces foreach -v run formatting", - "formatting:fix": "yarn workspaces foreach -v run formatting:fix", + "formatting": "yarn workspaces foreach -p -v run formatting", + "formatting:fix": "yarn workspaces foreach -p -v run formatting:fix", "lint": "yarn eslint --cache --ignore-pattern l1-artifacts .", "format": "yarn prettier --cache -w .", - "test": "yarn build && yarn workspaces foreach -v run test", + "test": "yarn build && yarn workspaces foreach -p -v run test", "build": "yarn workspace @aztec/l1-artifacts build && tsc -b tsconfig.json", "build:dev": "yarn workspace @aztec/l1-artifacts build && tsc -b tsconfig.json --watch", - "clean": "yarn workspaces foreach -v run clean" + "clean": "yarn workspaces foreach -p -v run clean" }, "workspaces": [ "acir-simulator", From 817995c4684a8a9d68ffa82a70542bcd63b14267 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 11 Aug 2023 22:18:58 +0000 Subject: [PATCH 2/2] maybe not testing lmao --- yarn-project/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/package.json b/yarn-project/package.json index 3e2ee48a187..ed867d96a2b 100644 --- a/yarn-project/package.json +++ b/yarn-project/package.json @@ -10,7 +10,7 @@ "formatting:fix": "yarn workspaces foreach -p -v run formatting:fix", "lint": "yarn eslint --cache --ignore-pattern l1-artifacts .", "format": "yarn prettier --cache -w .", - "test": "yarn build && yarn workspaces foreach -p -v run test", + "test": "yarn build && yarn workspaces foreach -v run test", "build": "yarn workspace @aztec/l1-artifacts build && tsc -b tsconfig.json", "build:dev": "yarn workspace @aztec/l1-artifacts build && tsc -b tsconfig.json --watch", "clean": "yarn workspaces foreach -p -v run clean"