TypeScript
build: upgrade pnpm to 12 for 4x faster installs (#22738)
Theo Brownef4a3843a1c8c
diff --git a/package.json b/package.jsonindex 53580ef428a..363a9261163 100644--- a/package.json+++ b/package.json@@ -63,5 +63,5 @@"engines": {"node": "^24.13.1"},- "packageManager": "[email protected]"+ "packageManager": "[email protected]"}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 34458e07f72..ad93d5d4a42 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1,3 +1,161 @@+---+lockfileVersion: '9.0'++importers:++ .:+ configDependencies: {}+ packageManagerDependencies:+ pnpm:+ specifier: 12.14.0+ version: 12.14.0++packages:++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-+iSh7x21C3A2hqc+Z0ZmbKTcn6YNlzrXM142PsnQH/dLj0DYxFzoBvc6XAnL/yfQ5nnH2ebBiRj/zVxr61fZbQ==}+ cpu: [arm64]+ os: [android]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-qT+0LqEr2wBVaxcG2T8cX/R8SSRz2Rvpp8nRR4fh8tnGUZRch87gFmsHUAoSQh7w6j1h0qTjrA384j4xi8frvw==}+ cpu: [x64]+ os: [android]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-tnrdUB8ecJoehuKKqi1YHCBVl61xtJ9XVGcx5EviC6fWO4DeGI8GtXrjvJxDBM3nuVjJeWistgsUp/N142x4sw==}+ cpu: [arm64]+ os: [darwin]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-vlBfGkruqQRsEHTW43cPwpYd7QlbIJ//cvpAdb3bVXkI8SgTPoXhCnc05m+ZNiPrrEkBsX/t7KHw9aXpkzPm3Q==}+ cpu: [x64]+ os: [darwin]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-Qg5rxBrGYl6Tfso+EyygPf84fY1Fzy55E/0or+iuYKtnf0vc0MlHJfVIlT7pBukMRntQHRik7hUi0Z4s7AlJsw==}+ cpu: [x64]+ os: [freebsd]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-DRIe4yQkXBGA/PhVJdzlbnllxBdAtnMMvTVLLcGpsK5FvJz9kxD2Hyxtn68ovmNkVX06f6p45cQwfm3wx2jn1A==}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-7joGShZ44Nk3WpNU+60JoOPjCXlgxhJAq11S2UiVtwCUDgTer1yTPPfxGW8pxaD6046actYLIYDbZNlubHWs0A==}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-gSoryn7ySdXd//gjgf3MvvA8ZerJayaSbuMZMtAWq4vb2/wlVEgpl0Kvqt54y58TRj533Qjq2txKgnxd4JyoAQ==}+ cpu: [ppc64]+ os: [linux]+ libc: [glibc]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-EMjew1H9WqQ7pL+tYqCPwiuB+0PeCiJRV7fyWeuFw0wwYUajFBjcaPO3IGAVu9sdmJDU+e+HYv/Zey6aKae0Vw==}+ cpu: [riscv64]+ os: [linux]+ libc: [glibc]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-shYOj/SFoXD35fHe0pWr2JofwSXulC0BnEIXLj2QokDi0EF//AfKsui35yKIkTEl+s2VJybc3PO4iJNhKIj5Qw==}+ cpu: [s390x]+ os: [linux]+ libc: [glibc]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-btZiZ2Ot0llKK1ndSfA5i3IRX7/S0VrmzseNH/BJ4c+Cady+S81H6vvU1zByggHMyqQhC8OgxO5PiIY7D9bH0Q==}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-F6K8e/jWxiuEYJaQtRRUG9ynBSTEHa+t7Lf86MKuOO5UA7WVVMbi+oB8nY6iKW++ncWS2yG6T9faXZGxqNsfoQ==}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-DOjlkVB6TtTKeAAe0hNZXn5S7YqESmo1Z6SGbR4BZNQ4isRg31XVHjX2RFTbY8gnZq68IwzyLmPqlEjMmYxofg==}+ cpu: [arm64]+ os: [win32]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-/LSX6mew/sLf08XqcjemuklNKf1K/Ftpgj4//hK/HKzI2dKbmxDB27a/2OaQ5a0O3/3OFzlssXDziZsi+yVBwQ==}+ cpu: [x64]+ os: [win32]++ resolution: {integrity: sha512-wYum2HmT09Fky16JSPMrLAbuhUSH4GzY2GeBNC+z5btGNDZwNHEehoArqpw3vqkGzhkprQjXCITJfYAd8TOJpg==}+ engines: {node: '>=18.*'}+ hasBin: true++snapshots:++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ optionalDependencies:+ '@pnpm/exe.android-arm64': 12.14.0+ '@pnpm/exe.android-x64': 12.14.0+ '@pnpm/exe.darwin-arm64': 12.14.0+ '@pnpm/exe.darwin-x64': 12.14.0+ '@pnpm/exe.freebsd-x64': 12.14.0+ '@pnpm/exe.linux-arm64': 12.14.0+ '@pnpm/exe.linux-arm64-musl': 12.14.0+ '@pnpm/exe.linux-ppc64': 12.14.0+ '@pnpm/exe.linux-riscv64': 12.14.0+ '@pnpm/exe.linux-s390x': 12.14.0+ '@pnpm/exe.linux-x64': 12.14.0+ '@pnpm/exe.linux-x64-musl': 12.14.0+ '@pnpm/exe.win32-arm64': 12.14.0+ '@pnpm/exe.win32-x64': 12.14.0++---lockfileVersion: '9.0'settings:diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 715492185e1..d87dd95cd06 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -5,7 +5,7 @@ packages:- packages/*- scripts-# Successor to onlyBuiltDependencies/ignoredBuiltDependencies (pnpm 11).+# Successor to onlyBuiltDependencies/ignoredBuiltDependencies (pnpm 11+).# true = allowed to run build scripts; false mirrors the pnpm 10 behavior# where anything outside onlyBuiltDependencies was silently not built.allowBuilds:@@ -368,6 +368,16 @@ peerDependencyRules:allowedVersions:vite: "*"+# pnpm 12 links agent skills that dependencies ship into .claude/skills once+# approved. We curate our own skills, so deny these to keep installs quiet.+permissions:+ "@tanstack/router-plugin":+ skills: false+ drizzle-kit:+ skills: false+ expo-sqlite:+ skills: false+# @cursor/sdk finds its platform package (sandbox helper, rg, tree-sitter) by# walking up from the entry script for node_modules/@cursor/sdk-<platform>-<arch>.# pnpm keeps optional deps inside the virtual store, so hoist it to the root.