node: add global ts packages
This commit is contained in:
@@ -24,8 +24,15 @@ corepack enable npm
|
||||
corepack enable pnpm
|
||||
corepack enable yarn
|
||||
|
||||
# Set up PNPM environment for the current script execution
|
||||
export PNPM_HOME="$HOME/.local/share/pnpm"
|
||||
mkdir -p "$PNPM_HOME"
|
||||
export PATH="$PNPM_HOME:$PATH"
|
||||
|
||||
# Now install global packages
|
||||
pnpm add -g vscode-langservers-extracted typescript-language-server
|
||||
|
||||
# Also add to .zshrc for future shell sessions
|
||||
cat << 'EOF' >> $HOME/.zshrc
|
||||
|
||||
# pnpm
|
||||
|
||||
Reference in New Issue
Block a user