forked from socketio/socket.io-mongo-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from gynzy/chore/upgrade-upstream
chore: upgrade to upstream 0.3.1
- Loading branch information
Showing
10 changed files
with
165 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
version: "3" | ||
|
||
services: | ||
mongo: | ||
image: mongo:4.4 | ||
entrypoint: [ "/usr/bin/mongod", "--bind_ip_all", "--replSet", "rs0" ] | ||
# you'll need to run "rs.initiate()" on the node (https://docs.mongodb.com/manual/tutorial/convert-standalone-to-replica-set/) | ||
# commands: | ||
# $ docker compose exec mongo /bin/bash | ||
# $ mongosh | ||
# $ rs.initiate() | ||
# $ rs.status() | ||
ports: | ||
- "27017:27017" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
{ | ||
"name": "@gynzy/mongo-adapter", | ||
"version": "0.3.0-gynzy2", | ||
"description": "The Socket.IO MongoDB adapter, allowing to broadcast events between several Socket.IO servers", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:socketio/socket.io-mongo-adapter.git" | ||
}, | ||
"files": [ | ||
"dist/" | ||
], | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"test": "npm run format:check && tsc && nyc mocha --require ts-node/register test/index.ts", | ||
"format:check": "prettier --parser typescript --check 'lib/**/*.ts' 'test/**/*.ts'", | ||
"format:fix": "prettier --parser typescript --write 'lib/**/*.ts' 'test/**/*.ts'", | ||
"build": "tsc" | ||
}, | ||
"dependencies": { | ||
"debug": "~4.3.1", | ||
"mongodb": "*" | ||
}, | ||
"peerDependencies": { | ||
"socket.io-adapter": "^2.5.2" | ||
}, | ||
"devDependencies": { | ||
"@types/expect.js": "^0.3.29", | ||
"@types/mocha": "^8.2.1", | ||
"@types/node": "^14.14.7", | ||
"expect.js": "0.3.1", | ||
"mocha": "^10.2.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.1.2", | ||
"socket.io": "^4.6.1", | ||
"socket.io-client": "^4.6.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.4" | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"keywords": [ | ||
"socket.io", | ||
"mongodb", | ||
"mongo", | ||
"adapter" | ||
] | ||
} | ||
"name": "@gynzy/mongo-adapter", | ||
"version": "0.3.1-gynzy-1", | ||
"description": "The Socket.IO MongoDB adapter, allowing to broadcast events between several Socket.IO servers", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:socketio/socket.io-mongo-adapter.git" | ||
}, | ||
"files": [ | ||
"dist/" | ||
], | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"test": "npm run format:check && tsc && nyc mocha --require ts-node/register test/index.ts", | ||
"format:check": "prettier --parser typescript --check 'lib/**/*.ts' 'test/**/*.ts'", | ||
"format:fix": "prettier --parser typescript --write 'lib/**/*.ts' 'test/**/*.ts'", | ||
"build": "tsc" | ||
}, | ||
"dependencies": { | ||
"debug": "~4.3.1", | ||
"mongodb": "*" | ||
}, | ||
"peerDependencies": { | ||
"socket.io-adapter": "^2.5.2" | ||
}, | ||
"devDependencies": { | ||
"@types/expect.js": "^0.3.29", | ||
"@types/mocha": "^8.2.1", | ||
"@types/node": "^14.14.7", | ||
"expect.js": "0.3.1", | ||
"mocha": "^10.2.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.1.2", | ||
"socket.io": "^4.6.1", | ||
"socket.io-client": "^4.6.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.4" | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"keywords": [ | ||
"socket.io", | ||
"mongodb", | ||
"mongo", | ||
"adapter" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.