Skip to content

Commit 008c548

Browse files
Monorepo + (disabled) agent authentication mechanism (#106)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent c59248b commit 008c548

File tree

243 files changed

+8141
-12701
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+8141
-12701
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
NODE_VERSION: 20.19.2
11-
PNPM_VERSION: 10.8.1
11+
PNPM_VERSION: 10.12.1
1212

1313
jobs:
1414
build:
@@ -29,8 +29,8 @@ jobs:
2929
cache: pnpm
3030
- name: Install dependencies
3131
run: pnpm install
32-
- name: Build Next.js
33-
run: npx dotenvx run -f .env.test -- pnpm build
32+
- name: Build workspaces
33+
run: pnpm build
3434

3535
test:
3636
runs-on: ubuntu-latest
@@ -69,7 +69,7 @@ jobs:
6969
- name: Run type checker
7070
run: pnpm check-types
7171
- name: Setup database schema
72-
run: pnpm db:test:push --force
72+
run: pnpm --filter @roo-code-cloud/web db:test:push --force
7373
env:
7474
DATABASE_URL: postgres://postgres:password@localhost:5432/roo_code_test
7575
- name: Run unit tests
@@ -106,5 +106,6 @@ jobs:
106106
run: pnpm install
107107
- name: Migrate production database
108108
run: npx drizzle-kit migrate
109+
working-directory: apps/web
109110
env:
110111
DATABASE_URL: ${{ secrets.PRODUCTION_DATABASE_URL }}

.gitignore

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,19 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

33
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.js
7-
8-
# database
9-
*.db
10-
11-
# testing
12-
/coverage
13-
14-
# storybook
15-
storybook-static
16-
*storybook.log
17-
18-
# playwright
19-
/test-results/
20-
/playwright-report/
21-
/playwright/.cache/
22-
23-
# next.js
24-
/.next
25-
/out
26-
27-
# cache
28-
.swc/
29-
30-
# production
31-
/build
4+
node_modules
325

336
# misc
347
.DS_Store
358
*.pem
369
Thumbs.db
3710

38-
# debug
39-
npm-debug.log*
40-
pnpm-debug.log*
41-
yarn-debug.log*
42-
yarn-error.log*
43-
4411
# .env
4512
.env*.local
4613
.env*.production
4714

48-
# local folder
49-
local
15+
# turbo
16+
.turbo
5017

5118
# vercel
5219
.vercel
53-
54-
# docker
55-
.docker/*
56-
!.docker/scripts

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ if [ "$branch" = "main" ]; then
66
fi
77

88
npx lint-staged
9+
pnpm lint

.storybook/main.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

.storybook/preview.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

.vscode/tasks.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1 @@
1-
# Roo Code Cloud
2-
3-
## Run Locally
4-
5-
### Configure Database
6-
7-
Install [Docker Desktop](https://docs.docker.com/desktop/) for your platform.
8-
9-
Once installed, you can pull down a Postgres Docker image and run it:
10-
11-
```sh
12-
docker compose up
13-
```
14-
15-
Postgres will be running locally on port 5432 username `postgres` and password `password`.
16-
17-
### Install Packages
18-
19-
First install [pnpm](https://pnpm.io) using [these instructions](https://pnpm.io/installation). If you're on MacOS the easiest option is to use Homebrew:
20-
21-
```sh
22-
brew install pnpm
23-
```
24-
25-
You can now install the required packages with:
26-
27-
```sh
28-
pnpm install
29-
```
30-
31-
Make sure your database is migrated:
32-
33-
```sh
34-
pnpm db:migrate
35-
```
36-
37-
If everything is working as expected you should be able to run any of the following without errors:
38-
39-
```sh
40-
pnpm lint
41-
pnpm check-types
42-
pnpm test
43-
```
44-
45-
### Start Development Server
46-
47-
Create an `.env.local` file and fill out the required secrets, including:
48-
49-
- `CLICKHOUSE_URL`
50-
- `CLICKHOUSE_PASSWORD`
51-
- `CLERK_SECRET_KEY`
52-
- `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY`
53-
- `NEXT_PUBLIC_CLERK_FRONTEND_API`
54-
55-
You can now start the Next.js app and [Spotlight](https://spotlightjs.com/) with:
56-
57-
```sh
58-
pnpm dev
59-
```
60-
61-
Your server will be running at [localhost:3000](http://localhost:3000)
1+
# Roo Code Cloud Monorepo

apps/roomote/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "@roo-code-cloud/roomote",
3+
"private": true
4+
}
File renamed without changes.

0 commit comments

Comments
 (0)