Closed acidoxee closed 8 months ago
Didn't know yarn still a thing. What are the valid file extensions for yarn.config
file?
What are the valid file extensions for
yarn.config
file?
For now the docs only mention yarn.config.cjs
exactly. This also seems confirmed by this piece of code.
So there is no support for .yarnrc.json?
Not that I know of, no. I don't see it mentioned anywhere in the docs (the new one for v4 at least). Although I guess you could still add it to the mapping to be safe? But I'm quite positive it's not supported.
Yarn v4 has a few new dedicated files for config, dependency overrides and constraints:
.yarnrc.yml
yarn.config.cjs
Would it be possible to add those files to match the existing
_file_yarn
icon? 🙏