mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
refactor(nuxt): use nuxi-ng
for edge releases (#22413)
This commit is contained in:
parent
24afefdb48
commit
a6821948ba
@ -10,10 +10,12 @@ async function main () {
|
||||
const date = Math.round(Date.now() / (1000 * 60))
|
||||
|
||||
const nuxtPkg = workspace.find('nuxt')
|
||||
const nitroInfo = await $fetch('https://registry.npmjs.org/nitropack-edge')
|
||||
const latestNitro = nitroInfo['dist-tags'].latest
|
||||
const { version: latestNitro } = await $fetch<{ version: string }>('https://registry.npmjs.org/nitropack-edge/latest')
|
||||
nuxtPkg.data.dependencies.nitropack = `npm:nitropack-edge@^${latestNitro}`
|
||||
|
||||
const { version: latestNuxi } = await $fetch<{ version: string }>('https://registry.npmjs.org/nuxi-ng/latest')
|
||||
nuxtPkg.data.dependencies.nuxi = `npm:nuxi-ng@^${latestNuxi}`
|
||||
|
||||
const bumpType = await determineBumpType()
|
||||
|
||||
for (const pkg of workspace.packages.filter(p => !p.data.private)) {
|
||||
|
Loading…
Reference in New Issue
Block a user