From 008e007d42c145a869516a11325eb234a5e5ecf4 Mon Sep 17 00:00:00 2001 From: seveibar Date: Tue, 19 Mar 2024 15:44:18 -0700 Subject: [PATCH] more specific builder versions --- dev-server-frontend/src/HeaderMenu.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-server-frontend/src/HeaderMenu.tsx b/dev-server-frontend/src/HeaderMenu.tsx index da7f3dd3..a1ebc46d 100644 --- a/dev-server-frontend/src/HeaderMenu.tsx +++ b/dev-server-frontend/src/HeaderMenu.tsx @@ -188,8 +188,15 @@ export const HeaderMenu = () => { @tscircuit/cli v{cliPackageJson.version} - @tscircuit/builder v - {cliPackageJson.dependencies["@tscircuit/builder"].replace( + @tscircuit/builder (cli) v + {cliPackageJson.dependencies?.["@tscircuit/builder"]?.replace( + /\^/g, + "" + )} + + + @tscircuit/builder (ui) v + {packageJson.dependencies?.["@tscircuit/builder"]?.replace( /\^/g, "" )}