guybedford / chomp

'JS Make' - parallel task runner for the frontend ecosystem with a JS extension system.
https://chompbuild.com
Apache License 2.0
138 stars 7 forks source link

Template options validation #41

Closed canadaduane closed 2 years ago

canadaduane commented 2 years ago

I had pkg-manager set in my chompfile, but the name of the setting has since changed to package-manager. It took a minute to figure out why ${packageManager} was still equal to "npm".

guybedford commented 2 years ago

Renamed this to "template options validation". I think a simple per-template validation hook will handle this well.