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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"
+2 −0
Original line number Diff line number Diff line
@@ -2,3 +2,5 @@ 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"] }}
+1 −1
Original line number Diff line number Diff line
@@ -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