franzliedke / studio

A workbench for developing Composer packages.
MIT License
1.14k stars 73 forks source link

Store overrides in platform-specific perference dirs #84

Open atrauzzi opened 6 years ago

atrauzzi commented 6 years ago

Is there any way that studio can store the list of packages that are being overridden in the platform-specific user preferences dir rather than a json file in the project root?

I'd probably just end up adding studio.json to .gitignore as that path is going to vary between users and platforms:

Doing something like this would really lock in a similar convention to npm and lower the cognitive overhead of this utility. At which point -- studio.json can pretty much be managed behind the scenes!

cc. https://github.com/composer/composer/issues/7064#issuecomment-364472602