1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-11-04 22:10:09 -05:00

revert npm-check-updates (doesn't work globally)

This commit is contained in:
2021-07-09 11:00:27 -04:00
parent 9b128e2fb7
commit ad0839a1da
4 changed files with 11 additions and 8 deletions

View File

@@ -4,13 +4,15 @@ set -euo pipefail
# npm ls --global --parseable --depth=0 | awk '{gsub(/\/.*\//,"",$1); print}' | sort -u # npm ls --global --parseable --depth=0 | awk '{gsub(/\/.*\//,"",$1); print}' | sort -u
packages=( packages=(
@11ty/eleventy
@ampproject/toolbox-cli
@babel/cli @babel/cli
@babel/core @babel/core
@lhci/cli @lhci/cli
autoprefixer autoprefixer
eslint eslint
express-generator
express express
express-generator
firebase-tools firebase-tools
gatsby-cli gatsby-cli
gitmoji-cli gitmoji-cli
@@ -20,19 +22,20 @@ packages=(
netlify-cli netlify-cli
newman newman
nodemon nodemon
npm-check
npm-check-updates npm-check-updates
pm2 pm2
postcss-cli
postcss postcss
postcss-cli
prettier prettier
release-it release-it
rollup
serve serve
standard standard
stylelint stylelint
superstatic superstatic
vercel vercel
webtorrent-cli webpack
webpack-cli
yo yo
) )

View File

@@ -45,8 +45,8 @@ update() {
brew cleanup brew cleanup
echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}" echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}"
npm install --global npm@latest npm-check-updates@latest npm install npm@latest --global
npm-check-updates --global --upgrade npm update --global
yarn global upgrade yarn global upgrade
echo -e "${YELLOW}Updating Ruby gems...${NC}" echo -e "${YELLOW}Updating Ruby gems...${NC}"