Skip to content

Commit

Permalink
feat: extend completions VSCODE-376, VSCODE-381, VSCODE-389, VSCODE-390
Browse files Browse the repository at this point in the history
… (#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
  • Loading branch information
alenakhineika authored Mar 24, 2023
1 parent 50a3234 commit 0a27eea
Show file tree
Hide file tree
Showing 10 changed files with 1,156 additions and 1,561 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ npm run watch

- `out` Compiled extension code
- `images` Icons, logos, etc.
- `snippets` Bundled MongoDB Snippets
- `snippets` Bundled Terraform Snippets
- `syntaxes` [Syntax highlighting](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#injection-grammars) for MongoDB keywords
- `src/test/suite` Where tests live with '`*.test.ts`' files names
- `scripts` Project helper scripts
Expand Down
565 changes: 143 additions & 422 deletions package-lock.json

Large diffs are not rendered by default.

29 changes: 10 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@
"clean": "rimraf ./out/* ./dist/* ",
"lint": "eslint . && prettier --check .",
"update-grammar": "ts-node ./scripts/update-grammar.ts",
"update-snippets": "ts-node ./scripts/update-snippets.ts",
"precompile": "npm run clean",
"compile": "npm-run-all compile:*",
"compile:keyfile": "ts-node ./scripts/generate-keyfile.ts",
"compile:resources": "npm run update-grammar && npm run update-snippets",
"compile:resources": "npm run update-grammar",
"compile:extension": "tsc -p ./",
"compile:extension-bundles": "webpack --mode development",
"watch": "npm run compile && npm-run-all -p watch:*",
Expand Down Expand Up @@ -133,10 +132,6 @@
}
],
"snippets": [
{
"language": "javascript",
"path": "./snippets/stage-autocompleter.json"
},
{
"language": "terraform",
"path": "./snippets/atlas-terraform.json"
Expand Down Expand Up @@ -973,13 +968,13 @@
"@iconify/react": "^1.1.4",
"@leafygreen-ui/logo": "^6.3.0",
"@leafygreen-ui/toggle": "^7.0.5",
"@mongodb-js/mongodb-constants": "^0.2.2",
"@mongodb-js/mongodb-constants": "^0.3.0",
"@mongosh/browser-runtime-electron": "^1.8.0",
"@mongosh/i18n": "^1.8.0",
"@mongosh/service-provider-server": "^1.8.0",
"@mongosh/shell-api": "^1.8.0",
"analytics-node": "^6.2.0",
"bson": "^5.0.1",
"bson": "^5.1.0",
"bson-transpilers": "^2.0.3",
"classnames": "^2.3.2",
"debug": "^4.3.4",
Expand Down Expand Up @@ -1010,40 +1005,36 @@
"@types/babel__core": "^7.20.0",
"@types/babel__traverse": "^7.18.3",
"@types/chai": "^4.3.4",
"@types/chai-fs": "^2.0.2",
"@types/chai-json-schema": "^1.4.6",
"@types/debug": "^4.1.7",
"@types/enzyme": "^3.10.12",
"@types/glob": "^7.2.0",
"@types/jest": "^26.0.24",
"@types/micromatch": "^4.0.2",
"@types/mkdirp": "^2.0.0",
"@types/mocha": "^8.2.3",
"@types/node": "^14.18.38",
"@types/node": "^14.18.40",
"@types/react": "^17.0.53",
"@types/react-dom": "^17.0.19",
"@types/sinon": "^9.0.11",
"@types/uuid": "^8.3.4",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vscode/test-electron": "^2.3.0",
"@vscode/vsce": "^2.18.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"autoprefixer": "^9.8.8",
"buffer": "^6.0.3",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chai-fs": "^2.0.0",
"chai-json-schema": "^1.5.1",
"chalk": "^4.1.2",
"cli-ux": "^5.6.7",
"context-map-webpack-plugin": "^0.1.0",
"cross-env": "^7.0.3",
"css-loader": "^3.6.0",
"depcheck": "^1.4.3",
"download": "^8.0.0",
"electron": "^23.0.0",
"electron": "^23.2.0",
"enzyme": "^3.11.0",
"eslint": "^8.36.0",
"eslint-config-mongodb-js": "^5.0.3",
Expand All @@ -1059,14 +1050,14 @@
"mocha": "^8.4.0",
"mocha-junit-reporter": "^2.2.0",
"mocha-multi": "^1.1.7",
"mongodb-client-encryption": "^2.6.0",
"mongodb-client-encryption": "^2.7.1",
"mongodb-runner": "^4.10.0",
"node-loader": "^0.6.0",
"npm-run-all": "^4.1.5",
"ora": "^5.4.1",
"postcss-loader": "^3.0.0",
"pre-commit": "^1.2.2",
"prettier": "^2.8.5",
"prettier": "^2.8.6",
"process": "^0.11.10",
"semver": "^7.3.8",
"sinon": "^9.2.4",
Expand All @@ -1077,7 +1068,7 @@
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"webpack": "^5.74.0",
"webpack": "^5.76.3",
"webpack-cli": "^4.10.0",
"xvfb-maybe": "^0.2.1",
"yargs-parser": "^20.2.9"
Expand Down
80 changes: 0 additions & 80 deletions scripts/update-snippets.ts

This file was deleted.

Loading

0 comments on commit 0a27eea

Please sign in to comment.