From 80ff66648b4303cae059d0c48b3f445414205a26 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 28 Oct 2022 14:28:57 +0200 Subject: [PATCH] direnv: Store npmrc in direnv folder --- home/config/direnv/direnvrc | 1 + 1 file changed, 1 insertion(+) diff --git a/home/config/direnv/direnvrc b/home/config/direnv/direnvrc index 4435342..d01ef11 100644 --- a/home/config/direnv/direnvrc +++ b/home/config/direnv/direnvrc @@ -30,6 +30,7 @@ project_elixir() { project_node() { export NODE_PATH=$(direnv_layout_dir)/node + export NPM_CONFIG_USERCONFIG=$(direnv_layout_dir)/npm/npmrc export NPM_CONFIG_PREFIX=$(direnv_layout_dir)/npm/config export NPM_CONFIG_CACHE=$(direnv_layout_dir)/npm/cache export NPM_CONFIG_DEVDIR=$(direnv_layout_dir)/npm/dev