Skip to content

Commit e4a3aea

Browse files
Merge remote-tracking branch 'origin/main' into beta-releases
2 parents cd47e18 + 55852ca commit e4a3aea

File tree

125 files changed

+3888
-4296
lines changed

Some content is hidden

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

125 files changed

+3888
-4296
lines changed

.evergreen/functions.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,9 @@ post:
122122
remote_file: ${project}/${revision}_${revision_order_id}/vulnerability-report.md
123123
content_type: text/markdown
124124
optional: true
125-
- command: attach.results
125+
- command: attach.xunit_results
126126
params:
127-
file_location: src/packages/compass-e2e-tests/.log/report.json
128-
127+
file: src/.logs/*.xml
129128
functions:
130129
clone:
131130
- command: git.get_project

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ mongodb-crypt
3333
packages/*/.npmrc
3434
config/*/.npmrc
3535
.sbom
36+
.logs
3637
.evergreen/logs

.snyk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ ignore:
1313
SNYK-JS-AGGRIDCOMMUNITY-1932011:
1414
- '*':
1515
reason: None Given
16-
expires: 2024-01-10T00:00:00.000Z
17-
created: 2023-08-23T16:17:24.728Z
16+
expires: 2024-02-09T14:01:23.838Z
17+
created: 2024-01-10T14:01:23.846Z
1818
SNYK-JS-AXIOS-6032459:
1919
- '*':
2020
reason: Not applicable to axios usage inside node-analytics package

THIRD-PARTY-NOTICES.md

Lines changed: 1165 additions & 1418 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.0.14",
3+
"version": "1.0.15",
44
"description": "Shared Compass eslint configuration",
55
"license": "SSPL",
66
"main": "index.js",
@@ -16,7 +16,7 @@
1616
"@babel/core": "^7.21.4",
1717
"@babel/eslint-parser": "^7.14.3",
1818
"@mongodb-js/eslint-config-devtools": "^0.9.9",
19-
"@mongodb-js/eslint-plugin-compass": "^1.0.13",
19+
"@mongodb-js/eslint-plugin-compass": "^1.0.14",
2020
"@typescript-eslint/eslint-plugin": "^5.59.0",
2121
"@typescript-eslint/parser": "^5.59.0",
2222
"eslint-config-prettier": "^8.3.0",

configs/eslint-plugin-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.0.13",
16+
"version": "1.0.14",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/mongodb-js/compass.git"
@@ -37,7 +37,7 @@
3737
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
3838
},
3939
"devDependencies": {
40-
"@mongodb-js/mocha-config-compass": "^1.3.5",
40+
"@mongodb-js/mocha-config-compass": "^1.3.6",
4141
"@mongodb-js/prettier-config-compass": "^1.0.1",
4242
"depcheck": "^1.4.1",
4343
"eslint": "^7.25.0",

configs/mocha-config-compass/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
const path = require('path');
44
const base = require('@mongodb-js/mocha-config-devtools');
55

6+
const fs = require('fs');
7+
68
module.exports = {
79
...base,
10+
reporter: path.resolve(__dirname, 'reporter.js'),
811
require: [
912
...base.require,
1013
path.resolve(__dirname, 'register', 'resolve-from-source-register.js'),

configs/mocha-config-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mongodb-js/mocha-config-compass",
3-
"version": "1.3.5",
3+
"version": "1.3.6",
44
"description": "Shared mocha mocha configuration for Compass packages",
55
"license": "SSPL",
66
"main": "index.js",
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
const Mocha = require('mocha');
2+
const fs = require('fs');
3+
const path = require('path');
4+
5+
// Import the built-in reporters
6+
const Spec = Mocha.reporters.Spec;
7+
const XUnit = Mocha.reporters.XUnit;
8+
9+
class Reporter {
10+
constructor(runner) {
11+
const suiteName = path.basename(process.cwd());
12+
13+
new Spec(runner);
14+
15+
runner.on('suite', (suite) => {
16+
if (suite.parent?.root) {
17+
suite.title = `${suiteName}__${suite.title}`;
18+
}
19+
});
20+
21+
new XUnit(runner, {
22+
reporterOptions: {
23+
suiteName,
24+
output: path.join(__dirname, '..', '..', '.logs', `${suiteName}.xml`),
25+
},
26+
});
27+
}
28+
}
29+
30+
module.exports = Reporter;

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.3.1",
16+
"version": "1.3.2",
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.0.14",
48+
"@mongodb-js/eslint-config-compass": "^1.0.15",
4949
"@mongodb-js/prettier-config-compass": "^1.0.1",
5050
"@mongodb-js/tsconfig-compass": "^1.0.3",
5151
"@types/cli-progress": "^3.9.2",

0 commit comments

Comments
 (0)