-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added typescript lib interface + Airbnb Eslint addition and fixes #64
Conversation
Returned KnexStore construction inside the lib's init function, because it must be dynamically created with the session object provided by user
… refuse all connections without a password Travis should still work without db passwords, should just add ON_TRAVIS=1 in Travis's env
Fixed lint errors in some of example-postgres.js
Also, I think we should create a |
@omarryhan well done. |
@omarryhan sorry I didn't seen your MR sooner. notifications can get rather cluttered on github :( |
It's alright :) |
Hey @llambda , Sorry to bother you again. Turns out there was a bug in this PR. Someone made a PR with a fix here. I merged it, then pushed a couple of other code organization chores and we're ready for a new release. Just thought I'd notify you with a ping, in case the notification didn't reach you. |
Many thanks !! |
* Added TS support * Added eslint * added knex to prod dependencies instead of dev * Removed unnecessary function input * Fixed lint errors * Fixed error where a bitwise operator was used instead of standard or * Fixed lint errors in test.js Returned KnexStore construction inside the lib's init function, because it must be dynamically created with the session object provided by user * Added testing instructions to README * Removed node v8 from Travis.yml * Fixed an ignored minor lint error: Favor global import * Fixed lint errors in example.js * Running tests locally with passwords, because both MySQL and Postgres refuse all connections without a password Travis should still work without db passwords, should just add ON_TRAVIS=1 in Travis's env * Reverted some of my silly changes in index.js Fixed lint errors in some of example-postgres.js * Fixed the rest of the lint errors in example-postgres.js * Fixed some ignored lint errors * Eslint ignored index.d.ts * Fixed bug in index.d.ts where I forgot to add new to an interface * Added travis env variable that signals to tests that it's in fact running in Travis
Please squash my commits when merging, because some commits were more or less reverted and will confuse whoever looks back at them.