perf: codespaces

This commit is contained in:
2025-12-23 22:22:20 +02:00
parent 7b5e4e12d2
commit ab936390dd
13 changed files with 37 additions and 1 deletions

View File

@@ -5,6 +5,9 @@
# Configure Node.js.
#
# Skip in Codespaces (use pre-installed Node.js)
[[ "$DOTS_ENV" == "codespaces" ]] && { log_pass "Skipping in Codespaces"; return 0; }
NVM_DIR=${NVM_DIR:-"$HOME/.nvm"}
[ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh"