1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-09-15 23:15:30 -04:00

randomness

This commit is contained in:
2021-09-14 08:14:59 -04:00
parent 5ad02577fd
commit 1329ec8f95
6 changed files with 18 additions and 10 deletions

View File

@@ -76,8 +76,8 @@ alias dcl="docker-compose logs -f"
#
# Node
#
alias npm_clean="rm -rf node_modules && npm cache clean && npm install"
alias yarn_clean="rm -rf node_modules && yarn cache clean && yarn install"
alias fresh_npm="rm -rf node_modules package-lock.json && npm install"
alias fresh_yarn="rm -rf node_modules yarn.lock && yarn install"
#
# Hugo

View File

@@ -45,8 +45,11 @@ update() {
brew cleanup
echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}"
volta run npm update --global
volta run yarn global upgrade
volta install node@latest
volta install npm@6 # having issues with npm@7 and volta
volta install yarn@1
volta run --no-yarn --node latest --npm 6 npm update --global
volta run --node latest --yarn 1 yarn global upgrade
echo -e "${YELLOW}Updating Ruby gems...${NC}"
gem update --system