I am looking into packaging the backend for Gamevault. This is written in TS, but uses pnpm for dependency management instead of npm. From what I can tell, Nixpkgs does not have any specific functions to support building an app with pnpm. I assume I need to find some way of fetching the pnpm dependencies before building, similar to how node packages are handled.
Does anybody have any suggestions for packaging this app or examples of other pnpm programs that have been packaged?
I did try creating the package-lock.json and building it using npm, but it runs into dependency errors.