fix(nuxi): upgrade with latest tag (#9060)

This commit is contained in:
pooya parsa 2022-11-16 15:07:40 +01:00 committed by GitHub
parent 3aadc57be5
commit de293300b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,9 +49,9 @@ export default defineNuxtCommand({
await touchFile(pmLockFile) await touchFile(pmLockFile)
} }
// Install latest rc // Install latest version
consola.info('Installing latest Nuxt 3 RC...') consola.info('Installing latest Nuxt 3 release...')
execSync(`${packageManager} ${packageManager === 'yarn' ? 'add' : 'install'} -D nuxt@rc`, { stdio: 'inherit', cwd: rootDir }) execSync(`${packageManager} ${packageManager === 'yarn' ? 'add' : 'install'} -D nuxt`, { stdio: 'inherit', cwd: rootDir })
// Cleanup after upgrade // Cleanup after upgrade
await cleanupNuxtDirs(rootDir) await cleanupNuxtDirs(rootDir)