Roo-Code/MONOREPO.md
2025-05-21 21:01:20 -07:00

29 lines
889 B
Markdown

# Monorepo Guide
Roo Code has transitioned to a monorepo powered by [PNPM workspaces](https://pnpm.io/workspaces) and [Turborepo](https://turborepo.com).
When you first pull down the monorepo changes from git you'll need to re-install all packages using pnpm. You can install pnpm using [these](https://pnpm.io/installation) instructions. If you're on MacOS the easiest option is to use Homebrew:
```sh
brew install pnpm
```
Once pnpm is installed you should wipe out your existing node_modules directories for a fresh start:
```sh
# This is optional, but recommended.
find . -name node_modules | xargs rm -rvf
```
And then install your packages:
```sh
pnpm install
```
If things are in good working order then you should be able to build a vsix and install it in VSCode:
```sh
pnpm build --out ../bin/roo-code-main.vsix && \
code --install-extension bin/roo-code-main.vsix
```