Skip to content

Commit ec84d65

Browse files
committed
Update bump script
1 parent 5821630 commit ec84d65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/bump.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ for (let dir of readdirSync(PACKAGES)) {
2020
pkgPath,
2121
pkg
2222
.replace(
23-
/("@size-limit\/[^"]+": )"((workspace:)?\d+.\d+.\d+"|workspace:\*")/g,
23+
/("@size-limit\/[^"]+": )"((workspace:)?\d+.\d+.\d+"|workspace:\^")/g,
2424
`$1"${version}"`
2525
)
2626
.replace(
27-
/("size-limit": )"((workspace:)?\d+.\d+.\d+"|workspace:\*")/g,
27+
/("size-limit": )"((workspace:)?\d+.\d+.\d+"|workspace:\^")/g,
2828
`$1"${version}"`
2929
)
3030
.replace(/("version": )"\d+.\d+.\d+"/g, `$1"${version}"`)

0 commit comments

Comments
 (0)