From 330b111f577e62c8295f4e87ba53047ba4982ada Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 19 Jun 2024 09:35:05 +0300 Subject: [PATCH] Set COREPACK_ENABLE_AUTO_PIN. Disable automattic package manager locking. Small cleanup of NodeJS shell stuff. --- .bashrc | 2 -- .bashrc.d/nodejs | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .bashrc.d/nodejs diff --git a/.bashrc b/.bashrc index e6fe812..afe1cab 100644 --- a/.bashrc +++ b/.bashrc @@ -63,8 +63,6 @@ export LESS_TERMCAP_us=$'\E[01;32m' export LYNX_SAVE_SPACE="$HOME/Downloads" export LYNX_TEMP_SPACE="$HOME/.cache/lynx" export MAKEFLAGS="-e -k -j4" -export NODE_PENDING_DEPRECATION='1' -export NPM_CONFIG_USERCONFIG="$HOME/.config/npmrc" export PATH="$GOPATH/bin:$PATH" export PATH="$HOME/.cabal/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH" diff --git a/.bashrc.d/nodejs b/.bashrc.d/nodejs new file mode 100644 index 0000000..ee61349 --- /dev/null +++ b/.bashrc.d/nodejs @@ -0,0 +1,6 @@ +# shellcheck shell=bash +# vim: ft=sh + +export COREPACK_ENABLE_AUTO_PIN=0 +export NODE_PENDING_DEPRECATION='1' +export NPM_CONFIG_USERCONFIG="$HOME/.config/npmrc" -- GitLab