Skip to content

Migrate from npm to pnpm as package manager #17

@Wajahat43

Description

@Wajahat43

We want to switch our package manager from npm to pnpm to get faster installs and a smaller node_modules folder. This should also make installs more consistent across machines and ci.

Why switch

•	Faster installs after the first run because packages are reused from a shared store
•	Less disk usage since shared dependencies are stored once and linked
•	Stricter dependency resolution so apps do not rely on hidden transitive deps
•	Better support for workspaces and monorepos if we add more packages later

Scope

Update the project to use pnpm for local development ci and production builds.

Tasks
1. Add pnpm to the project and create a pnpm lock file
2. Update scripts and any docs that mention npm commands
3. Update ci config to use pnpm install
4. Run a clean install

Done when

All npm commands are replaced in docs and ci
A fresh clone using pnpm install works for dev build and tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions