Hi, I came across the AWS reference architecture where each function has a package.json: lambda-refarch-webapp/todo-src/completeTodo at master · aws-samples/lambda-refarch-webapp · GitHub
I also came across Structuring a Real-World Serverless App but that didn’t have a real Git repo for me to study, so I didn’t actually understand how to manage “Sharing code between services”.
For example I’ve created a minimal reproducible example here:
But when I include …/log.js from bar, log.js is unable to discover bar’s package.json. So how does one organise their code base to make it work?