Skip to content

Support pnpm as a JavaScript package manager option #14

@yusufkandemir

Description

@yusufkandemir

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions