Skip to content

refactor: refactor git-proxy-cli to TS + ESM #1065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

jescalada
Copy link
Contributor

@jescalada jescalada commented Jun 29, 2025

Fixes #1064.

Based on #1063.

Would love some input from folks that use the CLI! I want to make sure that everything still works as expected, particularly the build script wiring (builds into /git-proxy-cli/dist/*) and the execution from the main project.

Copy link

netlify bot commented Jun 29, 2025

Deploy Preview for endearing-brigadeiros-63f9d0 canceled.

Name Link
🔨 Latest commit d6d5d95
🔍 Latest deploy log https://app.netlify.com/projects/endearing-brigadeiros-63f9d0/deploys/6866801f414ac500081a45e2

@jescalada jescalada changed the title refactor: refactor cli to TS + ESM refactor: refactor git-proxy-cli to TS + ESM Jun 29, 2025
@jescalada jescalada linked an issue Jun 29, 2025 that may be closed by this pull request
Copy link

codecov bot commented Jun 29, 2025

Codecov Report

Attention: Patch coverage is 61.27660% with 182 lines in your changes missing coverage. Please review.

Project coverage is 78.09%. Comparing base (75fb0e6) to head (d6d5d95).

Files with missing lines Patch % Lines
src/service/routes/push.ts 16.90% 58 Missing and 1 partial ⚠️
src/service/routes/repo.ts 61.03% 24 Missing and 6 partials ⚠️
src/service/routes/users.ts 20.00% 24 Missing ⚠️
src/service/passport/ldaphelper.ts 27.27% 16 Missing ⚠️
src/service/passport/oidc.ts 35.00% 13 Missing ⚠️
src/service/passport/jwtAuthHandler.ts 69.69% 4 Missing and 6 partials ⚠️
src/service/passport/activeDirectory.ts 63.15% 5 Missing and 2 partials ⚠️
src/service/passport/jwtUtils.ts 87.17% 3 Missing and 2 partials ⚠️
src/service/index.ts 90.69% 2 Missing and 2 partials ⚠️
src/service/routes/config.ts 66.66% 4 Missing ⚠️
... and 6 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1065      +/-   ##
==========================================
+ Coverage   76.78%   78.09%   +1.31%     
==========================================
  Files          55       55              
  Lines        2261     2324      +63     
  Branches      251      359     +108     
==========================================
+ Hits         1736     1815      +79     
+ Misses        495      457      -38     
- Partials       30       52      +22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor CLI script to TS + ESM Convert CLI to typescript
1 participant