Skip to content

Commit 4f67e36

Browse files
addaleaxgribnoysup
andauthored
chore(deps): bump mongosh, kerberos, devtools-connect, etc (#2831)
* chore(deps): bump mongosh, kerberos, devtools-connect, etc * chore(compass-shell): Add leafygreen-ui/code as a dependency of the package It's a transitive peer dep of browser-repl and currently we have to install it manually * chore: Fix babel version at the root of the monorepo to work around depcheck issue * fixup: try using npm@8 in CI * fixup: include node-gyp in dev dependencies * Revert "fixup: try using npm@8 in CI" This reverts commit 8edf513. * fixup: bump electron-rebuild to latest for node-gyp dependency bump * fixup: account for externalized 'clipboard' package * Revert "Revert "fixup: try using npm@8 in CI"" This reverts commit 312c9f4. * fixup: try disabling github setup-node caching * Revert "fixup: try disabling github setup-node caching" This reverts commit 9d96e02. * fixup: try removing node-gyp cache directly * Revert "fixup: try removing node-gyp cache directly" This reverts commit 9658d0b. * Revert "Revert "fixup: try removing node-gyp cache directly"" This reverts commit 8bcdf90. * fixup: just skip waiting for collection that may not be in view Co-authored-by: Sergey Petushkov <[email protected]>
1 parent 55f5e9e commit 4f67e36

File tree

18 files changed

+2110
-1503
lines changed

18 files changed

+2110
-1503
lines changed

.depcheckrc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
ignores:
2-
# TODO: See package.json. Remove when all packages use the same version
2+
# TODO: We keep webpack-cli/serve and testing-library/dom at the root to work
3+
# around weird npm workspace hoising issues caused by outdated transient
4+
# dependencies. This can go away when we update webpack and leafygreen to the
5+
# same version everywhere.
36
- '@webpack-cli/serve'
47
- '@testing-library/dom'
8+
# TODO: To work around https://github.com/depcheck/depcheck/issues/688 we keep
9+
# some babel dependencies at the root to guarantee that their version is not
10+
# bumped higher than the version that breaks depcheck package
11+
- '@babel/core'
12+
- '@babel/parser'
13+
# npm picks up the node-gyp installation in this repository rather than the
14+
# one it ships with, so we install one of our own to get the version right
15+
# (because we need one with vscode 2022 support for github actions CI)
16+
- 'node-gyp'

.evergreen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ variables:
4040
EVERGREEN_VERSION_ID: ${version_id}
4141
EVERGREEN_WORKDIR: ${workdir}
4242
NODE_JS_VERSION: '14.17.5'
43-
NPM_VERSION: '7'
43+
NPM_VERSION: '8.3.1'
4444
# secrets
4545
HADRON_METRICS_BUGSNAG_KEY: ${metrics_bugsnag_key}
4646
HADRON_METRICS_INTERCOM_APP_ID: ${metrics_intercom_app_id}

.github/workflows/authors-and-third-party-notices.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ jobs:
2222
- name: Install Deps Ubuntu
2323
run: sudo apt-get -y install libkrb5-dev libsecret-1-dev net-tools libstdc++6 gnome-keyring
2424

25-
- name: Install npm@7
26-
run: npm install -g npm@7
25+
- name: Install [email protected]
26+
run: |
27+
npm install -g [email protected]
28+
npx --yes rimraf $LOCALAPPDATA/node-gyp/Cache || true
2729
2830
- name: Install Dependencies
29-
run: npm ci
31+
run: |
32+
npm -v
33+
npm ci
3034
3135
- name: Set up Git
3236
run: |

.github/workflows/build.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,14 @@ jobs:
4949
node-version: ^14.17.5
5050
cache: 'npm'
5151

52-
- name: Install npm@7
53-
run: npm install -g npm@7
52+
- name: Install [email protected]
53+
run: |
54+
npm install -g [email protected]
55+
npx --yes rimraf $LOCALAPPDATA/node-gyp/Cache || true
5456
5557
- name: Install Dependencies
5658
run: |
59+
npm -v
5760
npm ci
5861
# We don't need to bootstrap anything else before running the e2e tests
5962
npx lerna run bootstrap -- --stream --scope @mongodb/webpack-config-compass

.github/workflows/check-test.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,14 @@ jobs:
4646
node-version: ^14.17.5
4747
cache: 'npm'
4848

49-
- name: Install npm@7
50-
run: npm install -g npm@7
49+
- name: Install [email protected]
50+
run: |
51+
npm install -g [email protected]
52+
npx --yes rimraf $LOCALAPPDATA/node-gyp/Cache || true
5153
5254
- name: Install Dependencies
5355
run: |
56+
npm -v
5457
npm ci
5558
# Dependencies are included when installing as npm workspaces will
5659
# hoist every package in the repo and it's important that the

.github/workflows/connectivity-tests.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,15 @@ jobs:
7676
docker-compose -f docker/tls/docker-compose.yaml up -d
7777
docker-compose -f docker/kerberos/docker-compose.yaml up -d
7878
79-
- name: Install npm@7
80-
run: npm install -g npm@7
79+
- name: Install [email protected]
80+
run: |
81+
npm install -g [email protected]
82+
npx --yes rimraf $LOCALAPPDATA/node-gyp/Cache || true
8183
8284
- name: Install Dependencies
83-
run: npm run bootstrap-ci
85+
run: |
86+
npm -v
87+
npm run bootstrap-ci
8488
8589
- name: Docker ps
8690
run: docker ps -a --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"

0 commit comments

Comments
 (0)