Skip to content

Commit

Permalink
chore: Update bump edge script
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDredd committed Feb 16, 2025
1 parent 3ec4e6e commit 8ca41be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/bump-edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { consola } from 'consola'
import { determineBumpType, loadWorkspace } from './_utils'

const nightlyPackages = {
nitropack: 'nitropack-edge',
h3: 'h3-nightly',
nuxi: 'nuxi-edge'
// nitro: 'nitro-nightly',
// h3: 'h3-nightly',
nuxi: 'nuxi-nightly',
}

async function main () {
Expand All @@ -20,7 +20,7 @@ async function main () {
for (const pkg of workspace.packages.filter(p => !p.data.private)) {
const newVersion = inc(pkg.data.version, bumpType || 'patch')
workspace.setVersion(pkg.data.name, `${newVersion}-${date}.${commit}`, {
updateDeps: true
updateDeps: true,
})
for (const [name, nightlyName] of Object.entries(nightlyPackages)) {
if (pkg.data.dependencies && name in pkg.data.dependencies) {
Expand Down

0 comments on commit 8ca41be

Please sign in to comment.