Dan Greaves
11/17/2021, 9:57 PMFrank
Frank
Dan Greaves
11/18/2021, 7:58 PMWhen installing dependencies with npm, all packages are hoisted to the root of the modules directory. As a result, source code has access to dependencies that are not added as dependencies to the project.With npm and yarn, this isn’t a problem, because all dependencies of all projects are flattened into node_modules, meaning everything can access everything, even when it’s not a direct dependency. I personally think that’s an antipattern but it’s a side effect of using a flat node_modules. Definitely fine to say you don’t support pnpm as in you haven’t tested with it, but I don’t think it’s fair to say it’s not supported in that it doesn’t work, because it works fine if the dependencies are corect.
thdxr
11/19/2021, 2:52 PM