From 6fef0e94cf9b6226578629fe450eeba3bf97f0ab Mon Sep 17 00:00:00 2001 From: Will Cory Date: Sun, 12 Feb 2023 07:43:34 -0800 Subject: [PATCH 1/3] commit unused tsconfig.json --- packages/easy-foundryup/src/tsconfig.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 packages/easy-foundryup/src/tsconfig.json diff --git a/packages/easy-foundryup/src/tsconfig.json b/packages/easy-foundryup/src/tsconfig.json deleted file mode 100644 index 0858817..0000000 --- a/packages/easy-foundryup/src/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "../../../config/typescript/tsconfig.json", - "compilerOptions": { - "outDir": "../dist", - "rootDirs": ["."], - "composite": true - }, - "include": ["./**/*.ts"], - "exclude": [] -} From c530874d819eb3c6d5361012e877d8624d5f613e Mon Sep 17 00:00:00 2001 From: Will Cory Date: Sun, 12 Feb 2023 08:21:42 -0800 Subject: [PATCH 2/3] fix outputs --- packages/easy-foundryup/package.json | 4 ++-- packages/easy-foundryup/tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/easy-foundryup/package.json b/packages/easy-foundryup/package.json index 2ced65c..a22ef64 100644 --- a/packages/easy-foundryup/package.json +++ b/packages/easy-foundryup/package.json @@ -5,8 +5,8 @@ "homepage": "https://github.com/foundry-rs/hardhat", "repository": "github:foundry-rs/hardhat", "license": "MIT", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "dist/src/index.js", + "types": "dist/src/index.d.ts", "keywords": [ "ethereum", "smart-contracts", diff --git a/packages/easy-foundryup/tsconfig.json b/packages/easy-foundryup/tsconfig.json index 5534e6e..29726e7 100644 --- a/packages/easy-foundryup/tsconfig.json +++ b/packages/easy-foundryup/tsconfig.json @@ -1,7 +1,8 @@ { "extends": "../../config/typescript/tsconfig.json", "compilerOptions": { - "outDir": "./dist" + "outDir": "./dist", + "rootDir": "./src" }, "exclude": ["./dist", "./node_modules"] } From 231e3cf6f55838d6af4e81c5b76369b459ab15de Mon Sep 17 00:00:00 2001 From: Will Cory Date: Sun, 12 Feb 2023 08:25:44 -0800 Subject: [PATCH 3/3] remove references to wrong tsconfig --- packages/easy-foundryup/tsconfig.json | 3 +-- packages/hardhat-forge/tsconfig.json | 7 +------ packages/hardhat/tsconfig.json | 7 +------ 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/packages/easy-foundryup/tsconfig.json b/packages/easy-foundryup/tsconfig.json index 29726e7..5534e6e 100644 --- a/packages/easy-foundryup/tsconfig.json +++ b/packages/easy-foundryup/tsconfig.json @@ -1,8 +1,7 @@ { "extends": "../../config/typescript/tsconfig.json", "compilerOptions": { - "outDir": "./dist", - "rootDir": "./src" + "outDir": "./dist" }, "exclude": ["./dist", "./node_modules"] } diff --git a/packages/hardhat-forge/tsconfig.json b/packages/hardhat-forge/tsconfig.json index da623d8..73a24a5 100644 --- a/packages/hardhat-forge/tsconfig.json +++ b/packages/hardhat-forge/tsconfig.json @@ -3,10 +3,5 @@ "compilerOptions": { "outDir": "./dist" }, - "exclude": ["./dist", "./node_modules", "./test/**/hardhat.config.ts"], - "references": [ - { - "path": "../easy-foundryup/src" - } - ] + "exclude": ["./dist", "./node_modules", "./test/**/hardhat.config.ts"] } diff --git a/packages/hardhat/tsconfig.json b/packages/hardhat/tsconfig.json index da623d8..73a24a5 100644 --- a/packages/hardhat/tsconfig.json +++ b/packages/hardhat/tsconfig.json @@ -3,10 +3,5 @@ "compilerOptions": { "outDir": "./dist" }, - "exclude": ["./dist", "./node_modules", "./test/**/hardhat.config.ts"], - "references": [ - { - "path": "../easy-foundryup/src" - } - ] + "exclude": ["./dist", "./node_modules", "./test/**/hardhat.config.ts"] }