Skip to content

Commit 2804652

Browse files
roy-coderRoyecvburgess
authored
1.6.0 Convert Knex to a peer dependency (#70)
Co-authored-by: Roye <[email protected]> Co-authored-by: Charles Burgess <[email protected]>
1 parent 4e4ab7a commit 2804652

File tree

4 files changed

+652
-781
lines changed

4 files changed

+652
-781
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v1.6.0 - 10-04-2021
4+
5+
- Migrate knex to a peerDependencies ( Thanks @roy-coder )
6+
37
## v1.5.0 - 08-09-2021
48

59
- Add types for `this.db` and `this.context` ( Thanks @astorije )

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ The knex instance is made available as `this.knex` or `this.db`.
104104

105105
To enable more enhanced logging via [knex-tiny-logger], set `DEBUG` to a truthy value in your environment variables.
106106

107+
## NPM 7 note
108+
109+
While peer dependencies are not installed by default for NPM 6, [v7 will create a tree which could have peerDependencies added correctly](https://github.com/npm/rfcs/blob/main/implemented/0025-install-peer-deps.md).
110+
107111
## Contributing
108112

109113
All contributions are welcome!

0 commit comments

Comments
 (0)