Skip to content

package.json has no packageManager field — pnpm lockfile churns across pnpm versions #1209

Description

@RUKAYAT-CODER

CI pins pnpm 11 (pnpm/action-setup with version: 11) but package.json has no packageManager field. A local pnpm 10 run rewrites pnpm-lock.yaml in a very different format (a ~9,500-line diff was observed), and pnpm install --no-frozen-lockfile in CI means the lockfile can drift silently.

Fix: add "packageManager": "pnpm@11.x.x" to package.json (corepack will then use it) and consider --frozen-lockfile in CI installs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions