Skip to content

Commit a173aae

Browse files
committed
Merge branch 'gagik/headless-context-menu' of github.com:mongodb-js/compass into gagik/context-menu-compass-ui
2 parents a285d63 + ee658e1 commit a173aae

File tree

132 files changed

+3451
-7156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+3451
-7156
lines changed

.evergreen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
stepback: false
22
exec_timeout_secs: 5400
3+
foliage_should_block_merges: false
34
ignore:
45
- docs/**/*.md
56
- AUTHORS

.evergreen/buildvariants-and-tasks.in.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,12 @@ buildvariants:
290290
<% } %>
291291
<% } %>
292292

293+
- name: test-can-bundle-compass-web
294+
display_name: Test Can Bundle Compass Web
295+
run_on: ubuntu2004-large
296+
tasks:
297+
- name: test-can-bundle-compass-web
298+
293299
- name: test-web-sandbox-atlas-cloud
294300
display_name: Test Web Sandbox (w/ Atlas Cloud login)
295301
run_on: ubuntu2004-large
@@ -557,6 +563,19 @@ tasks:
557563
<% } %>
558564
<% } %>
559565

566+
- name: test-can-bundle-compass-web
567+
tags:
568+
- run-on-pr
569+
- assigned_to_jira_team_compass_compass
570+
- foliage_check_task_only
571+
commands:
572+
- func: prepare
573+
- func: install
574+
- func: bootstrap
575+
- func: compile-compass-web
576+
vars:
577+
debug: 'compass*,electron*,hadron*,mongo*'
578+
560579
- name: test-web-sandbox-atlas-cloud
561580
tags:
562581
- required-for-publish

.evergreen/buildvariants-and-tasks.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,11 @@ buildvariants:
280280
- name: test-web-sandbox-firefox-1
281281
- name: test-web-sandbox-firefox-2
282282
- name: test-web-sandbox-firefox-3
283+
- name: test-can-bundle-compass-web
284+
display_name: Test Can Bundle Compass Web
285+
run_on: ubuntu2004-large
286+
tasks:
287+
- name: test-can-bundle-compass-web
283288
- name: test-web-sandbox-atlas-cloud
284289
display_name: Test Web Sandbox (w/ Atlas Cloud login)
285290
run_on: ubuntu2004-large
@@ -1552,6 +1557,18 @@ tasks:
15521557
e2e_test_groups: 3
15531558
e2e_test_group: 3
15541559
debug: compass-e2e-tests*,electron*,hadron*,mongo*
1560+
- name: test-can-bundle-compass-web
1561+
tags:
1562+
- run-on-pr
1563+
- assigned_to_jira_team_compass_compass
1564+
- foliage_check_task_only
1565+
commands:
1566+
- func: prepare
1567+
- func: install
1568+
- func: bootstrap
1569+
- func: compile-compass-web
1570+
vars:
1571+
debug: compass*,electron*,hadron*,mongo*
15551572
- name: test-web-sandbox-atlas-cloud
15561573
tags:
15571574
- required-for-publish

.evergreen/functions.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,22 @@ functions:
688688
npm run --workspace @mongodb-js/compass-smoke-tests start -- dispatch --ref ${branch_name}
689689
fi
690690
691+
# Creating the webpack compass-web bundle ensures
692+
# that the bundle size does not grow too large for.
693+
# The webpack compile fails when it exceeds the size limit.
694+
compile-compass-web:
695+
- command: shell.exec
696+
# Fail the task if it's idle for 10 mins
697+
timeout_secs: 600
698+
params:
699+
working_dir: src
700+
shell: bash
701+
env:
702+
DEBUG: ${debug|}
703+
script: |
704+
set -e
705+
npm run --workspace @mongodb-js/compass-web compile
706+
691707
test-web-sandbox:
692708
- command: shell.exec
693709
# Fail the task if it's idle for 10 mins

.snyk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ ignore:
7575
expecting to be able to update to electron v33 (or later) soon
7676
expires: 2025-06-20T04:40:36.098Z
7777
created: 2025-03-21T04:40:36.107Z
78+
SNYK-JS-ELECTRON-10245168:
79+
- '*':
80+
reason: >-
81+
Not applicable: this requires attacker to load hand crafted html
82+
inside the app. Putting on a short expiration time as we're
83+
expecting to be able to update to electron v36 soon
84+
expires: 2025-06-27T10:50:52.405Z
85+
created: 2025-05-28T10:50:52.409Z
7886
# patches apply the minimum changes required to fix a vulnerability
7987
patch:
8088
'npm:ms:20170412':

THIRD-PARTY-NOTICES.md

Lines changed: 22 additions & 2790 deletions
Large diffs are not rendered by default.

configs/eslint-config-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mongodb-js/eslint-config-compass",
3-
"version": "1.3.8",
3+
"version": "1.3.9",
44
"description": "Shared Compass eslint configuration",
55
"license": "SSPL",
66
"main": "index.js",
@@ -17,7 +17,7 @@
1717
"@babel/core": "^7.21.4",
1818
"@babel/eslint-parser": "^7.14.3",
1919
"@mongodb-js/eslint-config-devtools": "^0.9.9",
20-
"@mongodb-js/eslint-plugin-compass": "^1.2.8",
20+
"@mongodb-js/eslint-plugin-compass": "^1.2.9",
2121
"@typescript-eslint/eslint-plugin": "^5.59.0",
2222
"@typescript-eslint/parser": "^5.59.0",
2323
"eslint": "^8.57.1",

configs/eslint-plugin-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"email": "[email protected]"
1414
},
1515
"homepage": "https://github.com/mongodb-js/compass",
16-
"version": "1.2.8",
16+
"version": "1.2.9",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/mongodb-js/compass.git"

configs/testing-library-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"email": "[email protected]"
1212
},
1313
"homepage": "https://github.com/mongodb-js/compass",
14-
"version": "1.3.0",
14+
"version": "1.3.1",
1515
"repository": {
1616
"type": "git",
1717
"url": "https://github.com/mongodb-js/compass.git"
@@ -45,7 +45,7 @@
4545
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
4646
},
4747
"devDependencies": {
48-
"@mongodb-js/eslint-config-compass": "^1.3.8",
48+
"@mongodb-js/eslint-config-compass": "^1.3.9",
4949
"@mongodb-js/mocha-config-compass": "^1.6.8",
5050
"@mongodb-js/prettier-config-compass": "^1.2.8",
5151
"@mongodb-js/tsconfig-compass": "^1.2.8",

configs/webpack-config-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"email": "[email protected]"
1414
},
1515
"homepage": "https://github.com/mongodb-js/compass",
16-
"version": "1.6.9",
16+
"version": "1.6.10",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/mongodb-js/compass.git"
@@ -45,7 +45,7 @@
4545
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
4646
},
4747
"devDependencies": {
48-
"@mongodb-js/eslint-config-compass": "^1.3.8",
48+
"@mongodb-js/eslint-config-compass": "^1.3.9",
4949
"@mongodb-js/prettier-config-compass": "^1.2.8",
5050
"@mongodb-js/tsconfig-compass": "^1.2.8",
5151
"@types/cli-progress": "^3.9.2",

0 commit comments

Comments
 (0)