Add NODE_VERSION configuration

This commit is contained in:
Max Bucknell 2024-11-25 10:27:51 +11:00
parent 9c34e4d6ca
commit 5a29d8348f
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View file

@ -1,3 +1,4 @@
export GIT_AUTHOR_NAME="Max Bucknell"
export GIT_AUTHOR_EMAIL="me@maxbucknell.com"
set -gx GIT_AUTHOR_NAME="Max Bucknell"
set -gx GIT_AUTHOR_EMAIL="me@maxbucknell.com"
set -gx NODE_VERSION="22"

View file

@ -28,7 +28,7 @@ set -gx GOBIN "$GOPATH/bin"
fish_add_path --global "$GOBIN"
# Node.js
set -gx NODEPATH "$HOMEBREW_PREFIX/node@20"
set -gx NODEPATH "$HOMEBREW_PREFIX/node@$NODE_VERSION"
fish_add_path --global "$NODEPATH/bin"
# pnpm