diff --git a/Makefile b/Makefile index 616e96d..8de3dbd 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/README.md b/README.md index b9366f4..b066bd7 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/dist/platforms/knex/1.0/index.js b/dist/platforms/knex/1.0/index.js new file mode 100644 index 0000000..5a8f1bf --- /dev/null +++ b/dist/platforms/knex/1.0/index.js @@ -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; \ No newline at end of file diff --git a/package.json b/package.json index 2f81e07..507e912 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "sqlite3": "^3.0.8" }, "peerDependencies": { - "knex": "> 0.8 < 0.96" + "knex": "> 0.8 < 1.1" }, "dependencies": { "bluebird": "^3.4.1", diff --git a/src/platforms/knex/1.0/index.js b/src/platforms/knex/1.0/index.js new file mode 100644 index 0000000..8eef802 --- /dev/null +++ b/src/platforms/knex/1.0/index.js @@ -0,0 +1,3 @@ +import client from '../0.12/index'; + +export default client;