-
Notifications
You must be signed in to change notification settings - Fork 1
Migrate package manager to PNPM #29
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
Conversation
|
@Mariusthvdb, node -v
npm -v
pnpm -v |
|
Installed where? On my regular working computer (MacBook) or in GitHub repo? |
|
Yes, in your regular computer |
|
no not installed.. all command not found ;-) |
|
Perfect, let's install curl -fsSL https://get.pnpm.io/install.sh | sh -At the end you should get something like this in your console: Created /root/.bashrc
Next configuration changes were made:
export PNPM_HOME="/root/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
To start using pnpm, run:
source /root/.bashrcAfter that you need to run what it recommends: source /root/.bashrcAfter that if you run this command you should get the pnpm -v |
|
yep managed all that and got 10.11.0 as last return on the pnpm -v just to be sure, after the source etc .zshrc command nothing happened? it just goes to the next line in the terminal |
Perfect
Yes, it just reloads your configuration to get the changes the installer applied |
|
Now, let's install Node (together with Run: pnpm env use --global 20After that, check that the next commands give you the version of each one: node -v
npm -v |
how do I reload? response is |
You already did it, the command that you wrote did it.
Super, you have the three tools already installed, but I forgot an important one: Follow these instructions. If you run |
|
I get |
|
Then you have |
This pull request migrates the package manager of the repository from
yarnto pnpm. Since a while,pnpmhas demonstrated to be a better alternative in terms of speed, disk space efficiency, dependency isolation and security.