Skip to content

Commit

Permalink
Merge pull request #5860 from NomicFoundation/normalize-builitin-plug…
Browse files Browse the repository at this point in the history
…in-names

Normalize the builtin plugin names
  • Loading branch information
alcuadrado authored Oct 28, 2024
2 parents 8bd1042 + 1c893f4 commit 3cc4a6b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { HardhatPlugin } from "../../../types/plugins.js";
import "./type-extensions.js";

const hardhatPlugin: HardhatPlugin = {
id: "artifacts",
id: "builtin:artifacts",
hookHandlers: {
hre: import.meta.resolve("./hook-handlers/hre.js"),
},
Expand Down
2 changes: 1 addition & 1 deletion v-next/hardhat/src/internal/builtin-plugins/clean/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { HardhatPlugin } from "../../../types/plugins.js";
import { task } from "../../core/config.js";

const hardhatPlugin: HardhatPlugin = {
id: "clean",
id: "builtin:clean",
tasks: [
task("clean", "Clears the cache and deletes all artifacts")
.addFlag({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { HardhatPlugin } from "../../../types/plugins.js";
import { task } from "../../core/config.js";

const hardhatPlugin: HardhatPlugin = {
id: "console",
id: "builtin:console",
tasks: [
task("console", "Opens a hardhat console")
.setAction(import.meta.resolve("./task-action.js"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "./type-extensions/hooks.js";
import "./type-extensions/hre.js";

const hardhatPlugin: HardhatPlugin = {
id: "network-manager",
id: "builtin:network-manager",
hookHandlers: {
config: import.meta.resolve("./hook-handlers/config.js"),
hre: import.meta.resolve("./hook-handlers/hre.js"),
Expand Down
2 changes: 1 addition & 1 deletion v-next/hardhat/src/internal/builtin-plugins/run/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { HardhatPlugin } from "../../../types/plugins.js";
import { task } from "../../core/config.js";

const hardhatPlugin: HardhatPlugin = {
id: "run",
id: "builtin:run",
tasks: [
task("run", "Runs a user-defined script after compiling the project")
.addPositionalArgument({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ArgumentType } from "../../../types/arguments.js";
import { task } from "../../core/config.js";

const hardhatPlugin: HardhatPlugin = {
id: "builtin:solidity-test",
id: "builtin:solidity-tests",
tasks: [
task(["test:solidity"], "Run the Solidity tests")
.setAction(import.meta.resolve("./task-action.js"))
Expand Down

0 comments on commit 3cc4a6b

Please sign in to comment.