Skip to content

Commit

Permalink
feat: Use existent connection
Browse files Browse the repository at this point in the history
Allows to pass an existing connection, so the adapter can use
that connection instead of creating a new one.
  • Loading branch information
reinaldooli committed Nov 9, 2020
1 parent 1314f52 commit 5d35409
Show file tree
Hide file tree
Showing 6 changed files with 2,328 additions and 1,133 deletions.
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bracketSpacing": true,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
"jest": "^23.6.0",
"lint-staged": "^7.3.0",
"mysql2": "^2.1.0",
"pg": "^8.4.2",
"rimraf": "^2.6.2",
"ts-jest": "22.4.6",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"dependencies": {
"casbin": "^1.1.2",
"typeorm": "^0.2.7"
"casbin": "^5.2.0",
"typeorm": "^0.2.29"
},
"files": [
"lib",
Expand Down
Loading

0 comments on commit 5d35409

Please sign in to comment.