Skip to content

Commit

Permalink
fix: do not update devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Jun 19, 2024
1 parent 6280591 commit 062fb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bump-edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function loadPackage (dir: string) {
const save = () => fsp.writeFile(pkgPath, JSON.stringify(data, null, 2) + '\n')

const updateDeps = (reviver: any) => {
for (const type of ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies']) {
for (const type of ['dependencies', 'optionalDependencies', 'peerDependencies']) {
if (!data[type]) { continue }
for (const e of Object.entries(data[type])) {
const dep = { name: e[0], range: e[1], type }
Expand Down

0 comments on commit 062fb97

Please sign in to comment.