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
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
- name: Build TypeScript
run: npm run build-ts

- name: Build CLI
run: |
npm run build -w @finos/git-proxy-cli
npm rebuild @finos/git-proxy-cli

- name: Test
id: test
run: |
Expand All @@ -69,7 +74,7 @@ jobs:
- name: Upload test coverage report
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
with:
files: ./coverage/lcov.info
files: ./coverage/lcov.info,./coverage-cli/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}

- name: Build frontend
Expand Down Expand Up @@ -118,6 +123,11 @@ jobs:
- name: Build TypeScript
run: npm run build-ts

- name: Build CLI
run: |
npm run build -w @finos/git-proxy-cli
npm rebuild @finos/git-proxy-cli

- name: Test
id: test
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unused-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
node-version: '24.x'
- name: 'Run depcheck'
run: |
npx depcheck --skip-missing --ignores="tsx,@babel/*,@commitlint/*,eslint,eslint-*,husky,ts-node,concurrently,nyc,prettier,typescript,tsconfig-paths,vite-tsconfig-paths,quicktype,history,@types/domutils,@vitest/coverage-v8,cross-env"
npx depcheck --skip-missing --ignores="tsx,@babel/*,@commitlint/*,eslint,eslint-*,husky,ts-node,concurrently,nyc,prettier,typescript,tsconfig-paths,vite-tsconfig-paths,quicktype,history,@types/domutils,@vitest/coverage-v8,cross-env,c8"
echo $?
if [[ $? == 1 ]]; then
echo "Unused dependencies or devDependencies found"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ dist

# testing
/coverage
/coverage-cli

# production
/build
Expand Down
180 changes: 169 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
"@types/yargs": "^17.0.35",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/coverage-v8": "^3.2.4",
"c8": "^11.0.0",
"cross-env": "^10.1.0",
"cypress": "^15.9.0",
"eslint": "^9.39.2",
Expand Down
3 changes: 2 additions & 1 deletion packages/git-proxy-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"scripts": {
"build": "tsc",
"lint": "eslint \"./*.ts\" --fix",
"test": "cd ../.. && vitest --run --dir packages/git-proxy-cli/test"
"test": "cd ../.. && vitest --run --dir packages/git-proxy-cli/test",
"test-coverage-ci": "cd ../.. && c8 --reports-dir ./coverage-cli --include \"packages/git-proxy-cli/dist/**\" --exclude \"packages/git-proxy-cli/test/**\" --reporter lcovonly --reporter text vitest --run --dir packages/git-proxy-cli/test --test-timeout 15000"
},
"author": "Miklos Sagi",
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions packages/git-proxy-cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"sourceMap": true,
"outDir": "./dist",
"rootDir": ".",
"types": ["node"]
Expand Down
Loading