@@ -125,7 +125,7 @@ copy-binary-windows:
125125run-ui :
126126 @ just release-binary
127127 @ echo " Running UI..."
128- cd ui/ desktop && npm install && npm run start-gui
128+ cd ui/ desktop && npm ci && npm run start-gui
129129
130130run-ui-playwright :
131131 #!/usr/bin/env sh
@@ -138,14 +138,14 @@ run-ui-playwright:
138138
139139run-ui-only :
140140 @ echo " Running UI..."
141- cd ui/ desktop && npm install && npm run start-gui
141+ cd ui/ desktop && npm ci && npm run start-gui
142142
143143debug-ui * alpha :
144144 @ echo " 🚀 Starting goose frontend in external backend mode{{ if alpha == " alpha" { " with alpha features enabled" } else { " " } }} "
145145 cd ui/ desktop && \
146146 export GOOSE_EXTERNAL_BACKEND=true && \
147147 {{ if alpha == " alpha" { " export ALPHA=true &&" } else { " " } }} \
148- npm install && \
148+ npm ci && \
149149 npm run {{ if alpha == " alpha" { " start-alpha-gui" } else { " start-gui" } }}
150150
151151# Run UI with main process debugging enabled
@@ -159,15 +159,15 @@ debug-ui-main-process:
159159 @ echo " 🔍 Starting goose UI with main process debugging enabled"
160160 @ just release-binary
161161 cd ui/ desktop && \
162- npm install && \
162+ npm ci && \
163163 npm run start-gui-debug
164164
165165# Package the desktop app locally for testing (macOS)
166166# Applies ad-hoc code signing with entitlements (needed for mic access, etc.)
167167package-ui :
168168 @ just release-binary
169169 @ echo " Packaging desktop app..."
170- cd ui/ desktop && npm install && npm run package
170+ cd ui/ desktop && npm ci && npm run package
171171 @ echo " Signing with entitlements..."
172172 codesign --force --deep --sign - --entitlements ui/ desktop/ entitlements.plist ui/ desktop/ out/ Goose-darwin-arm64 / Goose.app
173173 @ echo " Done! Launch with: open ui/desktop/out/Goose-darwin-arm64/Goose.app"
@@ -176,14 +176,14 @@ package-ui:
176176run-ui-alpha :
177177 @ just release-binary
178178 @ echo " Running UI with alpha features..."
179- cd ui/ desktop && npm install && ALPHA=true npm run start-alpha-gui
179+ cd ui/ desktop && npm ci && ALPHA=true npm run start-alpha-gui
180180
181181# Run UI with latest (Windows version)
182182run-ui-windows :
183183 @ just release-windows
184184 @ powershell.exe -Command " Write-Host 'Copying Windows binary...'"
185185 @ just copy-binary-windows
186- @ powershell.exe -Command " Write-Host 'Running UI...'; Set-Location ui/desktop; npm install ; npm run start-gui"
186+ @ powershell.exe -Command " Write-Host 'Running UI...'; Set-Location ui/desktop; npm ci ; npm run start-gui"
187187
188188# Run Docusaurus server for documentation
189189run-docs :
@@ -386,7 +386,7 @@ win-bld-rls-all:
386386
387387### Install npm stuff
388388win-app-deps :
389- cd ui{{ s}} desktop ; npm install
389+ cd ui{{ s}} desktop ; npm ci
390390
391391### Windows copy {release|debug} files to ui\desktop\src\bin
392392### s = os dependent file separator
0 commit comments