Skip to content

Commit c714492

Browse files
Merge remote-tracking branch 'socket.io-postgres-emitter/main' into monorepo
2 parents a66ed68 + 42480e9 commit c714492

File tree

15 files changed

+2703
-21
lines changed

15 files changed

+2703
-21
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ jobs:
3535
ports:
3636
- 6379:6379
3737

38+
postgres:
39+
image: postgres:14
40+
env:
41+
POSTGRES_PASSWORD: changeit
42+
options: >-
43+
--health-cmd pg_isready
44+
--health-interval 10s
45+
--health-timeout 5s
46+
--health-retries 5
47+
ports:
48+
- 5432:5432
49+
3850
steps:
3951
- name: Checkout repository
4052
uses: actions/checkout@v4

package-lock.json

Lines changed: 230 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"packages/socket.io-adapter",
1111
"packages/socket.io-parser",
1212
"packages/socket.io-client",
13-
"packages/socket.io"
13+
"packages/socket.io",
14+
"packages/socket.io-postgres-emitter"
1415
],
1516
"overrides": {
1617
"@types/estree": "0.0.52",
@@ -29,10 +30,12 @@
2930
"@rollup/plugin-commonjs": "^26.0.1",
3031
"@rollup/plugin-node-resolve": "^15.2.3",
3132
"@sinonjs/fake-timers": "^11.2.2",
33+
"@socket.io/postgres-adapter": "^0.1.0",
3234
"@types/debug": "^4.1.12",
3335
"@types/expect.js": "^0.3.32",
3436
"@types/mocha": "^10.0.7",
3537
"@types/node": "18.15.3",
38+
"@types/pg": "^8.6.0",
3639
"@types/sinonjs__fake-timers": "^8.1.5",
3740
"@wdio/cli": "^8.39.1",
3841
"@wdio/local-runner": "^8.39.1",
@@ -55,6 +58,7 @@
5558
"mocha": "^10.6.0",
5659
"node-forge": "^1.3.1",
5760
"nyc": "^17.0.0",
61+
"pg": "^8.6.0",
5862
"prettier": "^3.3.2",
5963
"redis": "^4.6.15",
6064
"rimraf": "^6.0.0",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# 0.1.0 (2021-06-14)
2+
3+
Initial commit
4+

0 commit comments

Comments
 (0)