What is the purpose of deno.lock file, which gets generated locally? Should I push it to github repo or should it be ignored?
It’s a lockfile for Edge Functions. If you don’t use those, you can ignore it.
Sorry to be a bother, but I’m using Edge Functions with some bare-bones TypeScript and would also like to know more about this. Nothing that’s imported in the file is used by the functions themselves. It seems like it’s taking my PNPM file and syncing its entire contents to Deno every time I make a change. Should I be committing it to my repo? What’s more, won’t it be loading additional code that Deno isn’t using? I have limited experience with Deno, so I’m not entirely sure how it works.
You can read more about the lockfile here: Modules and dependencies