JamieMason / syncpack

Consistent dependency versions in large JavaScript Monorepos.
https://jamiemason.github.io/syncpack/
MIT License
1.46k stars 51 forks source link

question(config): any way to disable "scripts" sorting? #233

Closed HommeSauvage closed 4 months ago

HommeSauvage commented 4 months ago

Description

I would like to have syncpack format my package.json but not touch the scripts part. Reason is, we have lots of scripts and we have a specific order for those for readability.

Suggested Solution

Add sortScripts: boolean to the config

HommeSauvage commented 4 months ago

It's in sortAz

JamieMason commented 4 months ago

Thanks @HommeSauvage 👍