hughbris / grav-plugin-pushy

Push with Git to publish changes to your production environment
MIT License
3 stars 1 forks source link

JavaScript or Typescript #3

Closed pamtbaau closed 2 years ago

pamtbaau commented 2 years ago

If I would like to contribute to the repo, which language would you like to code to be in?

My personal preference is Typescript. If you prefer JavaScript, I'll have to share only the transpiled code.

Do you by the way have a bit more context about your plans? Eg.

hughbris commented 2 years ago

Great! Firstly my plan was to at least start without any client scripting, but I think this will limit what I can do in terms of git (there's a note on that in the README todo section). I need to get this working for clients really quickly, so a simple form submission all-in-one commit is most immediately attractive. I may change my mind when I start building this in a few hours. Eventually I am pretty sure this will use AJAX.

I know the right answer is Typescript. I just don't know it yet or the transpiling stack. I really dislike npm if that's a necessary part of it. Not knowing Typescript has been inconvenient when trying to fix some other broken stuff in Grav like Form's file uploader, so maybe it's time.

My next tasks should provide you with a better idea for both parts of your question: