Skip to content

Commit 0a27eea

Browse files
feat: extend completions VSCODE-376, VSCODE-381, VSCODE-389, VSCODE-390 (#497)
* feat: extend completions VSCODE-376, VSCODE-381, VSCODE-389, VSCODE-390 * build: clean up dev dependencies * build: bump dependencies * refactor: get completions from @mongodb-js/mongodb-constants
1 parent 50a3234 commit 0a27eea

File tree

10 files changed

+1156
-1561
lines changed

10 files changed

+1156
-1561
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ npm run watch
3939

4040
- `out` Compiled extension code
4141
- `images` Icons, logos, etc.
42-
- `snippets` Bundled MongoDB Snippets
42+
- `snippets` Bundled Terraform Snippets
4343
- `syntaxes` [Syntax highlighting](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#injection-grammars) for MongoDB keywords
4444
- `src/test/suite` Where tests live with '`*.test.ts`' files names
4545
- `scripts` Project helper scripts

package-lock.json

Lines changed: 143 additions & 422 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@
3737
"clean": "rimraf ./out/* ./dist/* ",
3838
"lint": "eslint . && prettier --check .",
3939
"update-grammar": "ts-node ./scripts/update-grammar.ts",
40-
"update-snippets": "ts-node ./scripts/update-snippets.ts",
4140
"precompile": "npm run clean",
4241
"compile": "npm-run-all compile:*",
4342
"compile:keyfile": "ts-node ./scripts/generate-keyfile.ts",
44-
"compile:resources": "npm run update-grammar && npm run update-snippets",
43+
"compile:resources": "npm run update-grammar",
4544
"compile:extension": "tsc -p ./",
4645
"compile:extension-bundles": "webpack --mode development",
4746
"watch": "npm run compile && npm-run-all -p watch:*",
@@ -133,10 +132,6 @@
133132
}
134133
],
135134
"snippets": [
136-
{
137-
"language": "javascript",
138-
"path": "./snippets/stage-autocompleter.json"
139-
},
140135
{
141136
"language": "terraform",
142137
"path": "./snippets/atlas-terraform.json"
@@ -973,13 +968,13 @@
973968
"@iconify/react": "^1.1.4",
974969
"@leafygreen-ui/logo": "^6.3.0",
975970
"@leafygreen-ui/toggle": "^7.0.5",
976-
"@mongodb-js/mongodb-constants": "^0.2.2",
971+
"@mongodb-js/mongodb-constants": "^0.3.0",
977972
"@mongosh/browser-runtime-electron": "^1.8.0",
978973
"@mongosh/i18n": "^1.8.0",
979974
"@mongosh/service-provider-server": "^1.8.0",
980975
"@mongosh/shell-api": "^1.8.0",
981976
"analytics-node": "^6.2.0",
982-
"bson": "^5.0.1",
977+
"bson": "^5.1.0",
983978
"bson-transpilers": "^2.0.3",
984979
"classnames": "^2.3.2",
985980
"debug": "^4.3.4",
@@ -1010,40 +1005,36 @@
10101005
"@types/babel__core": "^7.20.0",
10111006
"@types/babel__traverse": "^7.18.3",
10121007
"@types/chai": "^4.3.4",
1013-
"@types/chai-fs": "^2.0.2",
1014-
"@types/chai-json-schema": "^1.4.6",
10151008
"@types/debug": "^4.1.7",
10161009
"@types/enzyme": "^3.10.12",
10171010
"@types/glob": "^7.2.0",
10181011
"@types/jest": "^26.0.24",
10191012
"@types/micromatch": "^4.0.2",
10201013
"@types/mkdirp": "^2.0.0",
10211014
"@types/mocha": "^8.2.3",
1022-
"@types/node": "^14.18.38",
1015+
"@types/node": "^14.18.40",
10231016
"@types/react": "^17.0.53",
10241017
"@types/react-dom": "^17.0.19",
10251018
"@types/sinon": "^9.0.11",
10261019
"@types/uuid": "^8.3.4",
10271020
"@types/vscode": "^1.76.0",
1028-
"@typescript-eslint/eslint-plugin": "^5.55.0",
1029-
"@typescript-eslint/parser": "^5.55.0",
1021+
"@typescript-eslint/eslint-plugin": "^5.56.0",
1022+
"@typescript-eslint/parser": "^5.56.0",
10301023
"@vscode/test-electron": "^2.3.0",
10311024
"@vscode/vsce": "^2.18.0",
10321025
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
10331026
"autoprefixer": "^9.8.8",
10341027
"buffer": "^6.0.3",
10351028
"chai": "^4.3.7",
10361029
"chai-as-promised": "^7.1.1",
1037-
"chai-fs": "^2.0.0",
1038-
"chai-json-schema": "^1.5.1",
10391030
"chalk": "^4.1.2",
10401031
"cli-ux": "^5.6.7",
10411032
"context-map-webpack-plugin": "^0.1.0",
10421033
"cross-env": "^7.0.3",
10431034
"css-loader": "^3.6.0",
10441035
"depcheck": "^1.4.3",
10451036
"download": "^8.0.0",
1046-
"electron": "^23.0.0",
1037+
"electron": "^23.2.0",
10471038
"enzyme": "^3.11.0",
10481039
"eslint": "^8.36.0",
10491040
"eslint-config-mongodb-js": "^5.0.3",
@@ -1059,14 +1050,14 @@
10591050
"mocha": "^8.4.0",
10601051
"mocha-junit-reporter": "^2.2.0",
10611052
"mocha-multi": "^1.1.7",
1062-
"mongodb-client-encryption": "^2.6.0",
1053+
"mongodb-client-encryption": "^2.7.1",
10631054
"mongodb-runner": "^4.10.0",
10641055
"node-loader": "^0.6.0",
10651056
"npm-run-all": "^4.1.5",
10661057
"ora": "^5.4.1",
10671058
"postcss-loader": "^3.0.0",
10681059
"pre-commit": "^1.2.2",
1069-
"prettier": "^2.8.5",
1060+
"prettier": "^2.8.6",
10701061
"process": "^0.11.10",
10711062
"semver": "^7.3.8",
10721063
"sinon": "^9.2.4",
@@ -1077,7 +1068,7 @@
10771068
"ts-loader": "^9.4.2",
10781069
"ts-node": "^10.9.1",
10791070
"typescript": "^4.9.5",
1080-
"webpack": "^5.74.0",
1071+
"webpack": "^5.76.3",
10811072
"webpack-cli": "^4.10.0",
10821073
"xvfb-maybe": "^0.2.1",
10831074
"yargs-parser": "^20.2.9"

scripts/update-snippets.ts

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)