feat(macos): use corepack

Much better to handle different pnpm versions and auto install the version from a project :)
This commit is contained in:
Saibotk 2024-06-12 18:57:47 +02:00
parent d83f2d9fae
commit 6ea6b2367e
Signed by: saibotk
GPG key ID: 67585F0065E261D5
2 changed files with 5 additions and 2 deletions

View file

@ -28,6 +28,9 @@ brew bundle --file ${DOTFILES}/macos/Brewfile
# gnupg is not really needed but marked as a dependency for pass # gnupg is not really needed but marked as a dependency for pass
brew unlink gnupg brew unlink gnupg
# Enable corepack
corepack enable
# Install global Composer packages # Install global Composer packages
${HOMEBREW_PREFIX}/bin/composer global require laravel/installer laravel/valet tightenco/takeout ${HOMEBREW_PREFIX}/bin/composer global require laravel/installer laravel/valet tightenco/takeout

View file

@ -33,6 +33,7 @@ brew 'rename'
# Service tools # Service tools
brew 'awscli' brew 'awscli'
brew 'b2-tools'
brew 'gh' # GitHub CLI brew 'gh' # GitHub CLI
# Infrastructure tools # Infrastructure tools
@ -85,8 +86,7 @@ brew 'composer'
brew 'node' brew 'node'
brew 'deno' brew 'deno'
brew 'oven-sh/bun/bun' brew 'oven-sh/bun/bun'
brew 'yarn' brew 'corepack'
brew 'pnpm'
brew 'go' brew 'go'
brew 'rustup' brew 'rustup'
brew 'cargo-make' brew 'cargo-make'