Skip to content
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

build: Include exports for extending validator in JSR packaging #2114

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

nellh
Copy link
Member

@nellh nellh commented Aug 28, 2024

These exports are used by OpenNeuro's CLI to extend the Deno validator.

Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.81%. Comparing base (c7d75d2) to head (83b8c35).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2114      +/-   ##
==========================================
+ Coverage   85.69%   89.81%   +4.11%     
==========================================
  Files          91       42      -49     
  Lines        3782     3191     -591     
  Branches     1220      436     -784     
==========================================
- Hits         3241     2866     -375     
+ Misses        455      316     -139     
+ Partials       86        9      -77     

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

".": "./src/bids-validator.ts",
"./main": "./src/main.ts",
"./output": "./src/utils/output.ts",
"./files": "./src/files/deno.ts",
Copy link
Collaborator

@effigies effigies Aug 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any chance we'd want to expose the browser files as well? Just thinking about backwards compatibility here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is exported already via main. I think if we wanted to add browser features to the files API later, we would just point it at a new source file and re-export both.

@effigies
Copy link
Collaborator

Do you have a way to test this kind of thing without pushing to JSR, by the way?

@effigies effigies merged commit 47d7384 into bids-standard:master Aug 29, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants