Skip to content

Commit

Permalink
ci: Change package manager from npm to pnpm (#2436) (#2438)
Browse files Browse the repository at this point in the history
Co-authored-by: Sion Kang <[email protected]>
Co-authored-by: Joongi Kim <[email protected]>
  • Loading branch information
3 people committed Jul 13, 2024
1 parent 80a0d42 commit 0fc0032
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/2436.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update the install-dev scripts to use `pnpm` instead of `npm` to speed up installation and resolve some peculiar version resolution issues related to esbuild.
2 changes: 1 addition & 1 deletion scripts/install-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ install_editable_webui() {
echo "PROXYBASEHOST=localhost" >> .env
echo "PROXYBASEPORT=${WSPROXY_PORT}" >> .env
fi
npm i
pnpm i
make compile
cd ../../../..
}
Expand Down
2 changes: 1 addition & 1 deletion src/ai/backend/install/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ async def install_editable_webui(ctx: Context) -> None:
echo "PROXYBASEHOST=localhost" >> .env
echo "PROXYBASEPORT=${WSPROXY_PORT}" >> .env
fi
npm i
pnpm i
make compile
make compile_wsproxy
cd ../../../..
Expand Down

0 comments on commit 0fc0032

Please sign in to comment.