Closed arcanis closed 3 years ago
Latest commit: e5ecfea448ae9242a34fb8d5ae76de564df18aba
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
I agree, this all makes sense - thanks, will make a build
Wait I made a typo (not bc-breaking, it just prevents my change to be applied 🤦♀️)
hahaha :D
When installed under Yarn w/ PnP, packages are mounted as readonly zip archives. As a result, the remark caching logic that currently tries to locate the node_modules from
__dirname
results in the artifacts being written into the (read-only) archive, thus failing.This diff fixes that by checking whether the current process operates under PnP mode, and using the PnP API in that case (which is a sounder way to get the project root anyway).