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.
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/andyarn.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.