From ff0c6691978c53ed0351c8518e74bbce92d10bf6 Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch Date: Fri, 26 Jul 2024 17:31:59 +0700 Subject: [PATCH] fix: move npm setup to commonjs file --- bin/helpers/{set_max_listeners.js => set_max_listeners.cjs} | 0 filesystem/.bashrc | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename bin/helpers/{set_max_listeners.js => set_max_listeners.cjs} (100%) diff --git a/bin/helpers/set_max_listeners.js b/bin/helpers/set_max_listeners.cjs similarity index 100% rename from bin/helpers/set_max_listeners.js rename to bin/helpers/set_max_listeners.cjs diff --git a/filesystem/.bashrc b/filesystem/.bashrc index f4b40b0b..fc4a0d98 100755 --- a/filesystem/.bashrc +++ b/filesystem/.bashrc @@ -46,7 +46,7 @@ export NVM_DIR="${HOME}/.nvm" [ -s "${NVM_DIR}/bash_completion" ] && \. "${NVM_DIR}/bash_completion" # This loads nvm bash_completion # hack to disable error messages about max listeners -export NODE_OPTIONS="--require ${DOTFILES_PATH}/bin/helpers/set_max_listeners.js ${NODE_OPTIONS}" +export NODE_OPTIONS="--require ${DOTFILES_PATH}/bin/helpers/set_max_listeners.cjs ${NODE_OPTIONS}" eval "$(zoxide init bash)"