Skip to content

Commit

Permalink
Updated dependencies (fastify-plugin to 2.x) and support Node.js v10 …
Browse files Browse the repository at this point in the history
…LTS or later. (#43)
  • Loading branch information
0xslipk authored Oct 27, 2020
1 parent 182caa6 commit 8bf6c98
Show file tree
Hide file tree
Showing 7 changed files with 1,322 additions and 1,049 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v10.21
v12
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
language: node_js

node_js:
- "14"
- "12"
- "11"
- "10"
- "8"
install:
- npm i

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.3.0
- [#28](https://github.com/jarcodallo/fastify-objectionjs/pull/43) Updated dependencies (fastify-plugin to 2.x) and support Node.js v10 LTS or later.

## 0.2.2
Published by **[jarcodallo](https://github.com/jarcodallo)** on **2020/06/23**
- [#28](https://github.com/jarcodallo/fastify-objectionjs/pull/36) fix setup w/o models
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ const defaultKnexConfig = {
}
```

### Requirements

Node.js v10 LTS or later.

## Install

```
Expand Down Expand Up @@ -73,7 +77,7 @@ fastify.register(require('fastify-objectionjs'), {
models: [User]
})

const schemas = {
const schema = {
response: {
200: {
type: 'object',
Expand Down Expand Up @@ -138,7 +142,7 @@ fastify.register(require('fastify-objectionjs'), {
}
})

const schemas = {
const schema = {
response: {
200: {
type: 'object',
Expand Down
Loading

0 comments on commit 8bf6c98

Please sign in to comment.