Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a7a7a67
feat(typescript): first draft of full typescript migration
AJRdev Mar 1, 2019
c6072d1
fix(tests): delete the MONGOMS_SYSTEM_BINARY env variable value when …
AJRdev Mar 2, 2019
e47940f
fix(test): add debug option to MongoMemoryServer instanciations to ga…
AJRdev Mar 2, 2019
0b9971c
Adding debug to understand why CI tests are failling + Fix a couple o…
AJRdev Mar 2, 2019
ad17667
debug: rollback tmp.dirSync mode parameter to a string to check if it…
AJRdev Mar 3, 2019
35cbb09
tests: remove debug option of MongoMemoryServer instancations in tests
AJRdev Mar 3, 2019
f02bf79
tests: run only MongoInstance test to be sure it is the cause unstopp…
AJRdev Mar 3, 2019
553bda5
tests: run only multipleDB test to be sure it is the cause unstopped …
AJRdev Mar 3, 2019
4e83294
fix(tests): re introduce the condition on autostart in the MongoMemor…
AJRdev Mar 3, 2019
0881579
typing: fix some typing error and add types from the mongo package
AJRdev Mar 3, 2019
13165d5
chore: improve jest config
nodkz Mar 4, 2019
f03f5f7
chore: remove jest config from package.json
nodkz Mar 4, 2019
29df960
chore: add codeowners file
nodkz Mar 4, 2019
8642201
refactor(MongoMemoryReplSet): after review
nodkz Mar 4, 2019
f126287
refactor: change mode value by 0o755 to fix input type problem + add …
AJRdev Mar 4, 2019
a3205ba
chore: update dependencies
nodkz Mar 4, 2019
f4a19cd
chore: migrate from `tslint` to new `eslint` config
nodkz Mar 4, 2019
1e8a683
fix: lint errors
nodkz Mar 4, 2019
17220e6
merge
nodkz Mar 4, 2019
9c4991a
refacto: suggest new debug function implementation + remove debug log…
AJRdev Mar 5, 2019
4902b36
chore: fix prettier errors
AJRdev Mar 5, 2019
59a7ed6
refacto: add async/await to afterAll event in DB tests to remove warn…
AJRdev Mar 5, 2019
c362ab7
tests: add unit test suite for MongoMemoryServer
AJRdev Mar 7, 2019
5d56ad3
chore: improve tsconfig and generate flow definitions
nodkz Mar 9, 2019
14dc24e
fix: pass instance `ip` option to MongoInstance.run
nodkz Mar 9, 2019
74ad96a
refacto: last cleanup of todos and some types
AJRdev Mar 9, 2019
ad252b4
chore: update dependencies
nodkz Mar 9, 2019
c9a1a98
merge with master
nodkz Mar 9, 2019
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
19 changes: 0 additions & 19 deletions .babelrc

This file was deleted.

49 changes: 26 additions & 23 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,44 +1,47 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"airbnb-base",
"prettier"
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"useJSXTextNode": true,
"project": "./tsconfig.json"
},
"rules": {
"no-underscore-dangle": 0,
"arrow-body-style": 0,
"no-unused-expressions": 0,
"no-plusplus": 0,
"no-console": 0,
"func-names": 0,
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore",
}],
"prettier/prettier": ["error", {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5",
}],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}
],
"no-prototype-builtins": 0,
"prefer-destructuring": 0,
"no-else-return": 0,
"lines-between-class-members": ["error", "always", { exceptAfterSingleLine: true }],
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-inferrable-types": 0
},
"env": {
"jasmine": true,
"jest": true
},
"globals": {
"Class": true,
"Iterator": true,
"$Shape": true,
},
"plugins": [
"flowtype",
"prettier"
]
"Iterator": true
}
}
43 changes: 0 additions & 43 deletions .flowconfig

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@nodkz @AJRdev
10 changes: 10 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"line-length": false,
"no-trailing-punctuation": {
"punctuation": ",;"
},
"no-inline-html": false,
"ol-prefix": false,
"first-line-h1": false,
"first-heading-h1": false
}
8 changes: 7 additions & 1 deletion tslint.json → .old.tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"member-ordering": [true, { "order": "fields-first" }],
"variable-name": false,
"interface-name": false,
"no-reference-import": false
"no-reference-import": false,
"curly": false,
"arrow-parens": false,
"object-literal-sort-keys": false,
"no-console": false,
"interface-over-type-literal": false

}
}
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"singleQuote": true,
"arrowParens": "always",
"tabWidth": 2,
"useTabs": false,
"printWidth": 100,
"trailingComma": "es5"
}
11 changes: 9 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{
"javascript.validate.enable": false
}
"javascript.validate.enable": false,
"editor.formatOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{ "language": "typescript", "autoFix": true },
{ "language": "typescriptreact", "autoFix": true }
]
}
Loading