https://pantsbuild.org/ logo
#general
Title
# general
l

lively-gpu-26436

01/19/2023, 9:01 AM
Hi all, has anyone integrated a NodeJS project in Pants? Most of my packages are Python, but there’s a single NodeJS one I’d like to integrate too
👀 1
h

high-magician-46188

01/19/2023, 10:25 AM
Joining to the question 😛
h

happy-kitchen-89482

01/19/2023, 12:00 PM
There is not yet low level support for JS in Pants, although we are very interested in finding people willing to participate in developing this. But there has been a lot of recent work by @ancient-vegetable-10556 on "experimental shell command" - a mechanism for having Pants orchestrate arbitrary underlying tools. This might be a good fit for at least a small JS build such as yours.
🙏 1
w

wide-midnight-78598

01/19/2023, 1:06 PM
At the moment, the only node-ish anything we do is the ability to run
npx
for tooling (e.g. Prettier). I believe someone was going to work on the dependency inference, which is a good step 1 for support. If you have any workflow feedback, or specifics you can share - here is a good spot: https://github.com/pantsbuild/pants/discussions/17357
🙏 1
☝️ 1
6 Views