Skip to content
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

Add support for Knex 1.0 #132

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ESLINT = node_modules/.bin/eslint
LAB = ./node_modules/lab/bin/lab
BABEL = ./node_modules/.bin/babel
KNEX_VERSIONS = 0.8 0.9 0.10 0.11 0.12 0.13 0.14 0.15 0.16 0.17 0.18 0.19 0.20 0.21 0.95
KNEX_VERSIONS = 0.8 0.9 0.10 0.11 0.12 0.13 0.14 0.15 0.16 0.17 0.18 0.19 0.20 0.21 0.95 1.0

.PHONY: clean test lint lint-quiet watch build test-debug $(KNEX_VERSIONS)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ with [fixture-factory](http://github.com/colonyamerican/fixture-factory).

## Knex Support

Currently supports knex 0.8 through 0.95
Currently supports knex 0.8 through 1.0

## Installation

Expand Down
13 changes: 13 additions & 0 deletions dist/platforms/knex/1.0/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';

Object.defineProperty(exports, "__esModule", {
value: true
});

var _index = require('../0.12/index');

var _index2 = _interopRequireDefault(_index);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = _index2.default;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"sqlite3": "^3.0.8"
},
"peerDependencies": {
"knex": "> 0.8 < 0.96"
"knex": "> 0.8 < 1.1"
},
"dependencies": {
"bluebird": "^3.4.1",
Expand Down
3 changes: 3 additions & 0 deletions src/platforms/knex/1.0/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import client from '../0.12/index';

export default client;