Skip to content

Commit c9c72b9

Browse files
committed
fix: expand esbuild semver range
esbuild recently published a new major which means installs of WDS duplicate it currently, since we're bound to `0.25.0`. this just expands the semver range so we can de-dupe. Note this doesn't upgrade the locally installed esbuild (in this repo) as the storybook package uses storybook 8.x which still uses the older esbuild. So it means we would have 2 esbuild installs.
1 parent ea49352 commit c9c72b9

File tree

4 files changed

+7
-12
lines changed

4 files changed

+7
-12
lines changed

package-lock.json

Lines changed: 4 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/dev-server-esbuild/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"dependencies": {
5454
"@mdn/browser-compat-data": "^4.0.0",
5555
"@web/dev-server-core": "^0.7.4",
56-
"esbuild": "^0.25.0",
56+
"esbuild": "^0.25.0 || ^0.26.0 || ^0.27.0",
5757
"parse5": "^6.0.1",
5858
"ua-parser-js": "^1.0.33"
5959
},

packages/rollup-plugin-workbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"workbox"
3333
],
3434
"dependencies": {
35-
"esbuild": "^0.25.0",
35+
"esbuild": "^0.25.0 || ^0.26.0 || ^0.27.0",
3636
"pretty-bytes": "^5.5.0",
3737
"workbox-build": "^7.0.0"
3838
},

packages/storybook-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"browser-assert": "^1.2.1",
6363
"cjs-module-lexer": "^1.2.3",
6464
"es-module-lexer": "^1.2.1",
65-
"esbuild": "^0.25.0",
65+
"esbuild": "^0.25.0 || ^0.26.0 || ^0.27.0",
6666
"glob": "^12.0.0",
6767
"lodash-es": "^4.17.21",
6868
"path-browserify": "^1.0.1",

0 commit comments

Comments
 (0)