From 0618b448c23e3bd85de626450e75b562fdbea2c3 Mon Sep 17 00:00:00 2001 From: Juan Carlos Carmona Calvo Date: Sat, 23 Nov 2024 12:48:03 -0700 Subject: [PATCH] fix: macos resolutions script fixed --- set-resolutions-macos.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/set-resolutions-macos.js b/set-resolutions-macos.js index e588d7f..c5ecb8c 100644 --- a/set-resolutions-macos.js +++ b/set-resolutions-macos.js @@ -14,6 +14,9 @@ if (os.platform() === 'darwin') { fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2)); console.log('Resolutions updated only for macOS, re-running yarn again.'); execSync('yarn install', { stdio: 'inherit' }); + delete packageJson.resolutions.fsevents; + delete packageJson.resolutions; + fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2)); } } else { console.log('Resolutions NOT updated, this is only for macOS.');