Update sync.sh script for vale v3
What problem do you want to solve?
With vale v3, there are expanded capabilities for packages. With this, there's additional manipulation that's done during vale sync
, and if there are conflicting settings then the priority is set there as well. So, need to run vale sync
to setup rules properly.
What is the proposed solution?
Updates:
- Update
Dockerfile
to download and save zip files for cached packages - Update
sync.sh
to check for packages in cache, and if so create an updated temporary config that updates the reference to the cache - Run
vale sync
from the temp config. - This also allows download of other packages not in cache (versus failing, which currently occurs), so update docs appropriately.