chore: improve bun

main
sudo pacman -Syu 2024-09-03 21:47:07 +07:00
parent 3384202ee1
commit 723b49b48c
4 changed files with 10 additions and 3 deletions

3
scripts/bun_init.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
bun install --global --production prettier

6
scripts/bun_maintain.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
bun upgrade --stable
bun outdated --global
bun update --global --latest prettier

View File

@ -2,6 +2,7 @@
# go clean -cache -testcache -modcache -fuzzcache -x
# sudo cargo +nightly clean gc -Z gc --max-download-age=1hour
# uv cache clean
# bun pm cache rm --global
# docker system prune --all --force --volumes
# rm -rf ~/.ollama/models/blobs/sha256-*
# sudo truncate -s 0 /private/var/log/ovpnagent.log

View File

@ -10,7 +10,4 @@ git -C ~/.fzf pull
fnm install --lts
bun upgrade --stable
bun install --global prettier@latest
deno upgrade