Upgrade live-plugin-manager to 1.0.0 (#6396)

* Upgrade the live-plugin-manager

* Fix migration scripts to skip checking for the system directory of live-plugin-manager

* Updated lockfile

* Improved handling of install.

---------

Co-authored-by: yacchin1205 <968739+yacchin1205@users.noreply.github.com>
Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
This commit is contained in:
Satoshi Yazawa 2024-06-01 21:05:53 +09:00 committed by GitHub
parent 0b0d882477
commit 3a1ef560ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 4984 additions and 3903 deletions

View file

@ -100,6 +100,10 @@ export const checkForMigration = async () => {
for (let file of files){
const moduleName = path.basename(file);
if (moduleName === '.versions') {
// Skip the directory using live-plugin-manager
continue;
}
try {
await fs.access(path.join(node_modules, moduleName), fs.constants.F_OK);
logger.debug(`plugin ${moduleName} already exists in node_modules`);