<commit_before>#!/usr/bin/env bash
#
# Install some tools to help install dotfiles

set -eu

declare -r DOTFILES="${HOME}/.dotfiles"

# shellcheck source=./lib/dotfiles.sh
source ${DOTFILES}/lib/dotfiles.sh
# shellcheck source=./lib/print.sh
source ${DOTFILES}/lib/print.sh

check_codename

# Setup projects directory
mkdir -p "${HOME}/Projects"

info "Updating Ubuntu repositories"
sudo apt-get --quiet update

info "Installing some basic tools"
dotfiles_apt git rsync stow silversearcher-ag aspell libnotify-bin

info "Installing some fonts"
dotfiles_apt ttf-ancient-fonts fonts-hack

info "Installing languages and language package managers"
dotfiles_apt python3-venv python3-virtualenv python3-pip python3-setuptools virtualenvwrapper
python3 -m pip --quiet install --user pipx
dotfiles_apt golang-go
dotfiles_apt npm
mkdir -p "${HOME}/.local/npm"

info "Installing terminal"
dotfiles_apt rxvt-unicode

info "Installing some generic development packages"
pipx install pre-commit

info "Installing python development packages"
pipx install black
pipx install pylint
pipx install isort
pipx install pyls
python3 -m pip install --user importmagic
python3 -m pip install --user epc

info "Installing shell-scripting packages"<commit_msg>Adding some more nodejs related packages<commit_after>#!/usr/bin/env bash
#
# Install some tools to help install dotfiles

set -eu

declare -r DOTFILES="${HOME}/.dotfiles"

# shellcheck source=./lib/dotfiles.sh
source ${DOTFILES}/lib/dotfiles.sh
# shellcheck source=./lib/print.sh
source ${DOTFILES}/lib/print.sh

check_codename

# Setup projects directory
mkdir -p "${HOME}/Projects"

info "Updating Ubuntu repositories"
sudo apt-get --quiet update

info "Installing some basic tools"
dotfiles_apt git rsync stow silversearcher-ag aspell libnotify-bin

info "Installing some fonts"
dotfiles_apt ttf-ancient-fonts fonts-hack

info "Installing languages and language package managers"
dotfiles_apt python3-venv python3-virtualenv python3-pip python3-setuptools virtualenvwrapper
python3 -m pip --quiet install --user pipx
dotfiles_apt golang-go
dotfiles_apt nodejs-dev node-gyp libssl1.0-dev
dotfiles_apt npm
mkdir -p "${HOME}/.local/npm"

info "Installing terminal"
dotfiles_apt rxvt-unicode

info "Installing some generic development packages"
pipx install pre-commit

info "Installing python development packages"
pipx install black
pipx install pylint
pipx install isort
pipx install pyls
python3 -m pip install --user importmagic
python3 -m pip install --user epc

info "Installing shell-scripting packages"
{'fraction_non_alphanumeric': 0.08320251177394035, 'fraction_numerical': 0.006279434850863423, 'mean_word_length': 5.127403846153846, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '560732', 'n_tokens_mistral': 838, 'n_tokens_neox': 778, 'n_words': 268}