Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
fix: move joi to peer dependency (#10)
Browse files Browse the repository at this point in the history
* chore: releasing (#9)

* chore: npm releasing

* chore: releasing on github and npm

* chore: version bump

* fix: remove github releasing

* fix: travis lint

* fix: move joi to peer dependency

* fix(travis): add joi before testing

* fix: yarn command

* fix: peer dependency
  • Loading branch information
gjuchault authored Mar 19, 2017
1 parent 1475d22 commit 8f68bd3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ node_js:
addons:
rethinkdb: '2.3.4'

before_script:
- yarn add joi --peer

script:
- npm test
- yarn test

after_script:
- npm run coveralls
- yarn run coveralls

deploy:
provider: npm
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
## Installation

```sh
yarn add requelize
yarn add joi
yarn add requelize joi
```

[joi](https://github.com/hapijs/joi) is a peer dependency to create schemas
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "requelize",
"version": "0.3.1",
"version": "0.3.2",
"description": "RethinkDB ORM",
"main": "index.js",
"repository": "https://github.com/buckless/requelize.git",
Expand All @@ -18,7 +18,6 @@
},
"dependencies": {
"debug": "^2.6.3",
"joi": "^10.2.1",
"rethinkdbdash": "^2.3.28",
"rxjs": "^5.2.0"
},
Expand All @@ -28,5 +27,8 @@
"standard": "^8.6.0",
"tap-difflet": "^0.7.0",
"tape": "^4.6.3"
},
"peerDependencies": {
"joi": "10.x"
}
}
14 changes: 4 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,7 @@ debug-log@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/debug-log/-/debug-log-1.0.1.tgz#2307632d4c04382b8df8a32f70b895046d52745f"

debug@^2.1.1:
version "2.6.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.0.tgz#bc596bcabe7617f11d9fa15361eded5608b8499b"
dependencies:
ms "0.7.2"

debug@^2.6.3:
debug@^2.1.1, debug@^2.6.3:
version "2.6.3"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.3.tgz#0f7eb8c30965ec08c72accfa0130c8b79984141d"
dependencies:
Expand Down Expand Up @@ -1039,9 +1033,9 @@ jodid25519@^1.0.0:
dependencies:
jsbn "~0.1.0"

joi@^10.2.1:
version "10.2.1"
resolved "https://registry.yarnpkg.com/joi/-/joi-10.2.1.tgz#f3a5f6a492d311735f17b109487646c2194aa92d"
joi@^10.2.2:
version "10.2.2"
resolved "https://registry.yarnpkg.com/joi/-/joi-10.2.2.tgz#dc5a792b7b4c6fffa562242a95b55d9d3f077e24"
dependencies:
hoek "4.x.x"
isemail "2.x.x"
Expand Down

0 comments on commit 8f68bd3

Please sign in to comment.