So I managed to fix this myself! :)
Firstly I created a new project and selected Model 3 as opposed to Model 4 using the azure functions VS Code extension. This gave me a different project structure which contained a function.json file.
I then created a new function app with windows, x64, node v20.
When I published the app the triggers now remained and it didn't break!!