From b881348c6029497261b41f9cd5c32ecdb1b0f539 Mon Sep 17 00:00:00 2001 From: galargh Date: Thu, 5 Sep 2024 10:01:01 +0200 Subject: [PATCH] fix: pnpm build before pnpm test:only --- v-next/example-project/package.json | 1 - v-next/hardhat-build-system/package.json | 2 +- v-next/hardhat-errors/package.json | 2 +- v-next/hardhat-mocha-test-runner/package.json | 2 +- v-next/hardhat-node-test-reporter/package.json | 3 ++- v-next/hardhat-node-test-runner/package.json | 2 +- v-next/hardhat-test-utils/package.json | 2 +- v-next/hardhat-utils/package.json | 2 +- v-next/hardhat-zod-utils/package.json | 2 +- v-next/hardhat/package.json | 2 +- v-next/template-package/package.json | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/v-next/example-project/package.json b/v-next/example-project/package.json index 8ace38e8bb..735f8dedab 100644 --- a/v-next/example-project/package.json +++ b/v-next/example-project/package.json @@ -17,7 +17,6 @@ "lint:fix": "pnpm prettier --write", "prettier": "prettier \"**/*.{ts,js,md,json}\"", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "devDependencies": { diff --git a/v-next/hardhat-build-system/package.json b/v-next/hardhat-build-system/package.json index 03acfd5bc2..cb18065a18 100644 --- a/v-next/hardhat-build-system/package.json +++ b/v-next/hardhat-build-system/package.json @@ -26,8 +26,8 @@ "test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "pretest": "pnpm build", + "pretest:only": "pnpm build", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "files": [ diff --git a/v-next/hardhat-errors/package.json b/v-next/hardhat-errors/package.json index 5be8b3ff86..d1376b34c6 100644 --- a/v-next/hardhat-errors/package.json +++ b/v-next/hardhat-errors/package.json @@ -28,8 +28,8 @@ "test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "pretest": "pnpm build", + "pretest:only": "pnpm build", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "files": [ diff --git a/v-next/hardhat-mocha-test-runner/package.json b/v-next/hardhat-mocha-test-runner/package.json index 6a4ca9b05f..693c0cedb6 100644 --- a/v-next/hardhat-mocha-test-runner/package.json +++ b/v-next/hardhat-mocha-test-runner/package.json @@ -27,8 +27,8 @@ "test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "pretest": "pnpm build", + "pretest:only": "pnpm build", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "files": [ diff --git a/v-next/hardhat-node-test-reporter/package.json b/v-next/hardhat-node-test-reporter/package.json index 6d610474f7..62fb14db36 100644 --- a/v-next/hardhat-node-test-reporter/package.json +++ b/v-next/hardhat-node-test-reporter/package.json @@ -29,8 +29,9 @@ "test:integration": "node --import tsx/esm integration-tests/index.ts --color", "posttest": "pnpm test:integration", "pretest": "pnpm build", + "pretest:only": "pnpm build", + "pretest:integration": "pnpm build", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "files": [ diff --git a/v-next/hardhat-node-test-runner/package.json b/v-next/hardhat-node-test-runner/package.json index 86a8c395d9..caac0e931d 100644 --- a/v-next/hardhat-node-test-runner/package.json +++ b/v-next/hardhat-node-test-runner/package.json @@ -27,8 +27,8 @@ "test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "pretest": "pnpm build", + "pretest:only": "pnpm build", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "files": [ diff --git a/v-next/hardhat-test-utils/package.json b/v-next/hardhat-test-utils/package.json index 20c45a69e3..e7c80fa993 100644 --- a/v-next/hardhat-test-utils/package.json +++ b/v-next/hardhat-test-utils/package.json @@ -23,8 +23,8 @@ "test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "pretest": "pnpm build", + "pretest:only": "pnpm build", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "files": [ diff --git a/v-next/hardhat-utils/package.json b/v-next/hardhat-utils/package.json index acb2b5d227..bdf42d3c9b 100644 --- a/v-next/hardhat-utils/package.json +++ b/v-next/hardhat-utils/package.json @@ -43,8 +43,8 @@ "test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "pretest": "pnpm build", + "pretest:only": "pnpm build", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "files": [ diff --git a/v-next/hardhat-zod-utils/package.json b/v-next/hardhat-zod-utils/package.json index 645df1aed6..e5815697d1 100644 --- a/v-next/hardhat-zod-utils/package.json +++ b/v-next/hardhat-zod-utils/package.json @@ -28,8 +28,8 @@ "test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "pretest": "pnpm build", + "pretest:only": "pnpm build", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "files": [ diff --git a/v-next/hardhat/package.json b/v-next/hardhat/package.json index a01afc2c15..58c66e1113 100644 --- a/v-next/hardhat/package.json +++ b/v-next/hardhat/package.json @@ -45,8 +45,8 @@ "test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "pretest": "pnpm build", + "pretest:only": "pnpm build", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "files": [ diff --git a/v-next/template-package/package.json b/v-next/template-package/package.json index cb28ecd6fd..d92af696cb 100644 --- a/v-next/template-package/package.json +++ b/v-next/template-package/package.json @@ -30,8 +30,8 @@ "test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"", "pretest": "pnpm build", + "pretest:only": "pnpm build", "build": "tsc --build .", - "prepublishOnly": "pnpm build", "clean": "rimraf dist" }, "files": [