Let's say I have a directory 'foo' that contains my Azure Function Project, built in TypeScript. My structure is like that described in the JavaScript documentation for Azure Function (The TypeScript folder structure is very similar to the JavaScript folder structure). I now want to create a zip file that I can publish to Azure using the Zip Deployment mechanism. How do I create the zip file manually and then publish it to Azure Functions?
Note: I bootstrapped the project using Azure Function Core Tools and am developing in Visual Studio Code on macOS