software-mansion / radon-ide

VSCode extension that turns your editor into a fully fledged IDE for React Native and Expo.
https://ide.swmansion.com
Other
867 stars 29 forks source link

Update prettier call in lint command to use npm #536

Closed kmagiera closed 2 weeks ago

kmagiera commented 2 weeks ago

This PR updates call to prettier from lint script to use npm.

Previously the script would use yarn prettier to call prettier from node_modules/.bin, however, this comand fails now with newer version of yarn as the new yarn thinks this project is a yarn workspace project (due to package.json structure) which is not the case.

Since we're using npm as package manager, it's better to stick to it instead of relying on yarn for simple script calls.

This PR updates yarn prettier command to call npm exec prettier instead.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-ide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 11, 2024 10:25am