8000 refactor(nuxt): use `nuxi-ng` for edge releases by danielroe Β· Pull Request #22413 Β· nuxt/nuxt Β· GitHub
[go: up one dir, main page]

Skip to content

refactor(nuxt): use nuxi-ng for edge releases #22413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
8000
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/bump-edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
0