Skip to content

Commit

Permalink
fix(peer-deps): upgrade esbuild peer dep to new major version ~19 (#…
Browse files Browse the repository at this point in the history
…125)

npm throws an error, when the installed esbuild version does not match package.json > peerDependencies > esbuild version pattern and we trying to install package without --legacy-peer-deps flag. This fixes it.

BREAKING CHANGE: This is the same breaking change as v0.8.0 and a fix for that release specifying the wrong peer dependency, but will make this install fail for users of esbuild <0.19.2.

---------

Co-authored-by: Nihal Gonsalves <[email protected]>
  • Loading branch information
M-51 and nihalgonsalves authored Aug 17, 2023
1 parent 847e461 commit 98d334a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"peerDependencies": {
"browserslist": "^4.21.8",
"esbuild": "~0.18.2"
"esbuild": "~0.19.2"
},
"dependencies": {
"debug": "^4.3.4",
Expand Down

0 comments on commit 98d334a

Please sign in to comment.