Closed LavaToaster closed 1 year ago
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.
{
"pnpm": {
"overrides": {
"@mswjs/data": "^1.0.0"
}
}
Using latest
was completely incorrect. Will publish a fix.
This has been released in v0.15.0!
Make sure to always update to the latest version (npm i @mswjs/data@latest
) to get the newest features and bug fixes.
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
?