Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Upgrade package manager from pnpm 10 to pnpm 11

Aperta
#146 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@infeo ci sta già lavorando.

Dal 8/5/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Overview

This issue tracks the upgrade of the package manager from pnpm 10 to pnpm 11.

pnpm 11 Release Notes

Key Changes in pnpm 11

  • Node.js 22+ required — support for Node.js 18, 19, 20, and 21 is dropped. pnpm is now pure ESM.
  • Supply-chain protection on by defaultminimumReleaseAge defaults to 1 day (1440 min) and blockExoticSubdeps defaults to true.
  • allowBuilds replaces legacy build-dependency settingsonlyBuiltDependencies, neverBuiltDependencies, ignoredBuiltDependencies, and ignoreDepScripts are removed.
  • Configuration split.npmrc is now auth/registry only; all other pnpm settings must live in pnpm-workspace.yaml or the new global ~/.config/pnpm/config.yaml.
  • New SQLite-backed store index (store v11) — replaces JSON-per-package index for faster installs.
  • Native publish flowpnpm publish, login, logout, etc. no longer delegate to npm CLI.
  • Isolated global installs via the global virtual store.
  • New commandspnpm ci, pnpm sbom, pnpm clean, pnpm peers check, pnpm runtime set, and short pn/pnx aliases.
  • Environment variables use pnpm_config_* prefix instead of npm_config_*.

Required Changes in This Repository

  1. Update packageManager field in package.json to pnpm@11.x.x.
  2. Migrate pnpm-workspace.yaml — replace allowBuilds: false entries with the new allowBuilds model; note that strictDepBuilds and related legacy fields are removed.
  3. Ensure CI environment uses Node.js 22+.
  4. Review any .npmrc settings and move non-auth config to pnpm-workspace.yaml.
  5. Update the lockfile (pnpm-lock.yaml) by running pnpm install after the upgrade.
  6. Update scripts/check-pm.js if needed (the npm_config_user_agent env var logic may need updating since pnpm 11 uses pnpm_config_* prefix for its own settings).

Context

This issue was raised in the context of PR #145, which introduced pnpm 10 as the package manager.

Requested by: @infeo

Lingua principale
TypeScript
Stelle
64
Fork
43
Merge medio
1g 16h
PR unite (30g)
4

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cryptomator/docs

Tutte le issue di cryptomator/docs

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.