Skip to content

Commit

Permalink
fix: macos resolutions script fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
juanky201271 committed Nov 23, 2024
1 parent 7c95df1 commit 0618b44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions set-resolutions-macos.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down

0 comments on commit 0618b44

Please sign in to comment.