Open zeorin opened 2 months ago
cc @edslocomb & @raxod502, as you were involved in https://github.com/radian-software/apheleia/pull/200.
LGTM generally. Looks like upstream changes broke the tests. I'll fix, and also make sure we have test coverage that actually validates this change.
apheleia-npx
would use an incorrect path for the Yarn PnP ESM loader.apheleia-npx
did not correctly guard against word splitting.apheleia-npx
was sometimes not able to find formatters in a Yarn PnP project if there was also a node_modules folder at the root of the project. Unfortunately, many tools (including Prettier) will create a cache folder innode_modules
even in Yarn PnP projects. The presence of anynode_modules
folders are irrelevant when a.pnp.cjs
file is present.