mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
feat(tools): install Node-based CLI tools with mise
Use `mise` to install and manage tools normally installed with `npm`.
This commit is contained in:
@@ -11,6 +11,31 @@
|
|||||||
"go:google.golang.org/grpc/cmd/protoc-gen-go-grpc" = "latest"
|
"go:google.golang.org/grpc/cmd/protoc-gen-go-grpc" = "latest"
|
||||||
"go:google.golang.org/protobuf/cmd/protoc-gen-go" = "latest"
|
"go:google.golang.org/protobuf/cmd/protoc-gen-go" = "latest"
|
||||||
"go:mvdan.cc/gofumpt" = "latest"
|
"go:mvdan.cc/gofumpt" = "latest"
|
||||||
|
"npm:@mermaid-js/mermaid-cli" = "latest"
|
||||||
|
"npm:@prettier/plugin-php" = "latest"
|
||||||
|
"npm:@prettier/plugin-ruby" = "latest"
|
||||||
|
"npm:@prettier/plugin-xml" = "latest"
|
||||||
|
"npm:dockerfile-language-server-nodejs" = "latest"
|
||||||
|
"npm:eslint" = "latest"
|
||||||
|
"npm:eslint-config-prettier" = "latest"
|
||||||
|
"npm:eslint-plugin-prettier" = "latest"
|
||||||
|
"npm:eslint_d" = "latest"
|
||||||
|
"npm:htmllint-cli" = "latest"
|
||||||
|
"npm:httpsnippet" = "latest"
|
||||||
|
"npm:jsonlint" = "latest"
|
||||||
|
"npm:localtunnel" = "latest"
|
||||||
|
"npm:markdown-it" = "latest"
|
||||||
|
"npm:prettier" = "latest"
|
||||||
|
"npm:prettier-plugin-toml" = "latest"
|
||||||
|
"npm:prettier-pnp" = "latest"
|
||||||
|
"npm:stylelint" = "latest"
|
||||||
|
"npm:typescript" = "latest"
|
||||||
|
"npm:typescript-formatter" = "latest"
|
||||||
|
"npm:typescript-language-server" = "latest"
|
||||||
|
"npm:uuid-cli" = "latest"
|
||||||
|
"npm:vscode-css-languageserver-bin" = "latest"
|
||||||
|
"npm:vscode-json-languageserver" = "latest"
|
||||||
|
"npm:yaml-language-server" = "latest"
|
||||||
1password-cli = "latest"
|
1password-cli = "latest"
|
||||||
actionlint = "latest"
|
actionlint = "latest"
|
||||||
buf = "latest"
|
buf = "latest"
|
||||||
|
|||||||
@@ -8,36 +8,6 @@
|
|||||||
|
|
||||||
install_node_global_packages() {
|
install_node_global_packages() {
|
||||||
local npm_packages=(
|
local npm_packages=(
|
||||||
@commitlint/cli
|
|
||||||
@commitlint/config-conventional
|
|
||||||
@mermaid-js/mermaid-cli
|
|
||||||
@prettier/plugin-php
|
|
||||||
@prettier/plugin-ruby
|
|
||||||
@prettier/plugin-xml
|
|
||||||
dockerfile-language-server-nodejs
|
|
||||||
eslint
|
|
||||||
eslint-config-prettier
|
|
||||||
eslint-plugin-prettier
|
|
||||||
eslint_d
|
|
||||||
htmllint-cli
|
|
||||||
httpsnippet
|
|
||||||
js-beautify
|
|
||||||
jsonlint
|
|
||||||
localtunnel
|
|
||||||
markdown-it
|
|
||||||
prettier
|
|
||||||
prettier-plugin-toml
|
|
||||||
prettier-pnp
|
|
||||||
standard-version
|
|
||||||
stylelint
|
|
||||||
tslint
|
|
||||||
typescript
|
|
||||||
typescript-formatter
|
|
||||||
typescript-language-server
|
|
||||||
uuid-cli
|
|
||||||
vscode-css-languageserver-bin
|
|
||||||
vscode-json-languageserver
|
|
||||||
yaml-language-server
|
|
||||||
)
|
)
|
||||||
|
|
||||||
npm install -g "${npm_packages[@]}"
|
npm install -g "${npm_packages[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user