Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/code-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ jobs:
working-directory: apps/vscode-e2e
run: xvfb-run -a pnpm test:ci

unit-test:
needs: [platform-unit-test] # [platform-unit-test, integration-test]
qa:
needs: [check-translations, knip, compile, platform-unit-test, integration-test]
runs-on: ubuntu-latest
steps:
- name: NO-OP
Expand Down
15 changes: 14 additions & 1 deletion MONOREPO.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ 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 && \
pnpm build -- --out ../bin/roo-code-main.vsix && \
code --install-extension bin/roo-code-main.vsix
```

To fully stress the monorepo setup, run the following:

```sh
pnpm clean && pnpm lint
pnpm clean && pnpm check-types
pnpm clean && pnpm test
pnpm clean && pnpm bundle
pnpm clean && pnpm build
pnpm clean && pnpm npx turbo watch:bundle
pnpm clean && pnpm npx turbo watch:tsc
cd apps/vscode-e2e && pnpm test:ci
```
File renamed without changes.
40 changes: 40 additions & 0 deletions packages/types/npm/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "@roo-code/types",
"version": "1.19.0",
"description": "TypeScript type definitions for Roo Code.",
"publishConfig": {
"access": "public",
"name": "@roo-code/types"
},
"author": "Roo Code Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/RooCodeInc/Roo-Code.git"
},
"bugs": {
"url": "https://github.com/RooCodeInc/Roo-Code/issues"
},
"homepage": "https://github.com/RooCodeInc/Roo-Code/tree/main/packages/types",
"keywords": [
"roo",
"roo-code",
"ai"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
]
}
48 changes: 8 additions & 40 deletions packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,26 @@
{
"name": "@roo-code/types",
"version": "1.16.0",
"description": "TypeScript type definitions for Roo Code.",
"publishConfig": {
"access": "public",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
}
},
"author": "Roo Code Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/RooCodeInc/Roo-Code.git"
},
"bugs": {
"url": "https://github.com/RooCodeInc/Roo-Code/issues"
},
"homepage": "https://github.com/RooCodeInc/Roo-Code/tree/main/packages/types",
"keywords": [
"roo",
"roo-code",
"ai"
],
"main": "./dist/index.js",
"version": "0.0.0",
"type": "module",
"main": "./dist/index.cjs",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts",
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"scripts": {
"lint": "eslint src --ext=ts --max-warnings=0",
"check-types": "tsc --noEmit",
"test": "vitest --globals --run",
"build": "tsup",
"prepublishOnly": "pnpm run build",
"publish:test": "pnpm publish --dry-run",
"publish": "pnpm publish",
"clean": "rimraf dist .turbo"
"npm:publish:test": "tsup --outDir npm/dist && cd npm && npm publish --dry-run",
"npm:publish": "tsup --outDir npm/dist && cd npm && npm publish",
"clean": "rimraf dist npm/dist .turbo"
},
"dependencies": {
"zod": "^3.24.2"
Expand Down
64 changes: 0 additions & 64 deletions packages/types/src/__tests__/cjs-import.test.ts

This file was deleted.

35 changes: 0 additions & 35 deletions packages/types/src/__tests__/esm-import.test.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/types/src/__tests__/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx vitest run --globals src/__tests__/index.test.ts
// npx vitest run src/__tests__/index.test.ts

import { GLOBAL_STATE_KEYS } from "../index.js"

Expand Down
83 changes: 0 additions & 83 deletions packages/types/src/__tests__/package-exports.test.ts

This file was deleted.

5 changes: 0 additions & 5 deletions packages/types/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,4 @@ export default defineConfig({
splitting: false,
sourcemap: true,
outDir: "dist",
outExtension({ format }) {
return {
js: format === "cjs" ? ".js" : ".mjs",
}
},
})