Skip to content

Commit 062fb97

Browse files
committed
fix: do not update devDependencies
1 parent 6280591 commit 062fb97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bump-edge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function loadPackage (dir: string) {
1111
const save = () => fsp.writeFile(pkgPath, JSON.stringify(data, null, 2) + '\n')
1212

1313
const updateDeps = (reviver: any) => {
14-
for (const type of ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies']) {
14+
for (const type of ['dependencies', 'optionalDependencies', 'peerDependencies']) {
1515
if (!data[type]) { continue }
1616
for (const e of Object.entries(data[type])) {
1717
const dep = { name: e[0], range: e[1], type }

0 commit comments

Comments
 (0)