I do think yarn 2/3 has some way to specially cater to easily editing your npm packages.
This is vscode specific, but yarn suggests a zipfs extension which lets you explore the packages in exactly the same way you would with node_modules (with the added benefit of not having a massive file tree being expanded).
Too bad it's not at $XDG_CACHE_HOME/yarn. NPM recently shot that down.