arb / celebrate

A joi validation middleware for Express.
MIT License
1.34k stars 65 forks source link

Export joi namespace along with const #245

Closed GerkinDev closed 1 year ago

GerkinDev commented 1 year ago

Allows using the import { Joi } from 'celebrate' to reference Joi types without importing Joi manually.

This is not highly tested, but it seems to do the trick

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

arb commented 1 year ago

I'm good with this change. I don't want to merge it yet though because I'm trying to rewire CI to use Github actions instead of Travis. I'll circle back around to this once that is done.

arb commented 1 year ago

Hey @GerkinDev; I believe I have finished migrating to GH actions! Would you kindly rebase in master and try again? This will be the inaugural PR for this change.

GerkinDev commented 1 year ago

Of course ! Here you are sir !

GerkinDev commented 1 year ago

Hey there ! The CI looks green overall, except the 2 Travis jobs. Do I need to do anything ?