From 24e8b6d8f2f349339975df7489f5777b86595e06 Mon Sep 17 00:00:00 2001 From: aoife cassidy Date: Wed, 27 Nov 2024 19:07:54 +0200 Subject: [PATCH] fix(javascript): mkdir -p on pnpm build (#896) --- packages/javascript/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/javascript/package.json b/packages/javascript/package.json index 272d6aa5..92b34761 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -23,7 +23,7 @@ }, "scripts": { "generate:version": "genversion --esm --semi src/gen/version.ts", - "generate:proto": "mkdir src/gen && protoc --es_out src/gen --es_opt target=ts -I=../../protobufs ../../protobufs/livekit_*.proto", + "generate:proto": "mkdir -p src/gen && protoc --es_out src/gen --es_opt target=ts -I=../../protobufs ../../protobufs/livekit_*.proto", "prebuild": "pnpm generate:version && pnpm generate:proto", "build": "pnpm prebuild && tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\"" },