-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
pnpm resolves msw optional dependency as v2 instead of v1 #289
Comments
Should package.json have the devDependencies and optionalDependencies for MSW set to "^1.0.0" (instead of "latest") until a v2 fix/implementation is in place? |
In the meantime adding this to package.json fixed it for me.
|
Using |
Released: v0.15.0 🎉This has been released in v0.15.0! Make sure to always update to the latest version ( Predictable release automation by @ossjs/release. |
Given the following package.json file:
NPM, Yarn and PNPM are resolving the
msw
for@mswjs/data
as either v1 or v2. In our case with PNPM it's resolving v2. Which then results in @mswjs/data being incompatible.Should this be a
peerDependency
?The text was updated successfully, but these errors were encountered: