diff --git a/.bashrc b/.bashrc index badcc1a0e86845eb99bdd8e521e2688852c35d1e..1f894c230741565fb2619d391ab791fe0b2930fa 100644 --- a/.bashrc +++ b/.bashrc @@ -48,6 +48,7 @@ export LESS_TERMCAP_us=$'\E[01;32m' export LYNX_SAVE_SPACE="$HOME/Downloads" export LYNX_TEMP_SPACE="$HOME/.cache/lynx" 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/.config/npmrc.j2 b/.config/npmrc.j2 new file mode 100644 index 0000000000000000000000000000000000000000..a3a300bc6d50e58d536c0996273b928e58b702fd --- /dev/null +++ b/.config/npmrc.j2 @@ -0,0 +1,6 @@ +ignore-scripts=true +init-author-name=Nimrod Adar +init-author-email=nimrod@shore.co.il +init-author-url=https://git.shore.co.il/explore +@fortawesome:registry=https://npm.fontawesome.com/ +//npm.fontawesome.com/:_authToken={{ run(["ph", "show", "--field", "Password", "SchooLinks/Font Awesome auth token"])["stdout"] }} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 4dd789178f23983e1bc1b571c16361fb933b55f4..0000000000000000000000000000000000000000 --- a/.npmrc +++ /dev/null @@ -1,4 +0,0 @@ -ignore-scripts=true -init-author-name=Nimrod Adar -init-author-email=nimrod@shore.co.il -init-author-url=https://git.shore.co.il/explore diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index df8d347a613f986bf78a145675bcb5227eaaf90a..ccbf4d5b8416536e544e25952447bb63e5616351 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -89,7 +89,7 @@ repos: rev: v1.1.0 hooks: - id: detect-secrets - exclude: rabbitmqadmin|\.config/git/config|Pipfile\.lock + exclude: rabbitmqadmin|\.config/git/config|Pipfile\.lock|npmrc - repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git rev: v0.2.0