From 93c671d8de1e0e1ae733777413a535ed30fa4ee9 Mon Sep 17 00:00:00 2001 From: codepuncher Date: Wed, 4 Feb 2026 17:55:46 +0000 Subject: [PATCH 1/4] fix(setup): install node packages in WSL --- setup.sh | 2 +- shell/functions | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 56e7f35..4bef529 100755 --- a/setup.sh +++ b/setup.sh @@ -136,9 +136,9 @@ install_tools() { return fi - install_nvm install_zinit install_tpm + install_node_packages install_composer } diff --git a/shell/functions b/shell/functions index 85d5c00..8e704c7 100644 --- a/shell/functions +++ b/shell/functions @@ -220,6 +220,7 @@ setup_arch_services() { } install_nvm() { + section_start 'Installing NVM' # shellcheck disable=SC2155 export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.config/nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" && \ mkdir -p "${NVM_DIR}" && \ @@ -272,6 +273,7 @@ install_node_packages() { install_nvm fi + section_start 'Instaling NPM packages' PACKAGES=( @ansible/ansible-language-server @fsouza/prettierd @@ -297,7 +299,7 @@ install_node_packages() { ) # shellcheck disable=2046 - yarn global add $( + npm install --global $( IFS=' ' echo "${PACKAGES[*]}" ) "$@" From b8fdbb573d57bbdb2a3a317f58559cce1db51c17 Mon Sep 17 00:00:00 2001 From: codepuncher Date: Wed, 4 Feb 2026 17:57:08 +0000 Subject: [PATCH 2/4] chore(deps): replace `intelephense` with `devsense-php-ls` --- shell/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/functions b/shell/functions index 8e704c7..6f1f3fa 100644 --- a/shell/functions +++ b/shell/functions @@ -284,7 +284,7 @@ install_node_packages() { doctoc eslint_d fast-cli - intelephense + devsense-php-ls lighthouse markdownlint markdownlint-cli From 7c0ab405f7ff6e2ac7eb84dd79589f37822e27e3 Mon Sep 17 00:00:00 2001 From: codepuncher Date: Wed, 4 Feb 2026 18:07:10 +0000 Subject: [PATCH 3/4] chore(deps): install `@github/copilot` --- shell/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/functions b/shell/functions index 6f1f3fa..e5db8f7 100644 --- a/shell/functions +++ b/shell/functions @@ -277,14 +277,15 @@ install_node_packages() { PACKAGES=( @ansible/ansible-language-server @fsouza/prettierd + @github/copilot @tailwindcss/language-server @vue/language-server bash-language-server blade-formatter + devsense-php-ls doctoc eslint_d fast-cli - devsense-php-ls lighthouse markdownlint markdownlint-cli From d347765edb00fbdbe39482f8e9393b572d0e0f42 Mon Sep 17 00:00:00 2001 From: codepuncher Date: Wed, 4 Feb 2026 18:12:32 +0000 Subject: [PATCH 4/4] docs: update README with latest changes - Add WSL improvements (MariaDB, multi-PHP support, wslu) - Add GitHub Copilot CLI and Valet Linux - Update language servers (Devsense PHP LS) - Clarify Node packages installation --- README.md | 23 ++++++++++++++++------- setup.sh | 1 + 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 33a3a27..615545c 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,9 @@ Personal dotfiles for Ubuntu, Arch, and macOS systems with comprehensive shell c - **Go** - Go language support and tools - **Rust** - Rustup and Cargo package management - **Composer** - PHP dependency manager +- **Valet Linux** - Laravel Valet for Linux development environment - **GitHub CLI** - GitHub command-line tool integration +- **GitHub Copilot CLI** - AI-powered command-line assistance - **Trellis CLI** - virtualenv integration for WordPress development ### Media & System @@ -100,10 +102,10 @@ The setup script will prompt you to: - Sets up system services on Arch 2. **Install Tools** (optional) - Install development tools - - NVM (Node Version Manager) - Zinit (ZSH plugin manager) - TPM (Tmux Plugin Manager) - - Composer (PHP dependency manager) + - NVM and Node.js packages (language servers, formatters, linters) + - Composer (PHP dependency manager + Valet Linux) 3. **Symlink Dotfiles** (recommended) - Creates symlinks for: - Shell configs (`.zshrc`, `.bashrc`, `.profile`) @@ -154,12 +156,19 @@ After first tmux launch, install plugins with: `prefix + I` (default: `Ctrl+b` t - **Work**: Microsoft Edge, ClickUp, Zoom - **Dev**: Alacritty, Ghostty, Tmux, GitHub CLI, Go, Rust +### WSL Packages +- **Database**: MariaDB Server +- **PHP**: Multi-version PHP support (8.1 and 8.2) with common extensions + - bcmath, bz2, cli, common, curl, fpm, gd, gmp, intl, mbstring, mysql, opcache, readline, soap, tidy, xdebug, xml, xsl, zip +- **Tools**: wslu (WSL utilities for interoperability) + ### Package Managers & Tools -- Node.js (via NVM) -- Go packages (development tools) -- Composer packages (PHP tools) -- Pip packages (Python tools) -- Cargo packages (Rust tools) +- **Node.js** (via NVM) +- **Language Servers**: GitHub Copilot, Devsense PHP LS, Intelephense, Ansible, TailwindCSS, Vue, Bash +- **Go packages** (development tools) +- **Composer packages** (PHP tools + Valet Linux) +- **Pip packages** (Python tools) +- **Cargo packages** (Rust tools) ## 🗂️ Repository Structure ``` diff --git a/setup.sh b/setup.sh index 4bef529..6085edc 100755 --- a/setup.sh +++ b/setup.sh @@ -138,6 +138,7 @@ install_tools() { install_zinit install_tpm + # shellcheck disable=SC2119 install_node_packages install_composer }