Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix(nuxi): upgrade with latest tag (#9060)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 16, 2022
1 parent 3aadc57 commit de29330
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nuxi/src/commands/upgrade.ts
Expand Up @@ -49,9 +49,9 @@ export default defineNuxtCommand({
await touchFile(pmLockFile)
}

// Install latest rc
consola.info('Installing latest Nuxt 3 RC...')
execSync(`${packageManager} ${packageManager === 'yarn' ? 'add' : 'install'} -D nuxt@rc`, { stdio: 'inherit', cwd: rootDir })
// Install latest version
consola.info('Installing latest Nuxt 3 release...')
execSync(`${packageManager} ${packageManager === 'yarn' ? 'add' : 'install'} -D nuxt`, { stdio: 'inherit', cwd: rootDir })

// Cleanup after upgrade
await cleanupNuxtDirs(rootDir)
Expand Down

0 comments on commit de29330

Please sign in to comment.