mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix(nuxi): upgrade with latest
tag (#9060)
This commit is contained in:
parent
3aadc57be5
commit
de293300b8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user