-
Notifications
You must be signed in to change notification settings - Fork 202
Description
There's a new version of yarn: https://github.com/yarnpkg/berry
And it completely gets rid of node_modules
, the dependencies are instead in zip files in.yarn/cache
.
Right now that makes typescript not find any dependencies and say things like Cannot find module 'solid-js' or its corresponding type declarations.
.
It would be great if you could add support somehow.
This is the page describing how to use it with vscode: https://next.yarnpkg.com/getting-started/editor-sdks
It appears to wrap pnpify
around tsserver which then emulates a node_modules
folder or something.
Through my attempts to get vscode to use it, atom has also started using it:
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
daniel 37279 0.0 0.9 20959556 300720 ?? S 7:52PM 0:08.84 /Applications/Atom.app/Contents/Frameworks/Atom Helper (Renderer).app/Contents/MacOS/Atom Helper (Renderer) --no-deprecation [project_dir]/.yarn/sdks/typescript/lib/tsserver.js --locale en
But it doesn't work in vscode nor in atom :(
Since I don't want to start using vscode because it sucks it would be great if you could make it work with atom :)