From 7994533a2f8cb9522bca53c6ae93dfb7601b7bcc Mon Sep 17 00:00:00 2001 From: reaatech <138725666+reaatech@users.noreply.github.com> Date: Sat, 23 May 2026 11:43:21 -0700 Subject: [PATCH] chore: silence esbuild + workspace bin warnings on build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - allowlist esbuild in pnpm.onlyBuiltDependencies so its postinstall runs instead of being blocked (pnpm 10 default) - make root `build` a pure `turbo run build`; the previous `pnpm install && turbo run build` re-linked the cli's mcp-server bin before dist was built, triggering an ENOENT bin warning on clean trees (and in CI, which already installs before building) - add a `bootstrap` script for the one-shot install+build convenience Cosmetic only — published tarballs ship dist and the CLI imports startMcpServer directly rather than via the bin symlink. Co-Authored-By: Claude Opus 4.7 --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0ee528a..6c418b5 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "description": "Evaluation toolkit for RAG (Retrieval-Augmented Generation) systems \u2014 monorepo of composable metrics, judges, gates, and CLI tools", "type": "module", "scripts": { - "build": "pnpm install && turbo run build", + "build": "turbo run build", + "bootstrap": "pnpm install && turbo run build", "test": "turbo run test", "test:coverage": "turbo run test:coverage", "lint": "biome check .", @@ -51,6 +52,9 @@ "vitest": "^3.1.1" }, "pnpm": { + "onlyBuiltDependencies": [ + "esbuild" + ], "overrides": { "uuid": ">=14.0.0", "brace-expansion": ">=5.0.6",