From 032ddc53840e79b3f324b99b82f0aebfa3c83bfe Mon Sep 17 00:00:00 2001 From: Maddiaa <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 2 Feb 2024 15:07:26 +0000 Subject: [PATCH] fix: transpiler build (#4386) --- build_manifest.yml | 3 ++- yarn-project/noir-contracts/package.json | 2 +- yarn-project/noir-contracts/package.local.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build_manifest.yml b/build_manifest.yml index 00af54931b9..ab957e22a0c 100644 --- a/build_manifest.yml +++ b/build_manifest.yml @@ -215,4 +215,5 @@ avm-transpiler: buildDir: . dockerfile: avm-transpiler/Dockerfile rebuildPatterns: - - ^avm-transpiler/ \ No newline at end of file + - ^avm-transpiler/ + - ^noir/ \ No newline at end of file diff --git a/yarn-project/noir-contracts/package.json b/yarn-project/noir-contracts/package.json index 6845b1f90ff..38bf26e463b 100644 --- a/yarn-project/noir-contracts/package.json +++ b/yarn-project/noir-contracts/package.json @@ -14,7 +14,7 @@ "formatting": "run -T prettier --check ./src && run -T eslint ./src", "formatting:fix": "run -T eslint --fix ./src && run -T prettier -w ./src", "test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --passWithNoTests", - "build:contracts": "./scripts/compile.sh && ./scripts/generate-types.sh" + "build:contracts": "./scripts/compile.sh && ./scripts/transpile.sh && ./scripts/generate-types.sh" }, "inherits": [ "../package.common.json", diff --git a/yarn-project/noir-contracts/package.local.json b/yarn-project/noir-contracts/package.local.json index 6fb912b0da8..9ea766d3f11 100644 --- a/yarn-project/noir-contracts/package.local.json +++ b/yarn-project/noir-contracts/package.local.json @@ -1,7 +1,7 @@ { "scripts": { "build": "yarn clean && yarn build:contracts && tsc -b", - "build:contracts": "./scripts/compile.sh && ./scripts/generate-types.sh", + "build:contracts": "./scripts/compile.sh && ./scripts/transpile.sh && ./scripts/generate-types.sh", "clean": "rm -rf ./dest .tsbuildinfo ./src ./target" } }