mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +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)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user