From 6ea6b2367ee0664907c207e7b114862a22ed36af Mon Sep 17 00:00:00 2001 From: Saibotk Date: Wed, 12 Jun 2024 18:57:47 +0200 Subject: [PATCH] feat(macos): use corepack Much better to handle different pnpm versions and auto install the version from a project :) --- install-mac.sh | 3 +++ macos/Brewfile | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/install-mac.sh b/install-mac.sh index 579ed87..c31e31d 100755 --- a/install-mac.sh +++ b/install-mac.sh @@ -28,6 +28,9 @@ brew bundle --file ${DOTFILES}/macos/Brewfile # gnupg is not really needed but marked as a dependency for pass brew unlink gnupg +# Enable corepack +corepack enable + # Install global Composer packages ${HOMEBREW_PREFIX}/bin/composer global require laravel/installer laravel/valet tightenco/takeout diff --git a/macos/Brewfile b/macos/Brewfile index bc65a67..efbe6dc 100644 --- a/macos/Brewfile +++ b/macos/Brewfile @@ -33,6 +33,7 @@ brew 'rename' # Service tools brew 'awscli' +brew 'b2-tools' brew 'gh' # GitHub CLI # Infrastructure tools @@ -85,8 +86,7 @@ brew 'composer' brew 'node' brew 'deno' brew 'oven-sh/bun/bun' -brew 'yarn' -brew 'pnpm' +brew 'corepack' brew 'go' brew 'rustup' brew 'cargo-make'