Skip to content

Commit 63ac2ff

Browse files
Setup basic evaluation sub package (#14)
* feat: setup basic evaluation frame work * move README.md up to root of evaluation sub package * fix a test failure
1 parent 9dc34cb commit 63ac2ff

34 files changed

+3391
-1430
lines changed

.codecov.yml

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,38 @@ codecov:
2626

2727
# Comment configuration for PRs
2828
comment:
29-
layout: "reach, diff, flags, files"
29+
layout: 'reach, diff, flags, files'
3030
behavior: default
3131
require_changes: no
3232

3333
# Ignore certain files/directories
3434
ignore:
35-
- "packages/*/node_modules/"
36-
- "packages/*/dist/"
37-
- "packages/*/coverage/"
38-
- "**/*.test.ts"
39-
- "**/*.spec.ts"
40-
- "**/*.config.ts"
41-
- "**/*.d.ts"
42-
- "**/src/scripts/*.ts"
35+
- 'packages/*/node_modules/'
36+
- 'packages/*/dist/'
37+
- 'packages/*/coverage/'
38+
- '**/*.test.ts'
39+
- '**/*.spec.ts'
40+
- '**/*.config.ts'
41+
- '**/*.d.ts'
42+
- '**/src/scripts/*.ts'
43+
44+
# Flag-specific configurations
45+
flags:
46+
# Individual package flags
47+
mobile-web:
48+
target: 85%
49+
threshold: 5%
50+
backend-api:
51+
target: 80%
52+
threshold: 5%
53+
shared-utils:
54+
target: 90%
55+
threshold: 5%
56+
57+
# Monorepo combined flag
58+
monorepo:
59+
target: 82%
60+
threshold: 5%
4361

4462
# File-specific configurations
4563
parsers:
@@ -49,3 +67,5 @@ parsers:
4967
loop: yes
5068
method: no
5169
macro: no
70+
71+
macro: no

.github/dependabot.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
version: 2
2-
updates:
3-
- package-ecosystem: 'npm'
4-
directory: '/'
5-
schedule:
6-
interval: 'monthly'
7-
versioning-strategy: 'increase'
8-
labels:
9-
- 'dependencies'
10-
groups:
11-
# Group all minor and patch dependency updates together.
12-
minor-and-patch:
13-
applies-to: version-updates
14-
update-types:
15-
- 'minor'
16-
- 'patch'
17-
open-pull-requests-limit: 5
18-
pull-request-branch-name:
19-
separator: '-'
20-
commit-message:
21-
# cause a release for non-dev-deps
22-
prefix: fix(deps)
23-
# no release for dev-deps
24-
prefix-development: chore(dev-deps)
1+
version: 2
2+
updates:
3+
- package-ecosystem: 'npm'
4+
directory: '/'
5+
schedule:
6+
interval: 'monthly'
7+
versioning-strategy: 'increase'
8+
labels:
9+
- 'dependencies'
10+
groups:
11+
# Group all minor and patch dependency updates together.
12+
minor-and-patch:
13+
applies-to: version-updates
14+
update-types:
15+
- 'minor'
16+
- 'patch'
17+
open-pull-requests-limit: 5
18+
pull-request-branch-name:
19+
separator: '-'
20+
commit-message:
21+
# cause a release for non-dev-deps
22+
prefix: fix(deps)
23+
# no release for dev-deps
24+
prefix-development: chore(dev-deps)

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: lint
22
run-name: Installs project and runs linting
3-
on: [ push, pull_request ]
3+
on: [push, pull_request]
44
jobs:
55
lint:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
node: [ 20 ]
9+
node: [20]
1010
name: Linting on Ubuntu with Node ${{ matrix.node }}
1111
steps:
1212
- uses: actions/checkout@v3
@@ -15,4 +15,4 @@ jobs:
1515
node-version: ${{ matrix.node }}
1616
cache: 'npm'
1717
- run: npm install
18-
- run: npm run lint
18+
- run: npm run lint

.github/workflows/prettier.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: prettier
22
run-name: Installs project and runs prettier checks
3-
on: [ push, pull_request ]
3+
on: [push, pull_request]
44
jobs:
55
lint:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
node: [ 20 ]
9+
node: [20]
1010
name: Prettier on Ubuntu with Node ${{ matrix.node }}
1111
steps:
1212
- uses: actions/checkout@v3

.github/workflows/run-tests.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: run-tests
22
run-name: Installs project and runs tests
3-
on: [ push, pull_request ]
3+
on: [push, pull_request]
44
jobs:
55
run-tests:
66
runs-on: ${{ matrix.os }}
@@ -20,16 +20,16 @@ jobs:
2020
# Only run Xvfb cleanup on Ubuntu (Unix systems)
2121
- if: matrix.os == 'ubuntu-latest'
2222
run: killall Xvfb || true
23-
23+
2424
# Upload individual package coverage
2525
- name: Upload mobile-web coverage
2626
uses: codecov/codecov-action@v3
2727
with:
28-
token: ${{ secrets.CODECOV_TOKEN }}
29-
files: packages/mobile-web/coverage/*.json
30-
flags: mobile-web
31-
name: mobile-web-coverage
32-
28+
token: ${{ secrets.CODECOV_TOKEN }}
29+
files: packages/mobile-web/coverage/*.json
30+
flags: mobile-web
31+
name: mobile-web-coverage
32+
3333
# Add more packages as you create them
3434
# - name: Upload backend-api coverage
3535
# uses: codecov/codecov-action@v3
@@ -38,20 +38,20 @@ jobs:
3838
# files: packages/backend-api/coverage/*.json
3939
# flags: backend-api-${{ runner.os }}-node${{ matrix.node }}
4040
# name: backend-api-coverage
41-
41+
4242
# - name: Upload shared-utils coverage
4343
# uses: codecov/codecov-action@v3
4444
# with:
4545
# token: ${{ secrets.CODECOV_TOKEN }}
4646
# files: packages/shared-utils/coverage/*.json
4747
# flags: shared-utils-${{ runner.os }}-node${{ matrix.node }}
4848
# name: shared-utils-coverage
49-
49+
5050
# Upload combined coverage for overall monorepo metrics
5151
- name: Upload combined monorepo coverage
5252
uses: codecov/codecov-action@v3
5353
with:
54-
token: ${{ secrets.CODECOV_TOKEN }}
55-
files: packages/*/coverage/*.json
56-
flags: monorepo
57-
name: monorepo-combined-coverage
54+
token: ${{ secrets.CODECOV_TOKEN }}
55+
files: packages/*/coverage/*.json
56+
flags: monorepo
57+
name: monorepo-combined-coverage

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
"semi": true,
88
"bracketSpacing": true,
99
"arrowParens": "avoid"
10-
}
10+
}

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ To use this MCP server with various AI assistants and code editors, you'll need
4646
### Claude Desktop
4747

4848
1. **Locate your configuration file:**
49-
5049
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
5150
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
5251

0 commit comments

Comments
 (0)