Skip to content

Commit 31cc14b

Browse files
committed
✨ feat: Replace pnpm with volta
1 parent f55b1a8 commit 31cc14b

4 files changed

Lines changed: 7 additions & 9 deletions

File tree

brewfiles/javascript.Brewfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
brew "pnpm"
1+
brew "volta"

zsh/.zsh/javascript.zsh

Lines changed: 0 additions & 7 deletions
This file was deleted.

zsh/.zshenv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,8 @@ export PYENV_ROOT="${HOME}/.pyenv"
5959

6060
# goenv
6161
export GOENV_ROOT="${HOME}/.goenv"
62+
63+
# Volta
64+
# https://docs.volta.sh/advanced/installers#shim-directory
65+
export VOLTA_HOME="${HOME}/.volta"
66+
export VOLTA_FEATURE_PNPM="1"

zsh/.zshrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ source "${ZDOTDIR}/.zenv/brew.zsh" # Homebrew
99
export PATH="${HOME}/.local/bin:${PATH}" # User executables
1010
export PATH="${PYENV_ROOT}/bin:${PATH}" # pyenv
1111
export PATH="${GOENV_ROOT}/bin:${PATH}" # goenv
12+
export PATH="${VOLTA_HOME}/bin:${PATH}" # Volta
1213

1314
# Zinit
1415
if [[ -n "${HOMEBREW_PREFIX}" ]]; then
@@ -57,7 +58,6 @@ zinit light zsh-users/zsh-syntax-highlighting
5758
# Third-party integrations
5859
zinit snippet ${ZDOTDIR}/.zsh/go.zsh
5960
zinit snippet ${ZDOTDIR}/.zsh/iterm.zsh
60-
zinit snippet ${ZDOTDIR}/.zsh/javascript.zsh
6161
zinit snippet ${ZDOTDIR}/.zsh/perl.zsh
6262
zinit snippet ${ZDOTDIR}/.zsh/python.zsh
6363
zinit snippet ${ZDOTDIR}/.zsh/zsh-style.zsh

0 commit comments

Comments
 (0)