https://pantsbuild.org/ logo
c

creamy-airplane-38079

11/30/2021, 5:14 PM
Question regarding pants and yarn. In pants 1.30.X, is it possible to specify in toml file, the path to a yarnrc file ? Looked up the documentation specifically under node.js but couldn't find a good reference( I might be looking in the wrong place though). Trying to tell pants to use a specific yarn version from a executable that is stored in the repo ( i.e yarn-1.22.15.cjs)
h

happy-kitchen-89482

11/30/2021, 11:31 PM
I don't recall much about the Node implementation in Pants 1.3.x, since it's so old now, but I don't see anything in the source that supports that.
c

creamy-airplane-38079

12/01/2021, 3:07 PM
🤔 yeah tried to play around with some of the yarnpackage options but that did not work. Update: the yarnpackage option works as expected. I can use it to tell pants to use a specific version, but that gets overriden by the yarnrc configuration in the repo
4 Views