Skip to content

Proposal: Consider migrating the Bootstrap repository from npm to pnpm #42808

Description

@ajiho

Prerequisites

Proposal

Background

First of all, I want to say that npm has served the JavaScript ecosystem extremely well for many years. It is stable, familiar, and widely adopted.

However, after using pnpm in several projects, I found that it provides a significantly better development experience, especially for large repositories.

I would like to suggest considering migrating the Bootstrap repository from npm to pnpm.

Why pnpm?

Some benefits that pnpm could bring:

  • Reduced disk usage

    pnpm uses a content-addressable store and hard links, which avoids duplicating the same packages across multiple projects. This can significantly reduce disk space usage, especially for contributors who work on many JavaScript projects.

  • Faster installation

    pnpm's installation process is often faster due to its global store and efficient dependency management.

  • Stricter dependency management

    pnpm's unique node_modules structure can help detect undeclared dependencies and make the dependency graph more reliable.

  • Modern Node.js ecosystem adoption

    More and more open-source projects are adopting pnpm as their default package manager, including many large-scale JavaScript projects.

  • Improved contributor workflow

    Faster dependency installation means contributors can spend less time waiting for setup and more time working on the project. With pnpm's efficient storage and caching mechanism, repeated installs are often completed within seconds, making local development and contribution workflows more efficient.

Motivation and context

Much faster installation (repeated installations can complete almost instantly) and reduced disk usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions