Skip to content

Commit

Permalink
Merge pull request #5702 from NomicFoundation/feature/modify-example-…
Browse files Browse the repository at this point in the history
…package

Remove hardhatFoo plugin from Hardhat package
  • Loading branch information
kanej authored Sep 2, 2024
2 parents 4e679ed + ebdcef5 commit e0d62ae
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 126 deletions.

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions v-next/hardhat/src/internal/builtin-plugins/hardhat-foo/index.ts

This file was deleted.

This file was deleted.

9 changes: 1 addition & 8 deletions v-next/hardhat/src/internal/builtin-plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,12 @@ import type { HardhatPlugin } from "../../types/plugins.js";

import clean from "./clean/index.js";
import console from "./console/index.js";
import hardhatFoo from "./hardhat-foo/index.js";
import run from "./run/index.js";

// Note: When importing a plugin, you have to export its types, so that its
// type extensions, if any, also get loaded.
export type * from "./clean/index.js";
export type * from "./console/index.js";
export type * from "./hardhat-foo/index.js";
export type * from "./run/index.js";

export const builtinPlugins: HardhatPlugin[] = [
clean,
console,
hardhatFoo,
run,
];
export const builtinPlugins: HardhatPlugin[] = [clean, console, run];
1 change: 0 additions & 1 deletion v-next/hardhat/test/hre/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ describe("HRE", () => {
init: false,
showStackTraces: false,
version: false,
fooPluginFlag: false,
myGlobalOption: "default",
});
});
Expand Down
2 changes: 0 additions & 2 deletions v-next/hardhat/test/internal/cli/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,14 +224,12 @@ AVAILABLE TASKS:
clean Clears the cache and deletes all artifacts
console Opens a hardhat console
example Example task
run Runs a user-defined script after compiling the project
task A task that uses arg1
GLOBAL OPTIONS:
--config A Hardhat config file.
--foo-plugin-flag A flag
--help Shows this message, or a task's help if its name is provided.
--init Initializes a Hardhat project.
--show-stack-traces Show stack traces (always enabled on CI servers).
Expand Down

0 comments on commit e0d62ae

Please sign in to comment.