From c59448cc2fe74b68b5fc2103925bd6223d3158ae Mon Sep 17 00:00:00 2001 From: John Kane Date: Mon, 28 Oct 2024 22:19:41 +0000 Subject: [PATCH 1/2] chore: fix mispelling in template description --- v-next/hardhat/templates/typescript-with-examples/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v-next/hardhat/templates/typescript-with-examples/package.json b/v-next/hardhat/templates/typescript-with-examples/package.json index 1f6e686f96..5b8ec0273f 100644 --- a/v-next/hardhat/templates/typescript-with-examples/package.json +++ b/v-next/hardhat/templates/typescript-with-examples/package.json @@ -2,7 +2,7 @@ "name": "template-typescript-with-examples", "private": true, "version": "0.0.1", - "description": "A TypeScrpit Hardhat project with examples", + "description": "A TypeScript Hardhat project with examples", "type": "module", "devDependencies": { "@ignored/hardhat-vnext": "workspace:^3.0.0-next.5", From 794752d658de5b76f08cb1d7aa913cc59cd9af76 Mon Sep 17 00:00:00 2001 From: John Kane Date: Mon, 28 Oct 2024 22:23:55 +0000 Subject: [PATCH 2/2] chore: update `HardhatUserConfig` import path in templates Change the import path to `@ignored/hardhat-vnext/config` so that the built-in type extensions are loaded. --- v-next/example-project/hardhat.config.ts | 2 +- .../test/fixture-projects/default-ts-project/hardhat.config.ts | 2 +- v-next/hardhat/templates/empty-typescript/hardhat.config.ts | 2 +- .../templates/typescript-with-examples/hardhat.config.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/v-next/example-project/hardhat.config.ts b/v-next/example-project/hardhat.config.ts index 174d29c7c8..cea163307c 100644 --- a/v-next/example-project/hardhat.config.ts +++ b/v-next/example-project/hardhat.config.ts @@ -1,4 +1,4 @@ -import type { HardhatUserConfig } from "@ignored/hardhat-vnext/types/config"; +import type { HardhatUserConfig } from "@ignored/hardhat-vnext/config"; import { HardhatPluginError } from "@ignored/hardhat-vnext/plugins"; diff --git a/v-next/hardhat-viem/test/fixture-projects/default-ts-project/hardhat.config.ts b/v-next/hardhat-viem/test/fixture-projects/default-ts-project/hardhat.config.ts index 35030566b8..5c1d794a8c 100644 --- a/v-next/hardhat-viem/test/fixture-projects/default-ts-project/hardhat.config.ts +++ b/v-next/hardhat-viem/test/fixture-projects/default-ts-project/hardhat.config.ts @@ -1,4 +1,4 @@ -import type { HardhatUserConfig } from "@ignored/hardhat-vnext/types/config"; +import type { HardhatUserConfig } from "@ignored/hardhat-vnext/config"; import HardhatViem from "../../../src/index.js"; diff --git a/v-next/hardhat/templates/empty-typescript/hardhat.config.ts b/v-next/hardhat/templates/empty-typescript/hardhat.config.ts index 822e1a3ec1..83ba902b6e 100644 --- a/v-next/hardhat/templates/empty-typescript/hardhat.config.ts +++ b/v-next/hardhat/templates/empty-typescript/hardhat.config.ts @@ -1,4 +1,4 @@ -import type { HardhatUserConfig } from "@ignored/hardhat-vnext/types/config"; +import type { HardhatUserConfig } from "@ignored/hardhat-vnext/config"; const config: HardhatUserConfig = {}; diff --git a/v-next/hardhat/templates/typescript-with-examples/hardhat.config.ts b/v-next/hardhat/templates/typescript-with-examples/hardhat.config.ts index 8488537d63..5d5a0dc75b 100644 --- a/v-next/hardhat/templates/typescript-with-examples/hardhat.config.ts +++ b/v-next/hardhat/templates/typescript-with-examples/hardhat.config.ts @@ -1,4 +1,4 @@ -import type { HardhatUserConfig } from "@ignored/hardhat-vnext/types/config"; +import type { HardhatUserConfig } from "@ignored/hardhat-vnext/config"; import HardhatNodeTestRunner from "@ignored/hardhat-vnext-node-test-runner";