Skip to content

Commit 138aae2

Browse files
committed
Fix volta pnpm integration
1 parent 6fba21d commit 138aae2

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
# shellcheck shell=bash
22

33
ensure_path_entry "${HOME}/.volta/bin"
4+
5+
# https://docs.volta.sh/advanced/pnpm
6+
export VOLTA_FEATURE_PNPM=1

home/dot_profile.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ fi
1212
if [ -d "${HOME}/.volta/bin" ]; then
1313
export VOLTA_HOME="${HOME}/.volta"
1414
export PATH="${VOLTA_HOME}/bin:${PATH}"
15+
# https://docs.volta.sh/advanced/pnpm
16+
export VOLTA_FEATURE_PNPM=1
1517
fi
1618

1719
if [ -d "${HOME}/.deno/bin" ]; then
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{- joinPath .chezmoi.homeDir ".volta/bin/volta-shim" -}}

0 commit comments

Comments
 (0)