aboutcode-org / aboutcode-org/scancode-toolkit

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

未关闭
#2,728 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
dependencies good first issue hacktoberfest new feature package-formats
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

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).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。