Skip to content

Commit d6c5eba

Browse files
authored
Merge pull request #819 from RooVetGit/3.3.14
3.3.14
2 parents 56a7b8f + ada9c4b commit d6c5eba

File tree

18 files changed

+4065
-6933
lines changed

18 files changed

+4065
-6933
lines changed

.changeset/yellow-garlics-tap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"roo-cline": patch
3+
---
4+
5+
Oops

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"@typescript-eslint/semi": "off",
1818
"eqeqeq": "warn",
1919
"no-throw-literal": "warn",
20-
"semi": "off"
20+
"semi": "off",
21+
"react-hooks/exhaustive-deps": "off"
2122
},
2223
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
2324
}

.github/workflows/code-qa.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
branches: [main]
1010

1111
jobs:
12-
qa:
12+
compile:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout code
@@ -21,8 +21,12 @@ jobs:
2121
cache: 'npm'
2222
- name: Install dependencies
2323
run: npm run install:all
24-
- name: Run lint, check types, and esbuild
25-
run: npm run qa
24+
- name: Compile
25+
run: npm run compile
26+
- name: Check types
27+
run: npm run check-types
28+
- name: Lint
29+
run: npm run lint
2630

2731
unit-test:
2832
runs-on: ubuntu-latest
@@ -66,9 +70,9 @@ jobs:
6670
with:
6771
node-version: '18'
6872
cache: 'npm'
69-
- name: Create env.e2e file
70-
run: echo "OPENROUTER_API_KEY=${{ secrets.OPENROUTER_API_KEY }}" > .env.e2e
73+
- name: Create env.integration file
74+
run: echo "OPENROUTER_API_KEY=${{ secrets.OPENROUTER_API_KEY }}" > .env.integration
7175
- name: Install dependencies
7276
run: npm run install:all
73-
- name: Run end-to-end tests
74-
run: xvfb-run -a npm run e2e
77+
- name: Run integration tests
78+
run: xvfb-run -a npm run test:integration

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dist
22
out
3-
out-*
3+
out-integration
44
node_modules
55
coverage/
66

@@ -21,4 +21,4 @@ roo-cline-*.vsix
2121
docs/_site/
2222

2323
# Dotenv
24-
.env.e2e
24+
.env.integration

.husky/pre-commit

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

88
npx lint-staged
9+
10+
npm run compile
11+
npm run lint
12+
npm run check-types

.husky/pre-push

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ if [ "$branch" = "main" ]; then
55
exit 1
66
fi
77

8-
npm run qa
8+
npm run compile
99

10-
# Check for new changesets.
10+
# Check for new changesets
1111
NEW_CHANGESETS=$(find .changeset -name "*.md" ! -name "README.md" | wc -l | tr -d ' ')
1212
echo "Changeset files: $NEW_CHANGESETS"
13-
1413
if [ "$NEW_CHANGESETS" == "0" ]; then
1514
echo "-------------------------------------------------------------------------------------"
1615
echo "Changes detected. Please run 'npm run changeset' to create a changeset if applicable."
1716
echo "-------------------------------------------------------------------------------------"
18-
fi
17+
fi

.vscode-test.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import { defineConfig } from '@vscode/test-cli';
66

77
export default defineConfig({
8-
label: 'e2e',
9-
files: 'out-e2e/test/**/*.test.js',
8+
label: 'integrationTest',
9+
files: 'out-integration/test/**/*.test.js',
1010
workspaceFolder: '.',
1111
mocha: {
1212
ui: 'tdd',

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
1414
"sourceMaps": true,
1515
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
16-
"preLaunchTask": "${defaultBuildTask}",
16+
"preLaunchTask": "debug-mode",
1717
"env": {
1818
"NODE_ENV": "development",
1919
"VSCODE_DEBUG_MODE": "true"

.vscode/tasks.json

Lines changed: 45 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,42 @@
33
{
44
"version": "2.0.0",
55
"tasks": [
6+
{
7+
"label": "compile",
8+
"type": "npm",
9+
"script": "compile",
10+
"group": {
11+
"kind": "build",
12+
"isDefault": true
13+
},
14+
"presentation": {
15+
"reveal": "silent",
16+
"panel": "shared"
17+
},
18+
"problemMatcher": ["$tsc", "$eslint-stylish"]
19+
},
620
{
721
"label": "watch",
8-
"dependsOn": ["npm: dev", "npm: watch:tsc", "npm: watch:esbuild"],
22+
"dependsOn": ["npm: build:webview", "npm: watch:tsc", "npm: watch:esbuild"],
923
"presentation": {
1024
"reveal": "never"
1125
},
1226
"group": {
1327
"kind": "build",
14-
"isDefault": true
28+
"isDefault": false
29+
}
30+
},
31+
{
32+
"label": "debug-mode",
33+
"dependsOn": ["compile", "npm: dev"],
34+
"group": {
35+
"kind": "build",
36+
"isDefault": false
37+
},
38+
"dependsOrder": "parallel",
39+
"presentation": {
40+
"reveal": "always",
41+
"panel": "new"
1542
}
1643
},
1744
{
@@ -32,8 +59,20 @@
3259
},
3360
"isBackground": true,
3461
"presentation": {
35-
"group": "webview-ui",
36-
"reveal": "always"
62+
"group": "watch",
63+
"reveal": "never"
64+
}
65+
},
66+
{
67+
"label": "npm: build:webview",
68+
"type": "npm",
69+
"script": "build:webview",
70+
"group": "build",
71+
"problemMatcher": [],
72+
"isBackground": true,
73+
"presentation": {
74+
"group": "watch",
75+
"reveal": "never"
3776
}
3877
},
3978
{
@@ -45,7 +84,7 @@
4584
"isBackground": true,
4685
"presentation": {
4786
"group": "watch",
48-
"reveal": "always"
87+
"reveal": "never"
4988
}
5089
},
5190
{
@@ -57,7 +96,7 @@
5796
"isBackground": true,
5897
"presentation": {
5998
"group": "watch",
60-
"reveal": "always"
99+
"reveal": "never"
61100
}
62101
}
63102
]

0 commit comments

Comments
 (0)