Skip to content

Commit

Permalink
Merge pull request #222 from juanky201271/dev
Browse files Browse the repository at this point in the history
Macos resolutions script fixed
  • Loading branch information
juanky201271 authored Nov 23, 2024
2 parents 7c95df1 + 0618b44 commit 1d9b43c
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 1d9b43c

Please sign in to comment.