Upgrade package manager from pnpm 10 to pnpm 11
@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
- Blog post / release notes: https://pnpm.io/blog/releases/11.0
- Migration guide (v10 → v11): https://pnpm.io/blog/releases/11.0#migrating-from-v10-to-v11
- GitHub releases: https://github.com/pnpm/pnpm/releases
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 default —
minimumReleaseAgedefaults to 1 day (1440 min) andblockExoticSubdepsdefaults totrue. allowBuildsreplaces legacy build-dependency settings —onlyBuiltDependencies,neverBuiltDependencies,ignoredBuiltDependencies, andignoreDepScriptsare removed.- Configuration split —
.npmrcis now auth/registry only; all other pnpm settings must live inpnpm-workspace.yamlor the new global~/.config/pnpm/config.yaml. - New SQLite-backed store index (store v11) — replaces JSON-per-package index for faster installs.
- Native publish flow —
pnpm publish,login,logout, etc. no longer delegate to npm CLI. - Isolated global installs via the global virtual store.
- New commands —
pnpm ci,pnpm sbom,pnpm clean,pnpm peers check,pnpm runtime set, and shortpn/pnxaliases. - Environment variables use
pnpm_config_*prefix instead ofnpm_config_*.
Required Changes in This Repository
- Update
packageManagerfield inpackage.jsontopnpm@11.x.x. - Migrate
pnpm-workspace.yaml— replaceallowBuilds: falseentries with the newallowBuildsmodel; note thatstrictDepBuildsand related legacy fields are removed. - Ensure CI environment uses Node.js 22+.
- Review any
.npmrcsettings and move non-auth config topnpm-workspace.yaml. - Update the lockfile (
pnpm-lock.yaml) by runningpnpm installafter the upgrade. - Update
scripts/check-pm.jsif needed (thenpm_config_user_agentenv var logic may need updating since pnpm 11 usespnpm_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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cryptomator/docs
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
cryptomator/docs#89 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
cryptomator/docs#11 · 1 commento ·
Tutte le issue di cryptomator/docs
Issue simili
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100