From 827188b64c5498ad9a873f9e019a2b8bcb0e4bf5 Mon Sep 17 00:00:00 2001 From: The Dark Jester Date: Fri, 20 Sep 2024 05:42:03 -0700 Subject: [PATCH] Use TS_NODE_TRANSPILE_ONLY override (#70) Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com> --- contracts/Makefile | 1 + contracts/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contracts/Makefile b/contracts/Makefile index ab02e1c4..ffd6cf56 100644 --- a/contracts/Makefile +++ b/contracts/Makefile @@ -3,6 +3,7 @@ compile: pnpm run build +force-compile: export TS_NODE_TRANSPILE_ONLY := 1 force-compile: npx hardhat compile --force diff --git a/contracts/package.json b/contracts/package.json index 4f54b512..cb62ca13 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -5,7 +5,7 @@ "pnpm": ">=9" }, "scripts": { - "build": "npx hardhat compile", + "build": "TS_NODE_TRANSPILE_ONLY=1 npx hardhat compile", "test": "npm run autoupdate && npx hardhat test", "test:reportgas": "REPORT_GAS=true npx hardhat test", "coverage": "npm run autoupdate && npx hardhat coverage --solcoverjs ./.solcover.js",