From c89b867670d6d8aacb41f88ebc128b4e492a41c1 Mon Sep 17 00:00:00 2001 From: aoife cassidy Date: Tue, 26 Nov 2024 22:19:56 +0200 Subject: [PATCH] mkdir --- 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 58259e42..dd669d18 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": "protoc --es_out src/gen --es_opt target=ts -I=../../protobufs ../../protobufs/livekit_*.proto", + "generate:proto": "mkdir 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\"" },