fix:修复 nuxt工程 新增依赖时没有备份 package.json 的问题

This commit is contained in:
妙码生花 2023-10-13 19:10:42 +08:00
parent 57a8c99320
commit 494f35e429

View File

@ -639,6 +639,9 @@ class Manage
if ($key == 'dependencies' || $key == 'devDependencies') {
$coverFiles[] = 'web' . DIRECTORY_SEPARATOR . 'package.json';
}
if ($key == 'nuxtDependencies' || $key == 'nuxtDevDependencies') {
$coverFiles[] = 'web-nuxt' . DIRECTORY_SEPARATOR . 'package.json';
}
}
}