Closed phated closed 9 years ago
Good question, it seems for no reason, unless isRef
changes between versions, which is unlikely.
Oh now I remember, lout is not always backward compatible with older versions of joi, so it's mainly to enforce a baseline version.
Makes sense. I had an error where lout tried to require joi and it wasn't available so the application crashed. Would it be possible to have joi as a dep and peerDep?
Peer dependencies should install next to lout, npm should take care of that, if not maybe you had an error in the installation process.
I'm working on some npm bugs right now, so that is probably it.
Just wondering why joi is a peerDep currently. It seems to better fit the dependency pattern.