Skip to content

Commit c2ab302

Browse files
committed
Hotfix: playground binary
1 parent 4a3b266 commit c2ab302

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

apps/web/next.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
import type { NextConfig } from "next";
2+
import { getYapiPath } from "./app/lib/yapi-path";
3+
4+
// Verify yapi binary exists at build time
5+
const yapiPath = getYapiPath();
6+
console.log(`[next.config] yapi binary found at: ${yapiPath}`);
27

38
const nextConfig: NextConfig = {
49
turbopack: {

cli/scripts/vercel-build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ mkdir -p /usr/local/bin
4747
cp ./bin/yapi /usr/local/bin/yapi
4848
chmod +x /usr/local/bin/yapi
4949

50+
echo "Copying yapi to monorepo root bin/ for Next.js file tracing..."
51+
mkdir -p ../bin
52+
cp ./bin/yapi ../bin/yapi
53+
chmod +x ../bin/yapi
54+
5055
echo "yapi installed: $(which yapi)"
5156
yapi version 2>/dev/null || true
5257

0 commit comments

Comments
 (0)