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

Support fast-check@3 #10

Closed
davish opened this issue Apr 9, 2023 · 1 comment
Closed

Support fast-check@3 #10

davish opened this issue Apr 9, 2023 · 1 comment

Comments

@davish
Copy link

davish commented Apr 9, 2023

Hello, thanks so much for this library! It's been super easy to use.

In GitHub actions, however, running npm ci is giving the following errors:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: zod-fast-check@0.9.0
npm ERR! Found: fast-check@3.8.0
npm ERR! node_modules/fast-check
npm ERR!   dev fast-check@"^3.8.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer fast-check@"^2.23.0" from zod-fast-check@0.9.0
npm ERR! node_modules/zod-fast-check
npm ERR!   dev zod-fast-check@"^0.9.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: fast-check@2.25.0
npm ERR! node_modules/fast-check
npm ERR!   peer fast-check@"^2.23.0" from zod-fast-check@0.9.0
npm ERR!   node_modules/zod-fast-check
npm ERR!     dev zod-fast-check@"^0.9.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

My dev dependencies have these entries in package.json:

{
        "fast-check": "^3.8.0",
        "zod-fast-check": "^0.9.0"
}

Is there a reason that peer dependencies for zod-fast-check is tied to fast-check@2.25.0?

@DavidTimms
Copy link
Owner

Hi Davis, thanks for raising this.

This was a mistake in the peer dependency constraint. I've just released a new version (0.9.1) which should fix this.

Let me know whether this works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants