diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 58c090e7..813715d0 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -82,7 +82,7 @@ pnpm install After the install completes, pnpm links packages across the project for development and [git hooks](https://github.com/toplenboren/simple-git-hooks) are set up. -> **Note:** In case you have to install new packages or upgrade packages make sure to use **pnpm@8.3.1** and **typescript@5.0.4** +> **Note:** In case you have to install new packages or upgrade packages make sure to use **pnpm@8.8.0** and **typescript@5.0.4**
↑ back to top diff --git a/package.json b/package.json index b02cb4eb..55cde6cc 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "type": "module", "scripts": { - "bench": "vitest bench", + "bench": "vitest bench -c ./packages/abitype/test/vitest.config.ts", "build": "pnpm run --r --filter \"./packages/**\" build", "changeset:publish": "pnpm version:update && pnpm build && bun .scripts/generateProxyPackages.ts && changeset publish", "changeset:version": "changeset version && pnpm version:update", @@ -18,10 +18,10 @@ "preinstall": "npx only-allow@1.1.1 pnpm", "prepare": "npx simple-git-hooks", "prepublishOnly": "bun .scripts/formatPackageJson.ts", - "test": "vitest", + "test": "vitest -c ./packages/abitype/test/vitest.config.ts", "test:build": "pnpm run --r --parallel test:build", - "test:cov": "vitest run --coverage", - "test:typecheck": "vitest typecheck", + "test:cov": "vitest run --coverage -c ./packages/abitype/test/vitest.config.ts", + "test:typecheck": "vitest typecheck -c ./packages/abitype/test/vitest.config.ts", "test:update": "vitest --update", "trace": "tsc --noEmit --generateTrace ./playgrounds/performance/out --incremental false --project playgrounds/performance/tsconfig.json && echo \"Open playgrounds/performance/out/trace.json in https://ui.perfetto.dev\"", "typecheck": "pnpm run --r --parallel typecheck && tsc --noEmit", diff --git a/vitest.config.ts b/packages/abitype/test/vitest.config.ts similarity index 100% rename from vitest.config.ts rename to packages/abitype/test/vitest.config.ts diff --git a/vitest.workspace.ts b/packages/abitype/test/vitest.workspace.ts similarity index 100% rename from vitest.workspace.ts rename to packages/abitype/test/vitest.workspace.ts