mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 09:26:42 +00:00
feat(nodejs): update list of global packages
This commit is contained in:
@@ -10,12 +10,11 @@ install_node_global_packages() {
|
|||||||
local npm_packages=(
|
local npm_packages=(
|
||||||
@commitlint/cli
|
@commitlint/cli
|
||||||
@commitlint/config-conventional
|
@commitlint/config-conventional
|
||||||
@githubnext/github-copilot-cli
|
|
||||||
@mermaid-js/mermaid-cli
|
@mermaid-js/mermaid-cli
|
||||||
@prettier/plugin-php
|
@prettier/plugin-php
|
||||||
@prettier/plugin-ruby
|
@prettier/plugin-ruby
|
||||||
@prettier/plugin-xml
|
@prettier/plugin-xml
|
||||||
appcenter-cli
|
dockerfile-language-server-nodejs
|
||||||
eslint
|
eslint
|
||||||
eslint-config-prettier
|
eslint-config-prettier
|
||||||
eslint-plugin-prettier
|
eslint-plugin-prettier
|
||||||
@@ -38,8 +37,10 @@ install_node_global_packages() {
|
|||||||
vscode-css-languageserver-bin
|
vscode-css-languageserver-bin
|
||||||
vscode-json-languageserver
|
vscode-json-languageserver
|
||||||
yaml-language-server
|
yaml-language-server
|
||||||
yarn
|
|
||||||
)
|
)
|
||||||
|
|
||||||
npm install -g "${npm_packages[@]}"
|
npm install -g "${npm_packages[@]}"
|
||||||
|
|
||||||
|
# Ensure yarn and pnpm are enabled.
|
||||||
|
corepack enable
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user