chore: replace rye with uv

main
sudo pacman -Syu 2024-08-22 11:25:41 +07:00
parent f176472bd1
commit 483d0d50d7
7 changed files with 19 additions and 23 deletions

View File

@ -4,7 +4,9 @@ brew install \
libgit2 pcre2 xz telnet \
git neovim \
fdupes rsync rclone restic wcurl ncdu \
tlrc vivid zellij \
yt-dlp newsboat vips btop \
clang-format marksman asciidoctor ollama gitleaks gh \
qmk \
fnm uv \
stylua taplo typos-cli clang-format marksman asciidoctor ollama gitleaks gh \
qmk daktilo \
redis mysql-client

View File

@ -3,16 +3,11 @@
rustup update
cargo install \
fd-find bat git-delta eza sd tlrc \
difftastic vivid zellij zoxide \
stylua typos-cli \
pokeget \
daktilo
fd-find bat git-delta eza sd \
difftastic zoxide \
pokeget
cargo install --git https://github.com/BurntSushi/ripgrep ripgrep --features 'pcre2'
cargo install --git https://github.com/Schniz/fnm fnm
cargo install --git https://github.com/astral-sh/rye rye
cargo install --git https://github.com/tamasfe/taplo taplo-cli
bat cache --build

View File

@ -8,6 +8,8 @@ git -C ~/.oh-my-zsh/custom/plugins/fzf-tab pull
git -C ~/.fzf pull
~/.fzf/install --key-bindings --completion --update-rc --no-bash --no-fish
fnm install --lts
bun upgrade --stable
bun install --global prettier@latest

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
rye
rye install uv
rye install ruff
rye install pyright
rye install keymap-drawer

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
rye self update
rye tools list | xargs -L1 rye install --force

7
scripts/uv_init.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
uv tool update-shell
uv tool install ruff
uv tool install pyright
uv tool install keymap-drawer

3
scripts/uv_maintain.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
uv tool upgrade --all