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

@rjsf/[email protected] does not satisfy peer dependency of other rjsf packages in the same version #3669

Closed
3 of 4 tasks
siketyan opened this issue May 15, 2023 · 0 comments · Fixed by #3675
Closed
3 of 4 tasks
Labels
bug needs triage Initial label given, to be assigned correct labels and assigned

Comments

@siketyan
Copy link
Contributor

siketyan commented May 15, 2023

Prerequisites

What theme are you using?

antd

Version

5.7.0

Current Behavior

@rjsf/core and other packages require @rjsf/utils@~5.6.0 as a peer dependency, not 5.7.0. Therefore @rjsf/utils does not satisfy peer dependencies of others:

❯ yarn
(snipped)
➤ YN0060: │ my-package provides @rjsf/utils (p8313d) with version 5.7.0, which doesn't satisfy what @rjsf/antd requests
➤ YN0060: │ my-package provides @rjsf/utils (p34348) with version 5.7.0, which doesn't satisfy what @rjsf/core requests
➤ YN0060: │ my-package provides @rjsf/utils (p4359b) with version 5.7.0, which doesn't satisfy what @rjsf/validator-ajv8 requests
(snipped)
❯ yarn explain peer-requirements p8313d
➤ YN0000: my-package provides @rjsf/utils@npm:5.7.0 [89fbe] with version 5.7.0, which doesn't satisfy the following requirements:

➤ YN0000: @rjsf/antd@npm:5.7.0 [89fbe] → 5.6.x ✘

Expected Behavior

I think rjsf/* packages are shipped in the same release cycle, so for example @rjsf/[email protected] package should require @rjsf/[email protected] as a peer dependency.

Steps To Reproduce

Install @rjsf/[email protected] and some other packages of version 5.7.0.

yarn add @rjsf/[email protected] @rjsf/[email protected] @rjsf/[email protected] @rjsf/validator-ajv8

Environment

- OS: macOS 13.3.1 22E261 arm64
- Node: 18.16.0
- npm: 9.6.1
- Yarn: 3.5.1

Anything else?

No response

@siketyan siketyan added bug needs triage Initial label given, to be assigned correct labels and assigned labels May 15, 2023
aodinok added a commit to aodinok/react-jsonschema-form that referenced this issue May 15, 2023
heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this issue May 15, 2023
fixes rjsf-team#3669 by updating the peer dependencies for all packages to 5.7.x
heath-freenome added a commit that referenced this issue May 15, 2023
fixes #3669 by updating the peer dependencies for all packages to 5.7.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage Initial label given, to be assigned correct labels and assigned
Projects
None yet
1 participant