Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Commit

Permalink
chore(yarn): update .yarnrc.yml env var names
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Oct 1, 2021
1 parent 6b3ab68 commit 57ad692
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
# - https://github.com/entropitor/dotenv-cli

NODE_ENV=development
TS_NODE_PROJECT="$PWD/tsconfig.json"
NPM_TOKEN=$NPM_TOKEN_FLDV
PAT_GPR=$PAT_GPR_FLDV
TS_NODE_PROJECT="$PWD/tsconfig.json"
8 changes: 4 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ npmPublishRegistry: https://npm.pkg.github.com
npmRegistries:
//npm.pkg.github.com:
npmAlwaysAuth: true
npmAuthToken: ${PAT_GPR_FLDV}
npmAuthToken: ${PAT_GPR}

//registry.npmjs.org:
npmAlwaysAuth: true
npmAuthToken: ${NPM_TOKEN_FLDV}
npmAuthToken: ${NPM_TOKEN}

//registry.yarnpkg.org:
npmAlwaysAuth: true
npmAuthToken: ${NPM_TOKEN_FLDV}
npmAuthToken: ${NPM_TOKEN}

npmRegistryServer: https://registry.yarnpkg.com

npmScopes:
flex-development:
npmAlwaysAuth: true
npmAuthToken: ${PAT_GPR_FLDV}
npmAuthToken: ${PAT_GPR}
npmRegistryServer: https://npm.pkg.github.com

plugins:
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ Project environment variables are listed below.
| --------------------- | -------- | ------------------ | ------------------ | ---------- | ------------------------------------------- |
| `NODE_ENV` | `false` | :x: | :x: | :x: | :white_check_mark: |
| `NODE_OPTIONS` | `true` | :white_check_mark: | :x: | :x: | :white_check_mark: |
| `NPM_TOKEN` | `true` | :white_check_mark: | :white_check_mark: | :x: | :white_check_mark: |
| `NPM_TOKEN_FLDV` | `true` | :white_check_mark: | :white_check_mark: | :x: | :white_check_mark: |
| `PAT_GPR` | `true` | :white_check_mark: | :white_check_mark: | :x: | :white_check_mark: |
| `PAT_GPR_FLDV` | `true` | :white_check_mark: | :white_check_mark: | :x: | :white_check_mark: |
| `PROJECT_CWD`**\*\*** | `true` | :x: | :x: | :x: | :white_check_mark: |
| `PWD`**\*\*\*** | `true` | :white_check_mark: | :white_check_mark: | :x: | :white_check_mark: |
Expand Down

0 comments on commit 57ad692

Please sign in to comment.