react-jsonschema-form
react-jsonschema-form copied to clipboard
Should @rjsf/core be a dependency rather than a peer dependency?
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.
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