From d7aedad9b4948775ab7b6603f6c0c83d16ec8c3c Mon Sep 17 00:00:00 2001 From: Alois Date: Sun, 28 Jun 2026 18:58:55 +0200 Subject: [PATCH] (fix): build issues --- scripts/build-packages.ts | 2 +- scripts/lint-packages.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-packages.ts b/scripts/build-packages.ts index 0f4991a..3656461 100644 --- a/scripts/build-packages.ts +++ b/scripts/build-packages.ts @@ -34,7 +34,7 @@ for (const fullPath of packageDirs) { const entry = fullPath.replace(packagesDir + "/", ""); console.log(`Building ${entry}...`); try { - execSync("bun run build", { cwd: fullPath, stdio: "inherit" }); + execSync("bun --bun run build", { cwd: fullPath, stdio: "inherit" }); console.log(`${entry} built successfully.`); } catch { console.error(`Failed to build ${entry}.`); diff --git a/scripts/lint-packages.ts b/scripts/lint-packages.ts index b9abdf2..ccfe5e4 100644 --- a/scripts/lint-packages.ts +++ b/scripts/lint-packages.ts @@ -36,7 +36,7 @@ for (const targetDir of targetDirs) { const entry = relative(rootDir, fullPath); console.log(`Linting ${entry}...`); try { - execSync("bun run lint", { cwd: fullPath, stdio: "inherit" }); + execSync("bun --bun run lint", { cwd: fullPath, stdio: "inherit" }); console.log(`${entry} linted successfully.`); } catch { console.error(`Failed to lint ${entry}.`);