Skip to content

Commit

Permalink
script: upgrade corepack commands
Browse files Browse the repository at this point in the history
  • Loading branch information
nix6839 committed Aug 30, 2023
1 parent 1eb5180 commit b83c5f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion private_Library/private_Application Support/zsh/dot_zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ update-all() {
tldr --update
nvim +PlugUpgrade +PlugInstall +qall

corepack prepare pnpm@latest --activate
corepack install -g pnpm@latest
ncu --packageFile "$PNPM_HOME/global/5/package.json" -u
pnpm i -g
pnpm up -g
Expand Down
2 changes: 1 addition & 1 deletion resources/init-scripts/install/node.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ NODE_PACKAGES=(

curl -o- "$NVM_SCRIPT_URL" | bash && . "$NVM_DIR/nvm.sh" &&
nvm install --lts --latest-npm && npm i -g corepack && corepack enable &&
corepack prepare pnpm@latest --activate && pnpm i -g $NODE_PACKAGES
corepack install -g pnpm@latest && pnpm i -g $NODE_PACKAGES

0 comments on commit b83c5f4

Please sign in to comment.