aboutcode-org / aboutcode-org/scancode-toolkit

Support new yarn-v2 ways of handling node modules with "plug and play"

Aperta
#2,728 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
dependencies good first issue hacktoberfest new feature package-formats
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

See https://yarnpkg.com/features/pnp#fixing-node_modules

> In this install mode (the default starting from Yarn 2.0), Yarn generates a single .pnp.cjs file instead of the usual node_modules folder containing copies of various packages. The .pnp.cjs file contains various maps: one linking package names and versions to their location on the disk and another one linking package names and versions to their list of dependencies. With these lookup tables, Yarn can instantly tell Node where to find any package it needs to access, as long as they are part of the dependency tree, and as long as this file is loaded within your environment (more on that in the next section).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.