Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4117,7 +4117,7 @@ functions:
(cd scripts/docker && docker build --build-arg NODE_JS_VERSION="$NODE_VERSION" -t ubuntu24.04-xvfb -f ubuntu24.04-xvfb.Dockerfile .)
docker run \
--rm -v $PWD:/tmp/build ubuntu24.04-xvfb \
-c 'cd /tmp/build && ./testing/test-vscode.sh'
-c 'cd /tmp/build && ./scripts/test-vscode.sh'
}
test_connectivity:
- command: expansions.write
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/evergreen.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ functions:
(cd scripts/docker && docker build --build-arg NODE_JS_VERSION="$NODE_VERSION" -t ubuntu24.04-xvfb -f ubuntu24.04-xvfb.Dockerfile .)
docker run \
--rm -v $PWD:/tmp/build ubuntu24.04-xvfb \
-c 'cd /tmp/build && ./testing/test-vscode.sh'
-c 'cd /tmp/build && ./scripts/test-vscode.sh'
}
test_connectivity:
- command: expansions.write
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/setup-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OS_ARCH="$(uname "-m")"
export BASEDIR="$PWD/.evergreen"
export PATH="$BASEDIR/npm-10/node_modules/.bin:$BASEDIR/node-v$NODE_JS_VERSION-win-x64:/opt/java/jdk16/bin:$PATH"

export MONGOSH_GLOBAL_CONFIG_FILE_FOR_TESTING="$BASEDIR/../../testing/tests-globalconfig.conf"
export MONGOSH_GLOBAL_CONFIG_FILE_FOR_TESTING="$BASEDIR/../../packages/testing/tests-globalconfig.conf"

export IS_MONGOSH_EVERGREEN_CI=1
export DEBUG="mongodb*,$DEBUG"
Expand Down
8 changes: 2 additions & 6 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"include": [
"packages/*/src/**",
"scripts/*/src/**",
"configs/*/src/**"
],
"include": ["packages/*/src/**", "scripts/*/src/**", "configs/*/src/**"],
"exclude": [
"test",
"testing",
"packages/testing",
"config",
"**/*.d.ts",
"**/*.spec.{ts,js,tsx,jsx,cjs,mjs}",
Expand Down
127 changes: 127 additions & 0 deletions mongosh.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"folders": [
{
"name": "mongosh",
"path": "."
},
{
"name": "📦 @mongosh/arg-parser",
"path": "packages/arg-parser"
},
{
"name": "📦 @mongosh/async-rewriter2",
"path": "packages/async-rewriter2"
},
{
"name": "📦 @mongosh/autocomplete",
"path": "packages/autocomplete"
},
// {
// "name": "📦 @mongosh/browser-repl",
// "path": "packages/browser-repl"
// },
{
"name": "📦 @mongosh/browser-runtime-core",
"path": "packages/browser-runtime-core"
},
{
"name": "📦 @mongosh/browser-runtime-electron",
"path": "packages/browser-runtime-electron"
},
{
"name": "📦 @mongosh/build",
"path": "packages/build"
},
{
"name": "📦 @mongosh/cli-repl",
"path": "packages/cli-repl"
},
{
"name": "📦 @mongosh/connectivity-tests",
"path": "packages/connectivity-tests"
},
{
"name": "📦 @mongosh/e2e-tests",
"path": "packages/e2e-tests"
},
{
"name": "📦 @mongosh/editor",
"path": "packages/editor"
},
{
"name": "📦 @mongosh/errors",
"path": "packages/errors"
},
{
"name": "📦 @mongosh/history",
"path": "packages/history"
},
{
"name": "📦 @mongosh/i18n",
"path": "packages/i18n"
},
{
"name": "📦 @mongosh/java-shell",
"path": "packages/java-shell"
},
{
"name": "📦 @mongosh/js-multiline-to-singleline",
"path": "packages/js-multiline-to-singleline"
},
{
"name": "📦 @mongosh/logging",
"path": "packages/logging"
},
{
"name": "📦 @mongosh/node-runtime-worker-thread",
"path": "packages/node-runtime-worker-thread"
},
{
"name": "📦 @mongosh/service-provider-core",
"path": "packages/service-provider-core"
},
{
"name": "📦 @mongosh/service-provider-node-driver",
"path": "packages/service-provider-node-driver"
},
{
"name": "📦 @mongosh/shell-api",
"path": "packages/shell-api"
},
{
"name": "📦 @mongosh/shell-bson",
"path": "packages/shell-bson"
},
{
"name": "📦 @mongosh/shell-evaluator",
"path": "packages/shell-evaluator"
},
{
"name": "📦 @mongosh/snippet-manager",
"path": "packages/snippet-manager"
},
{
"name": "📦 @mongosh/testing",
"path": "packages/testing"
},
{
"name": "📦 @mongosh/types",
"path": "packages/types"
}
],
"settings": {
"typescript.tsdk": "node_modules/typescript/lib",
"mochaExplorer.files": "./{src,lib}/**/*.spec.ts",
"mochaExplorer.require": [
"../../scripts/import-expansions.js",
"ts-node/register"
],
"mochaExplorer.timeout": 60000,
"mochaExplorer.ui": "bdd",
"mochaExplorer.esmLoader": false,
"mochaExplorer.monkeyPatch": true,
"mochaExplorer.autoload": true,
"testExplorer.codeLens": true,
"testExplorer.gutterDecoration": true
}
}
Loading
Loading