Skip to content

Commit b633bac

Browse files
authored
chore(deps): Update dependencies to latest versions (#542)
1 parent fb7b630 commit b633bac

File tree

3 files changed

+1095
-945
lines changed

3 files changed

+1095
-945
lines changed

build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ function lint() {
6969
## deps - updates project dependencies to latest
7070
function deps() {
7171
npm update --save
72+
# When we run this on a cloudtop, the urls in package-lock.json are replaced
73+
# with an internal server. We need to manually update package-lock.json
74+
# to set them back to https://registry.npmjs.org/
75+
if [[ "$OSTYPE" == "darwin"* ]]; then
76+
sed -i '' "s|https://us-npm.pkg.dev/artifact-foundry-prod/ah-3p-staging-npm/|https://registry.npmjs.org/|g" package-lock.json
77+
else
78+
sed -i "s|https://us-npm.pkg.dev/artifact-foundry-prod/ah-3p-staging-npm/|https://registry.npmjs.org/|g" package-lock.json
79+
fi
7280
}
7381

7482
# write_e2e_env - Loads secrets from the gcloud project and writes

0 commit comments

Comments
 (0)