@codefresh-io/eventbus 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/codefresh.yml CHANGED
@@ -1,5 +1,11 @@
1
1
  version: '1.0'
2
2
  steps:
3
+ main_clone:
4
+ title: "Cloning repository"
5
+ type: "git-clone"
6
+ repo: "codefresh-io/cf-eventbus"
7
+ revision: "${{CF_BRANCH}}"
8
+ git: "cf_github"
3
9
 
4
10
  unit_test:
5
11
  title: Running Unit Tests
@@ -8,10 +14,10 @@ steps:
8
14
  - yarn install
9
15
 
10
16
  deploy_to_npm:
11
- title: Publishing To Npm
12
- image: codefresh/node-tester-image:10.13.0
13
- commands:
14
- - NPM_TOKEN=${{NPM_TOKEN}} npm run ci-publish
17
+ type: npm-publish
18
+ arguments:
19
+ NPM_TOKEN: '${{NPM_TOKEN}}'
20
+ DIR: ./cf-eventbus
15
21
  when:
16
22
  branch:
17
23
  only: [ master ]
package/lib/Store.js CHANGED
@@ -46,7 +46,7 @@ class Store extends EventEmitter {
46
46
  database: this.database,
47
47
  password: this.password,
48
48
  host: this.host,
49
- port: 5432,
49
+ port: this.port,
50
50
  max: 10,
51
51
  idleTimeoutMillis: 30000, // how long a client is allowed to remain idle before being closed
52
52
  };
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@codefresh-io/eventbus",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "test": "gulp unit_test",
8
- "ci-publish": "ci-publish"
7
+ "test": "gulp unit_test"
9
8
  },
10
9
  "repository": {
11
10
  "type": "git",
@@ -20,16 +19,15 @@
20
19
  "dependencies": {
21
20
  "amqplib": "^0.5.1",
22
21
  "bluebird": "^3.5.0",
23
- "cf-errors": "^0.1.11",
24
- "debug": "^2.6.8",
25
- "lodash": "^4.17.4",
22
+ "cf-errors": "^0.1.16",
23
+ "debug": "2.6.9",
24
+ "lodash": "^4.17.21",
26
25
  "pg": "^7.0.2",
27
26
  "pg-cursor": "^1.2.0",
28
27
  "uuid": "^3.0.1"
29
28
  },
30
29
  "devDependencies": {
31
30
  "chai": "^3.0.0",
32
- "ci-publish": "^1.3.0",
33
31
  "git-rev": "^0.2.1",
34
32
  "gulp": "^3.9.1",
35
33
  "gulp-coveralls": "^0.1.4",