Support yarn --pnp
See original GitHub issueWith their new versions, yarn has now a option called “Plug’n’Play” (there isn’t any official doc yet) which removes the node_modules/
folder
Do you have plan to support this new feature?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Plug'n'Play | Yarn - Package Manager
PnP API. Are you a library author trying to make your library compatible with the Plug'n'Play ... Native support; Support via plugins; Incompatible....
Read more >Yarn PnP Support Status · Issue #16980 · angular/angular-cli
As of 9.0, the Angular CLI does not natively support Yarn 2.0 and its new package management strategy named Plug'n'Play (PnP).
Read more >Support Yarn PnP with ES modules (.pnp.cjs) : WEB-48961
Configure yarn 2 in a project: yarn set version 2 (e.g. 2.4.0); Run yarn install -> .pnp.cjs will be created in the project...
Read more >Migrating a monorepo from Lerna to Yarn 3 with PnP and Zero ...
... a 15 minute yarn install I said “enough is enough” and I decided to migrate to the recently announced [Yarn 3][yarn-3] with...
Read more >Yarn v2 PnP is simply a lifesaver if you have a medium+ sized ...
I meant special casing in the sense that this a conscious effort specifically targeted at Typescript support, as opposed to some generic design...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vlasenko implemented it.
Yarn v2 has an optional package called
@berry/pnpify
which wraps typescript and now eslint. Installingpnpify
and then adding this vscode setting"eslint.nodePath": ".vscode/pnpify"
makes eslint work in a pnp environment.@Teoxoy cool to hear. I do have a question: how were you able to solve this in yarn without any changes to ESLint?