Skip to content

Commit

Permalink
feat(NODE-5470)!: convert remaining FLE to TS and drop support for `o…
Browse files Browse the repository at this point in the history
…nKMSProvidersRefresh` (#3787)
  • Loading branch information
baileympearson committed Aug 3, 2023
1 parent 225cb81 commit 844aa52
Show file tree
Hide file tree
Showing 44 changed files with 2,309 additions and 2,053 deletions.
3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
lib
test/disabled
!etc/docs

src/client-side-encryption
test/unit/client-side-encryption
11 changes: 11 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"import",
"@typescript-eslint",
"prettier",
"unused-imports",
"tsdoc"
],
"extends": [
Expand Down Expand Up @@ -275,6 +276,16 @@
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-function": "off"
}
},
{
// Settings for generated definition files
"files": [
"mongodb.d.ts"
],
"parser": "@typescript-eslint/parser",
"rules": {
"unused-imports/no-unused-imports": "error"
}
}
]
}
43 changes: 37 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@mongodb-js/zstd": "^1.1.0",
"gcp-metadata": "^5.2.0",
"kerberos": "^2.0.1",
"mongodb-client-encryption": ">=6.0.0-alpha.0 <7",
"mongodb-client-encryption": ">=6.0.0-alpha.1 <7",
"snappy": "^7.2.2",
"socks": "^2.7.1"
},
Expand Down Expand Up @@ -92,12 +92,13 @@
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-unused-imports": "^2.0.0",
"express": "^4.18.2",
"gcp-metadata": "^5.2.0",
"js-yaml": "^4.1.0",
"mocha": "^10.2.0",
"mocha-sinon": "^2.1.2",
"mongodb-client-encryption": "^6.0.0-alpha.0",
"mongodb-client-encryption": "^6.0.0-alpha.1",
"mongodb-legacy": "^5.0.0",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
Expand Down Expand Up @@ -125,7 +126,7 @@
"scripts": {
"build:evergreen": "node .evergreen/generate_evergreen_tasks.js",
"build:ts": "node ./node_modules/typescript/bin/tsc",
"build:dts": "npm run build:ts && api-extractor run && node etc/clean_definition_files.cjs",
"build:dts": "npm run build:ts && api-extractor run && node etc/clean_definition_files.cjs && eslint mongodb.d.ts --fix",
"build:docs": "./etc/docs/build.ts",
"build:typedoc": "typedoc",
"build:nightly": "node ./.github/scripts/nightly.mjs",
Expand Down
Loading

0 comments on commit 844aa52

Please sign in to comment.