Skip to content
Snippets Groups Projects
Commit ef33a0cd authored by nimrod's avatar nimrod
Browse files

npm config template.

- Move npmrc to ~/.config/. It makes sense to me and keep ~ cleaner.
- Change it to a template to have the Font Awesome auth token.
parent 16119775
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,7 @@ export LESS_TERMCAP_us=$'\E[01;32m' ...@@ -48,6 +48,7 @@ export LESS_TERMCAP_us=$'\E[01;32m'
export LYNX_SAVE_SPACE="$HOME/Downloads" export LYNX_SAVE_SPACE="$HOME/Downloads"
export LYNX_TEMP_SPACE="$HOME/.cache/lynx" export LYNX_TEMP_SPACE="$HOME/.cache/lynx"
export NODE_PENDING_DEPRECATION='1' export NODE_PENDING_DEPRECATION='1'
export NPM_CONFIG_USERCONFIG="$HOME/.config/npmrc"
export PATH="$GOPATH/bin:$PATH" export PATH="$GOPATH/bin:$PATH"
export PATH="$HOME/.cabal/bin:$PATH" export PATH="$HOME/.cabal/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH"
......
...@@ -2,3 +2,5 @@ ignore-scripts=true ...@@ -2,3 +2,5 @@ ignore-scripts=true
init-author-name=Nimrod Adar init-author-name=Nimrod Adar
init-author-email=nimrod@shore.co.il init-author-email=nimrod@shore.co.il
init-author-url=https://git.shore.co.il/explore 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"] }}
...@@ -89,7 +89,7 @@ repos: ...@@ -89,7 +89,7 @@ repos:
rev: v1.1.0 rev: v1.1.0
hooks: hooks:
- id: detect-secrets - 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 - repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git
rev: v0.2.0 rev: v0.2.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment