invertase / melos

๐ŸŒ‹ A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.07k stars 193 forks source link

feat: 'auto' option for runPubGetInParallel #731

Open tomassasovsky opened 3 weeks ago

tomassasovsky commented 3 weeks ago

Description

Adds the new value of 'auto' to runPubGetInParallel, which is now default and will only run pub get sequentially if it's being run on a CI instance.

Since the current variable type is of bool for this variable, I had to add some code to handle both the old and new possible data types for parsing. Any alternative ideas for this are more than welcome.

PS: thanks for making such an awesome tool!

Closes #546

Type of Change

CLAassistant commented 2 weeks ago

CLA assistant check
All committers have signed the CLA.

tomassasovsky commented 2 weeks ago

Changed the docs to reflect the change, but tests are a bit more complicated cause I don't really understand how things are set up there and how everything interacts with each other just yet. I can take a deeper look into it during the week though.