32 Commits

Author SHA1 Message Date
Ricardo Costa
a37f4f1fb8
Improve linting (#5460)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2023-07-12 22:42:57 +02:00
Ferris
211c6a7765
Fix #5184, ensure Typescript developer experience doesn't influence user experience (#5185) 2022-05-17 23:09:07 +03:00
Ferris
3eec52ea25
Improving Typescript developer experience (#5151) 2022-05-06 11:36:23 +03:00
Ferris
2670c2f8b5
Add development support Typescript source files (#5144) 2022-05-01 22:02:44 +03:00
Ardeshir81
2bce36e3ee
Update CONTRIBUTING.md (#4368) 2021-03-12 16:16:40 +02:00
Ziyaddin Sadigov
e44b2a28bf
Colorize code snippets in readme files (#4234) 2021-01-16 17:23:29 +02:00
Igor Savin
8956b44430
Add development Docker configuration (#3840) 2020-05-06 23:10:31 +02:00
Ahmed Ashour
a613fe23df Fix some spelling mistakes (#3572) 2019-12-10 22:53:05 +01:00
Ahmed Ashour
dcbe5559bf The project location has moved to knex/knex (#3573) 2019-12-10 22:52:36 +01:00
Ricardo Graça
9aa7085b05 Rename src directory to lib (#3338) 2019-07-10 23:48:43 +02:00
Igor Savin
c755b6dd70
Update maintainer-related info (#3292) 2019-06-18 16:57:41 +02:00
Igor Savin
c431ffc35a
Drop support for Node.js 6. Remove babel. (#3227) 2019-06-04 00:37:17 +02:00
Mikael Lepistö
8a9a648ae2
Docker based test dbs (#3157)
* Fixed some of the tests failing with various dialect combinations

* Setup all test databases to run in docker

* Fixed test suite and updated travis to use docker

* Fixed some tests in master and disabled oracle tests while setting everything else to work again

* Changed docker to use latest postgresql alpine image

* Re-enabled all oracledb tests

* Install oracle client libs to oracle server and copy them to travis to make node oracledb package to work

* Disabled random failing oracle tests and added test to show that oracle update in transaction does not seem to work ACID

* Update package.json

* Update package.json

* Fixed linting issues

* Fixed waiting for postgres to use the same DB image that database is using.

* Removed installing oracledb driver in travis if not needed .travis.yml

* Cleaned up package.json more

* Created static name for oracledb container to allow copying files out of it on different docker versions

* Removed webpack from deps
2019-05-13 12:21:36 +03:00
Igor Savin
20deaa7ac1 Minor documentation fixes and updates (#2846)
* Minor documentation fixes and updates

* Few more spelling fixes
2018-10-11 19:32:05 +03:00
Tim Griesser
b2450a94dc
Manage types internally (#2845)
* Manage types internally
* Update CONTRIBUTING
2018-10-08 17:54:26 -04:00
Mikael Lepistö
cb3a85e738
Normalized and validated driverNames of test db clients and fixed oracle test setup (#2692)
* Normalized and validated driverNames of test db clients and fixed oracle test setup

* Fixed failed queries from old query building tests which hadn't been ran in ages

* Allow selecting node version which is used to run oracledb docker tests

* Improved sql tester error messages

* Fixed rest of the oracledb tests

* Removed invalid flag from docker-compose

* Print mssql logs if initialization fails

* Fixed syntax error + final tests

* Added restart of failure for mssql DB initialization to try again if server was not ready

* Printout always mssql logs after container is started

* Fixed wait time printing after trying to connect

* Use npm run oracledb:test for testing oracle in travis
2018-07-08 14:10:51 +03:00
Mikael Lepistö
ce0946e74b
Runnin mssql tests in docker (#2496)
* Run SQL Server tests locally running SQL server in docker

* Made oracledb test script naming consistent with mssql

* Updated documentation with more info about oracledb and mssql testing
2018-02-20 11:51:51 +02:00
Mikael Lepistö
ece2da12ca
Added npm run test:oracledb command that runs oracledb tests in docker (#2491)
Also cleaned up some old docker configurations from test knexfile
2018-02-20 10:47:05 +02:00
Mikael Lepistö
053736fa4a
Added info about new dialect and about minimal test cases 2018-02-03 16:22:46 +02:00
Mikael Lepistö
68584a7311 Added requirement of integration tests
There has been many PRs which are changing what kind of queries are sent to DB without any real tests that also checks that sent queries are doing the things that they are supposed to do. To be able to make sure that those new queries actually work, in addition to unit tests it is crucial to have some integration tests as well to be able to guarantee that everything won't be broken after the changes.
2017-05-11 13:14:44 +03:00
Mikael Lepistö
5210b671ab Updated info about the docuementation repository 2016-11-27 19:49:23 +02:00
Mikael Lepistö
ab0922a6ea Collaborator info / etiquette 2016-02-10 10:44:16 +02:00
Sky Morey
afd6b66624 Final build of mssql provider, all tests pass 2015-12-09 17:53:53 -06:00
Dustin Martin
e50ebbea8d Add details about creating a new postgres user for the tests 2015-11-23 15:47:40 -06:00
blah238
39031c4006 NPM test script improvements
- Add 'npm run babel' command and run it on 'npm test' (supersedes PR #1011 - Ensure /lib is up to date during CI tests)
  - Fix 'npm test' command not working on Windows due to Istanbul config issue (see https://github.com/gotwarlost/istanbul/issues/90)
  - Update CONTRIBUTING.md
2015-10-12 15:32:59 -05:00
Max Claus Nunes
58ae4d2455 Fix some english typos 2015-09-20 10:37:28 -03:00
Tim Griesser
7e884cb325 Babel src -> lib, remove gulp 2015-05-09 13:58:18 -04:00
Tim Griesser
12e6ada1a3 Fix for #805, warn for non-existent savepoints
In MySQL if a savepoint is missing, it means something
else (most likely DDL) triggered an implicit commit. In this
case rather than erroring, let's give a warning message
so it's possible to use the same codepath as a DB where
this actually works.
2015-05-01 11:26:29 -04:00
Ben Drucker
7cdda834ef Remove FoundationDB
Reverts c199761c597c93136a6d38bc4ecf26a693560322 and #641

Foundation was acquired and shut down immediately
2015-03-24 17:48:14 -07:00
Nathan Williams
2d6d2f28f7 Adapter for FoundationDB SQL Layer 2015-02-04 14:56:41 -05:00
Ben Drucker
113a7ba409 Add information on how to run integration tests
Closes #525
2014-10-11 18:19:47 -04:00
Tim Griesser
0b3433b7b2 final commit for 0.1.0 2013-05-13 10:38:28 -04:00