Skip to content

Commit 8359bca

Browse files
committedAug 22, 2022
addition of spaceship theme update and bun upgrade
1 parent 33b7ebc commit 8359bca

File tree

3 files changed

+35
-28
lines changed

3 files changed

+35
-28
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.dccache
33
*.log
44
*local*
5+
testLoop

‎scaffold-js-practice

+4-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ echo '{
9898
"main": "index.js",
9999
"type": "module",
100100
"scripts": {
101-
"watch": "nodemon -e js, txt -w"
101+
"watch": "nodemon -e js,txt -w"
102+
},
103+
"dependencies": {
104+
"nodemon": "^2.0.16"
102105
}
103106
}' >>package.json
104107
echo 'import { readFileSync } from "fs";

‎upgrade-all

+30-27
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
1-
upgrade-all() {
2-
echo "\n ## Homebrew is brewing... ## \n"
3-
brew upgrade
4-
brew upgrade --cask --greedy
5-
echo "\n ## Anaconda is slithering... ## \n\n _/\__/\__0> \n\n"
6-
conda update --prefix /Users/vladimir/anaconda3 anaconda
7-
conda update --all
8-
# TODO #9 utilize the NPM expansions repo
9-
echo "\n\n ## NPM stands for NEVER PANIC MUCH... ## \n\n"
1+
echo "\n ## Homebrew is brewing... ## \n"
2+
brew upgrade
3+
brew upgrade --cask --greedy
4+
# echo "\n ## Anaconda is slithering... ## \n\n _/\__/\__0> \n\n"
5+
# conda update --prefix /Users/vladimir/anaconda3 anaconda
6+
# conda update --all
7+
# TODO #9 utilize the NPM expansions repo
8+
echo "\n\n ## NPM stands for NEVER PANIC MUCH... ## \n\n"
109

11-
local -r current_node_version=$(nvm current)
12-
local -r next_node_version=$(nvm version-remote --lts)
13-
echo "curr node = $current_node_version; next node = $next_node_version"
14-
if [ "$current_node_version" != "$next_node_version" ]; then
15-
local -r previous_node_version=$current_node_version
16-
nvm install --lts
17-
# npm install npm@latest -g
10+
local -r current_node_version=$(nvm current)
11+
local -r next_node_version=$(nvm version-remote --lts)
12+
echo "curr node = $current_node_version; next node = $next_node_version"
13+
if [ "$current_node_version" != "$next_node_version" ]; then
14+
local -r previous_node_version=$current_node_version
15+
nvm install --lts --latest-npm
16+
# npm install npm@latest -g
1817

19-
nvm reinstall-packages "$previous_node_version"
20-
nvm uninstall "$previous_node_version"
21-
nvm cache clear
22-
fi
18+
nvm reinstall-packages "$previous_node_version"
19+
nvm uninstall "$previous_node_version"
20+
nvm cache clear
21+
fi
2322

24-
pnpm install pnpm@latest -g
25-
nvm alias default node
26-
pnpm update -g
27-
omz update
28-
softwareupdate -i -a -R
29-
# --stdinpass [sudo pass] --user [sudo user]
30-
}
23+
pnpm install pnpm@latest -g
24+
nvm alias default node
25+
pnpm update -g
26+
omz update
27+
echo 'update Zsh Theme: SpaceShip...'
28+
cd /Users/vladimir/.oh-my-zsh/custom/themes/spaceship-prompt
29+
git pull
30+
cd ~
31+
bun upgrade
32+
sudo softwareupdate -iaR
33+
omz reload

0 commit comments

Comments
 (0)
Please sign in to comment.