twohoursonelife / twotech

Automated Crafting Guide for Two Hours One Life
https://twotech.twohoursonelife.com
MIT License
3 stars 7 forks source link

Migrate to Typescript and Vue 3 #61

Closed mtklass closed 2 months ago

mtklass commented 3 months ago

This PR changes the processing code over to Typescript, which makes the code safer and faster (15% faster!). The modifications are meant to be minimal in terms of logic changes, and the site data should work as it did before.

The PR also migrates from Vue 2 to Vue 3, which was a harder change. It took a bit of fiddling to get everything working like before, but it should now behave just like the current twotech site.

mtklass commented 2 months ago

PR commits squashed.

mtklass commented 2 months ago

Thanks! And good catches! Sounds like a plan to put them into an issue. Most shouldn't be too bad to tackle.

I'm good with merging this. 👍

connorhsm commented 2 months ago

For reference, this PR also introduced processing of specific objects/sprites. #44