From b4788d6f87dbf5837aabfcd170186a29d0ddc66f Mon Sep 17 00:00:00 2001 From: suzmii Date: Sat, 22 Aug 2026 17:25:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8E=9F=E7=94=9F=E5=A3=B3?= =?UTF-8?q?=E9=94=81=E8=B7=AF=E5=BE=84=E5=AE=88=E5=8D=AB=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 用Prettier忽略保持根锁路径声明单行 恢复check-native-shells精确源码守卫匹配 --- apps/desktop-shell/scripts/check-config.mjs | 6 ++---- apps/mobile-shell/scripts/check-config.mjs | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/apps/desktop-shell/scripts/check-config.mjs b/apps/desktop-shell/scripts/check-config.mjs index 993d07933..dbdef848b 100644 --- a/apps/desktop-shell/scripts/check-config.mjs +++ b/apps/desktop-shell/scripts/check-config.mjs @@ -7,10 +7,8 @@ const packagePath = new URL('../package.json', import.meta.url); const packageConfig = JSON.parse(fs.readFileSync(packagePath, 'utf8')); const rootPackagePath = new URL('../../../package.json', import.meta.url); const rootPackageConfig = JSON.parse(fs.readFileSync(rootPackagePath, 'utf8')); -const rootPackageLockPath = new URL( - '../../../package-lock.json', - import.meta.url, -); +// prettier-ignore +const rootPackageLockPath = new URL('../../../package-lock.json', import.meta.url); const rootPackageLock = JSON.parse( fs.readFileSync(rootPackageLockPath, 'utf8'), ); diff --git a/apps/mobile-shell/scripts/check-config.mjs b/apps/mobile-shell/scripts/check-config.mjs index 8b0ff415a..c9d812194 100644 --- a/apps/mobile-shell/scripts/check-config.mjs +++ b/apps/mobile-shell/scripts/check-config.mjs @@ -334,10 +334,8 @@ const easConfigPath = new URL('../eas.json', import.meta.url); const easConfig = JSON.parse(fs.readFileSync(easConfigPath, 'utf8')); const rootPackagePath = new URL('../../../package.json', import.meta.url); const rootPackageConfig = JSON.parse(fs.readFileSync(rootPackagePath, 'utf8')); -const rootPackageLockPath = new URL( - '../../../package-lock.json', - import.meta.url, -); +// prettier-ignore +const rootPackageLockPath = new URL('../../../package-lock.json', import.meta.url); const rootPackageLock = JSON.parse( fs.readFileSync(rootPackageLockPath, 'utf8'), );