flatpak-builder-tools icon indicating copy to clipboard operation
flatpak-builder-tools copied to clipboard

Add support for pnpm in flatpak-node-generator

Open RushingAlien opened this issue 1 year ago • 1 comments

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.

RushingAlien avatar Nov 16 '23 09:11 RushingAlien

a lot of popular projects do use it qwq

ImUrX avatar Dec 22 '23 03:12 ImUrX