diff --git a/local/bin/dfm b/local/bin/dfm index acc32ff..2fdea93 100755 --- a/local/bin/dfm +++ b/local/bin/dfm @@ -43,16 +43,20 @@ function section_install ext_gh) bash "$DOTFILES/scripts/install-gh-extensions.sh" && msg_done "🎉 Extensions for GitHub CLI have been installed!" ;; + ext_npm) + bash "$DOTFILES/scripts/install-npm-packages.sh" && msg_done "NPM Packages have been installed!" + ;; settler) bash "$DOTFILES/scripts/settler.sh" && msg_done "🎉 Settler has been run!" ;; *) - menu_section "$USAGE_PREFIX" "all | antigen | brew | ext_gh | ext_go | macos | settler" + menu_section "$USAGE_PREFIX" "all | antigen | brew | ext_gh | ext_go | ext_npm | macos | settler" menu_item "all" "Installs antigen, macos, brew, ext_gh and ext_go" menu_item "antigen" "Updates the antigen.zsh file" menu_item "brew" "Install Brewfile contents" menu_item "ext_gh" "Install GitHub CLI Extensions" menu_item "ext_go" "Install Go Packages" + menu_item "ext_npm" "Install NPM Packages" menu_item "macos" "Setup nice macOS defaults" menu_item "settler" "Runs the WIP settler.sh" ;; diff --git a/scripts/install-npm-packages.sh b/scripts/install-npm-packages.sh index 73d40d3..d636324 100755 --- a/scripts/install-npm-packages.sh +++ b/scripts/install-npm-packages.sh @@ -11,6 +11,13 @@ fi packages=( # This is a tool to check if your files consider your .editorconfig rules. "editorconfig-checker" + # Node module to create a release or a changelog from + # a tag and uses issues or commits to creating the release notes. + "github-release-notes" + "neovim" + "prettier" + "@bchatard/alfred-jetbrains" + "@johnnymorganz/stylua-bin" ) for pkg in "${packages[@]}"; do @@ -20,7 +27,7 @@ for pkg in "${packages[@]}"; do if [[ ${pkg:0:1} == "#" ]]; then continue; fi msg_run "Installing npm package:" "$pkg" - npm install -g --force "$pkg" + npm install -g --no-fund --no-progress --no-timing "$pkg" echo "" done