Skip to content

Commit

Permalink
Fix MirageJS dependency range
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Jun 17, 2024
1 parent 5aee8f7 commit 4283b92
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 121 deletions.
1 change: 0 additions & 1 deletion lib/msw-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ export default class MswConfig {

let req: Request = {
requestBody,
// @ts-expect-error this is fixed in an unreleased version of miragejs
queryParams,
requestHeaders,
// @ts-expect-error params can be an array, but mirage doesn't expect that
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.2",
"miragejs": "^0.1.47",
"miragejs": "^0.2.0-alpha.1",
"msw": "2.3.0",
"prettier": "^3.0.1",
"tsup": "^7.2.0",
Expand All @@ -42,7 +42,7 @@
}
},
"peerDependancies": {
"miragejs": "~0.1.43",
"miragejs": ">=0.2.0-alpha.1",
"msw": "^2.0.0"
},
"author": "Brian Gantzler",
Expand Down
125 changes: 7 additions & 118 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4283b92

Please sign in to comment.