refactor: Zod-based config loader#45
Closed
fabiovincenzi wants to merge 280 commits intoG-Research:mainfrom
fabiovincenzi:config
Closed
refactor: Zod-based config loader#45fabiovincenzi wants to merge 280 commits intoG-Research:mainfrom fabiovincenzi:config
fabiovincenzi wants to merge 280 commits intoG-Research:mainfrom
fabiovincenzi:config
Conversation
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #45 +/- ##
=======================================
Coverage ? 78.51%
=======================================
Files ? 57
Lines ? 2378
Branches ? 291
=======================================
Hits ? 1867
Misses ? 460
Partials ? 51 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
chore: remove debug console log
…on' into 909-ldap-user-group-confirmation
Currently replacing .git even in the middle of valid repo names. This fix only trims from the back.
Do the same for the trailing .git for the ref/heads/ prefix to be safe and clean things up.
Try to catch any future regressions
fix: only trim trailing .git not any match
chore: bump by patch to v1.19.1
…eaks fix: additional user api leaks
…experimental/license-inventory/package.json
…ajor-2-npm fix(deps): update dependency body-parser to v2 - license-inventory - experimental/license-inventory/package.json
…used-dependencies.yml
chore(deps): update github-actions - workflows - .github/workflows/unused-dependencies.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace JSON-Schema with Zod for config validation and default injection
Add typed
configexport,loadConfig(),validate()andsetConfigFile()Update
index.tsto use the new loader and pass the validated config.