From d3cfcee0e701ce86879f6254ce5df744bb57a299 Mon Sep 17 00:00:00 2001 From: Anton Chaporgin <chapson@neon.tech> Date: Fri, 31 Jan 2025 11:14:12 +0200 Subject: [PATCH] feat(tool-versions): have versions of needed tools commited in the repo (#319) This introduces [.tool-versions](https://asdf-vm.com/manage/configuration.html), a devtooling file, that allows one to have needed dependencies locally for the neonctl repo. Most common dependencies are introduced. New ones can be added for example, The recommended way to work with this file is by installing [mise](https://github.com/jdx/mise) and configuring it for your shell of choice. Examples below: ``` # note this assumes mise is located at ~/.local/bin/mise # which is what https://mise.run does by default echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc echo '~/.local/bin/mise activate fish | source' >> ~/.config/fish/config.fish echo '~/.local/bin/mise activate mise activate pwsh | Out-String | Invoke-Expression' >> ~/.config/powershell/Microsoft.PowerShell_profile.ps1 ``` --- .tool-versions | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .tool-versions diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 00000000..463186cf --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +bun 1.2.1 +nodejs 20.15.1