donpark / html2jade

Converts HTML to Jade template. Not perfect but useful enough for non-daily conversions.
MIT License
1.18k stars 156 forks source link

Rename/update to Pug 2 (html2pug) #113

Open danielbayley opened 8 years ago

danielbayley commented 8 years ago

https://pugjs.org/api/migration-v2.html#project-rename

donpark commented 8 years ago

Thanks for the heads up. This is what my plan is going forward.

  1. keep html2jade as-is for users still using jade as-is.
  2. consider creating html2pug module for pug users.

FYI, I am not a big fan of semver and, to me, breaking backward-compatibility should result in name change like foo2 instead of just keeping same name and bumping major version number.

aichholzer commented 8 years ago

In order to keep the modules that rely on html2jade from breaking, sticking with .jade, as-is, is the better approach. I will soon start working on a new major release of this module and an option might be to simply provide a flag, something along the lines of --pug (for CLI) and an option for programmatic use, to provide support for the new features.

donpark commented 8 years ago

Super!