Skip to content

Commit

Permalink
feat(zsh): update npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedAbdulrahman committed Dec 4, 2023
1 parent 48d20a1 commit 2f24715
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/nodejs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,22 @@ install_global_packages() {

NPM_PACKAGES=(
"bash-language-server"
"dockerfile-language-server-nodejs"
"dockerfile-language-server"
"netlify-cli"
"vercel"
"vercel@latest"
"prettier"
"svgo"
"dependency-cruiser"
"npkill"
"expo-cli"
"expo"
"nodemon"
"gatsby-cli"
"@sanity/cli"
"sanity@latest"
"typescript-language-server"
"source-map-explorer"
"typescript"
"vim-language-server"
"neovim"
# "neovim"
"vscode-langservers-extracted"
"pyright"
"yaml-language-server"
Expand All @@ -77,7 +77,7 @@ install_global_packages() {
"@volar/vue-language-server" # Vue language server
)

yarn global add "${NPM_PACKAGES[@]}"
npm install --global "${NPM_PACKAGES}"
unset -v NPM_PACKAGES

finish
Expand Down

0 comments on commit 2f24715

Please sign in to comment.