Skip to content

Support pnpm as a JavaScript package manager option #14

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

Open
yusufkandemir opened this issue Oct 21, 2024 · 1 comment
Open

Support pnpm as a JavaScript package manager option #14

yusufkandemir opened this issue Oct 21, 2024 · 1 comment
Labels

Comments

@yusufkandemir
Copy link
Contributor

yusufkandemir commented Oct 21, 2024

Currently, post-install only offers between yarn and npm(pro only) to install JavaScript dependencies.

Add pnpm as another option, preferably to this open-source template and not the pro (😅).

To clarify, it's possible to use pnpm with spin, but with extra steps. The users can continue the script with yarn, then delete node_modules/ and yarn.lock. Afterward, they can set up and use pnpm.
I am not sure how good the solution is, but I've created Dockerfile.node, used the official node image as the base, installed pnpm inside it, and used that image in the compose file instead.

@jaydrogers
Copy link
Member

Add pnpm as another option, preferably to this open-source template and not the pro (😅).

This would most likely be added to Pro, not open source. I wish I could give everything away for free, but that can only work in a world where all my expenses are free (obviously not a realistic scenario).

I hope all of our other contributions and vast selection of open source projects provide enough value to show our commitment to open source. Anything we earn from Pro only help us build the open source versions better.

@jaydrogers jaydrogers added the ⚡️ Enhancement New feature label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants