react-jsonschema-form icon indicating copy to clipboard operation
react-jsonschema-form copied to clipboard

Should @rjsf/core be a dependency rather than a peer dependency?

Open epicfaace opened this issue 3 years ago • 1 comments

Should @rjsf/core be a dependency of the theme packages (such as @rjsf/bootstrap) rather than a peer dependency? Based on conversation here (https://github.com/rjsf-team/react-jsonschema-form/pull/2722#issuecomment-1047858205) -- it probably makes sense for it to be a dependency so that people always pull in the right version. Moreover, people will likely not be using multiple theme packages at the same time, so there's no benefit to having a peer dependency.

epicfaace avatar Feb 22 '22 15:02 epicfaace

We've fixed peerDependencies so that required new features in an underlying package are properly set to the minor version. Hopefully that minimized issues due to npm requirements

heath-freenome avatar Oct 25 '25 00:10 heath-freenome