Skip to content

Commit

Permalink
Added nact as a peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ncthbrt committed Dec 20, 2017
1 parent f410b8e commit 8a2cc87
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nact-persistence-postgres",
"version": "4.0.1",
"version": "4.0.2",
"description": "nact-persistence-postgres ⇒ nact + postresql = your services have never been so persistent",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -32,7 +32,6 @@
"url": "http://github.com/ncthbrt/nact-persistence-postgres/issues"
},
"dependencies": {
"nact": "^4.0.0",
"pg-promise": "^7.3.2",
"rxjs": "^5.4.3"
},
Expand All @@ -45,5 +44,8 @@
"mocha": "^4.0.0",
"nyc": "^11.2.1",
"semistandard": "^11.0.0"
},
"peerDependencies": {
"nact": "^4.3.0"
}
}
5 changes: 3 additions & 2 deletions test/postgres-persistence.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ const chaiAsPromised = require('chai-as-promised');
chai.use(chaiAsPromised);
chai.should();
const expect = chai.expect;
const { Promise } = require('bluebird');
const delay = Promise.delay;
const delay = (time) => new Promise((resolve, reject) => {
setTimeout(() => resolve(), time);
});
const { PostgresPersistenceEngine } = require('../lib');
const { PersistedEvent, PersistedSnapshot } = require('nact/lib/persistence');
const pgp = require('pg-promise')();
Expand Down
11 changes: 3 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,6 @@ bcrypt-pbkdf@^1.0.0:
dependencies:
tweetnacl "^0.14.3"

bluebird@^3.5.0:
version "3.5.1"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"

[email protected]:
version "4.3.1"
resolved "https://registry.yarnpkg.com/boom/-/boom-4.3.1.tgz#4f8a3005cb4a7e3889f749030fd25b96e01d2e31"
Expand Down Expand Up @@ -1789,11 +1785,10 @@ [email protected]:
version "0.0.7"
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"

nact@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/nact/-/nact-4.0.0.tgz#2146c2ccb5918433b179cd97165c1ca90a27bbaa"
nact@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/nact/-/nact-4.3.0.tgz#e2856ad316d95d1cc33fcb6a19ab07e60568f0a4"
dependencies:
bluebird "^3.5.0"
deep-freeze-node "^1.1.3"
denque "^1.2.2"
rxjs "^5.4.3"
Expand Down

0 comments on commit 8a2cc87

Please sign in to comment.