flatpak-builder-tools
flatpak-builder-tools copied to clipboard
Add support for pnpm in flatpak-node-generator
flatpak-builder version
1.2.3
Linux distribution and version
Arch, rolling
Affected flatpak-builder tool
node/flatpak-node-generator.py
flatpak-builder tool cli args
No response
Source repository URL
https://github.com/Vencord/Vesktop
Flatpak-builder manifest URL
https://github.com/RushingAlien/vesktop-flatpak/tree/build-from-source
Description
Some node projects now use pnpm instead of npm, I've tried to workaround it with a few methods, but to no avail. Pnpm's package lock is a yaml file called pnpm-lock.yaml
A workaround i've tried involves generating using npm to generate package-lock.json then use flatpak-node-generator npm tool then try to install dependencies with either npm or pnpm.
a lot of popular projects do use it qwq