Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Pnpm? #16

Open
tunnckoCore opened this issue Nov 9, 2019 · 3 comments
Open

Support Pnpm? #16

tunnckoCore opened this issue Nov 9, 2019 · 3 comments

Comments

@tunnckoCore
Copy link

tunnckoCore commented Nov 9, 2019

For what I'm seeing is that we only need to change the packages part.
The thing is that I don't know for now what's it on Windows.

exports.npm.packages = path.join(npmPrefix, isWindows ? 'node_modules' : 'lib/node_modules');

exports.pnpm.packages = path.join(npmPrefix, isWindows ? 'TODO' : 'pnpm-global/3/node_modules');

The rest is the same as the npm's

@zvictor
Copy link

zvictor commented Jul 29, 2022

Pnpm keeps growing in popularity, and having support to it here would be ideal.

Is it correct to say that all we are missing here is the location of global packages when running Windows?

@doinkythederp
Copy link

doinkythederp commented Nov 16, 2022

I think packages are located at $PNPM_HOME/global/5/node_modules. For context, PNPM_HOME is usually set to ~/AppData/Local/pnpm/. I've got this information from a fresh install of pnpm using the powershell installer command on https://pnpm.io. I then unzipped a new node.js archive into the same directory as pnpm.exe because it needs node installed to install packages.

@peterroe
Copy link

Is there any progress here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants