Mercurial > code > home > repos > infra
diff packages.py @ 169:5a8c25d62578
pnpm upgrade
author | drewp@bigasterisk.com |
---|---|
date | Tue, 21 Mar 2023 00:09:30 -0700 |
parents | 1f845cf1cc94 |
children | b6b11048d0fb |
line wrap: on
line diff
--- a/packages.py Tue Mar 21 00:09:07 2023 -0700 +++ b/packages.py Tue Mar 21 00:09:30 2023 -0700 @@ -22,9 +22,11 @@ def pnpm(): server.shell([ + "rm -f /usr/local/bin/pnp{m,x}", + "corepack enable", # https://github.com/pnpm/pnpm/releases # but also https://pnpm.io/installation#compatibility - "npm install -g pnpm@6.35.1", + "corepack prepare 'pnpm@7.29.3' --activate", ]) @@ -49,7 +51,6 @@ if host.name != 'pipe': apt.packages(packages=['reptyr']) kitty() - pnpm() else: apt.packages(packages=package_lists.pi_setup) @@ -78,3 +79,4 @@ if not is_pi: apt.packages(packages=package_lists.non_pi, **kw) + pnpm() \ No newline at end of file