mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
chore: check if deps exist
This commit is contained in:
parent
b5b2b47feb
commit
817c12f026
@ -22,7 +22,7 @@ async function main () {
|
|||||||
updateDeps: true
|
updateDeps: true
|
||||||
})
|
})
|
||||||
for (const [name, nightlyName] of Object.entries(nightlyPackages)) {
|
for (const [name, nightlyName] of Object.entries(nightlyPackages)) {
|
||||||
if (name in pkg.data.dependencies) {
|
if (pkg.data.dependencies && name in pkg.data.dependencies) {
|
||||||
pkg.data.dependencies[name] = `npm:${nightlyName}@latest`
|
pkg.data.dependencies[name] = `npm:${nightlyName}@latest`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user