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

Use pnpm instead of npm #19

Open
RobertRR11 opened this issue Apr 9, 2023 · 2 comments
Open

Use pnpm instead of npm #19

RobertRR11 opened this issue Apr 9, 2023 · 2 comments
Labels
misc anything that doesnt quite fit under any other label

Comments

@RobertRR11
Copy link
Contributor

It's just the better npm, I got nothing else to say to this

@JackDotJS
Copy link
Owner

i keep hearing people suggest this but how would i go about making the switch from npm to pnpm anyway

@JackDotJS JackDotJS added the misc anything that doesnt quite fit under any other label label Apr 10, 2023
@RobertRR11
Copy link
Contributor Author

  • run corepack enable and corepack prepare pnpm@latest --activate to install pnpm
  • delete node_modules and package-lock.json
  • run pnpm install

Running scripts from package.json now won't need run inbetween, for example:
npm run dev -> pnpm dev

And the Github workflow would also need those changes, probably just replacing npm with pnpm everywhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc anything that doesnt quite fit under any other label
Projects
None yet
Development

No branches or pull requests

2 participants