Skip to content

Commit

Permalink
[risk=no] fix npmrc error (#1474)
Browse files Browse the repository at this point in the history
* fix npmrc error

* fix npmrc error
  • Loading branch information
SrushtiGangireddy authored Oct 18, 2024
1 parent cefae75 commit d3392ad
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 19 deletions.
12 changes: 0 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,6 @@ jobs:
- public-ui-cache-{{ checksum "~/data-browser/public-ui/package.json" }}
- public-ui-cache-
- gcloud-auth-login
- run:
name: "Download .npmrc file with Fontawesome Pro license key so FA icon SVG packages can be installed"
working_directory: ~/data-browser
command: gsutil cp gs://aou-db-test-credentials/.npmrc .
- run:
working_directory: ~/data-browser/public-ui
command: yarn install --frozen-lockfile && yarn codegen
Expand All @@ -204,10 +200,6 @@ jobs:
steps:
- checkout-code
- gcloud-auth-login
- run:
name: "Download .npmrc file with Fontawesome Pro license key so FA icon SVG packages can be installed"
working_directory: ~/data-browser
command: gsutil cp gs://aou-db-test-credentials/.npmrc .
# Use the ui-build-test workspace here to avoid redoing the setup.
- attach_workspace:
at: .
Expand Down Expand Up @@ -235,10 +227,6 @@ jobs:
keys:
- v7-gradle-cache-{{ checksum "~/data-browser/public-api/build.gradle" }}
- v7-gradle-cache-
- run:
name: "Download .npmrc file with Fontawesome Pro license key so FA icon SVG packages can be installed"
working_directory: ~/data-browser
command: gsutil cp gs://aou-db-test-credentials/.npmrc .
- deploy:
working_directory: ~/data-browser/deploy
command: |
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*~
.classpath
.project
.npmrc
.externalToolBuilders
.settings
/public-api/?/
Expand Down
4 changes: 4 additions & 0 deletions public-ui/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# we previously set this value to https://npm.fontawesome.com/ in order to access Font Awesome Pro packages with our auth token
# unfortunately, simply removing this setting can cause 401/Unauthorized errors under some scenarios (unclear when) for the Free packages we continue to use
# we can avoid this by forcing the use of our standard registry
@fortawesome:registry=https://registry.yarnpkg.com/
12 changes: 6 additions & 6 deletions public-ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1394,38 +1394,38 @@

"@fortawesome/[email protected]":
version "6.6.0"
resolved "https://npm.fontawesome.com/@fortawesome/fontawesome-common-types/-/6.6.0/fontawesome-common-types-6.6.0.tgz#31ab07ca6a06358c5de4d295d4711b675006163f"
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.6.0.tgz#31ab07ca6a06358c5de4d295d4711b675006163f"
integrity sha512-xyX0X9mc0kyz9plIyryrRbl7ngsA9jz77mCZJsUkLl+ZKs0KWObgaEBoSgQiYWAsSmjz/yjl0F++Got0Mdp4Rw==

"@fortawesome/fontawesome-free@^6.1.2":
version "6.6.0"
resolved "https://npm.fontawesome.com/@fortawesome/fontawesome-free/-/6.6.0/fontawesome-free-6.6.0.tgz#0e984f0f2344ee513c185d87d77defac4c0c8224"
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.6.0.tgz#0e984f0f2344ee513c185d87d77defac4c0c8224"
integrity sha512-60G28ke/sXdtS9KZCpZSHHkCbdsOGEhIUGlwq6yhY74UpTiToIh8np7A8yphhM4BWsvNFtIvLpi4co+h9Mr9Ow==

"@fortawesome/fontawesome-svg-core@^6.1.2":
version "6.6.0"
resolved "https://npm.fontawesome.com/@fortawesome/fontawesome-svg-core/-/6.6.0/fontawesome-svg-core-6.6.0.tgz#2a24c32ef92136e98eae2ff334a27145188295ff"
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.6.0.tgz#2a24c32ef92136e98eae2ff334a27145188295ff"
integrity sha512-KHwPkCk6oRT4HADE7smhfsKudt9N/9lm6EJ5BVg0tD1yPA5hht837fB87F8pn15D8JfTqQOjhKTktwmLMiD7Kg==
dependencies:
"@fortawesome/fontawesome-common-types" "6.6.0"

"@fortawesome/free-regular-svg-icons@^6.1.2":
version "6.6.0"
resolved "https://npm.fontawesome.com/@fortawesome/free-regular-svg-icons/-/6.6.0/free-regular-svg-icons-6.6.0.tgz#fc49a947ac8dfd20403c9ea5f37f0919425bdf04"
resolved "https://registry.yarnpkg.com/@fortawesome/free-regular-svg-icons/-/free-regular-svg-icons-6.6.0.tgz#fc49a947ac8dfd20403c9ea5f37f0919425bdf04"
integrity sha512-Yv9hDzL4aI73BEwSEh20clrY8q/uLxawaQ98lekBx6t9dQKDHcDzzV1p2YtBGTtolYtNqcWdniOnhzB+JPnQEQ==
dependencies:
"@fortawesome/fontawesome-common-types" "6.6.0"

"@fortawesome/free-solid-svg-icons@^6.1.2":
version "6.6.0"
resolved "https://npm.fontawesome.com/@fortawesome/free-solid-svg-icons/-/6.6.0/free-solid-svg-icons-6.6.0.tgz#061751ca43be4c4d814f0adbda8f006164ec9f3b"
resolved "https://registry.yarnpkg.com/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.6.0.tgz#061751ca43be4c4d814f0adbda8f006164ec9f3b"
integrity sha512-IYv/2skhEDFc2WGUcqvFJkeK39Q+HyPf5GHUrT/l2pKbtgEIv1al1TKd6qStR5OIwQdN1GZP54ci3y4mroJWjA==
dependencies:
"@fortawesome/fontawesome-common-types" "6.6.0"

"@fortawesome/react-fontawesome@^0.2.0":
version "0.2.2"
resolved "https://npm.fontawesome.com/@fortawesome/react-fontawesome/-/0.2.2/react-fontawesome-0.2.2.tgz#68b058f9132b46c8599875f6a636dad231af78d4"
resolved "https://registry.yarnpkg.com/@fortawesome/react-fontawesome/-/react-fontawesome-0.2.2.tgz#68b058f9132b46c8599875f6a636dad231af78d4"
integrity sha512-EnkrprPNqI6SXJl//m29hpaNzOp1bruISWaOiRtkMi/xSvHJlzc2j2JAYS7egxt/EbjSNV/k6Xy0AQI6vB2+1g==
dependencies:
prop-types "^15.8.1"
Expand Down

0 comments on commit d3392ad

Please sign in to comment.