Merge pull request 'Upgrade dependencies' (#15) from updates into main

Reviewed-on: https://git.verdigado.com/NB-Public/rocketchat2matrix/pulls/15
This commit is contained in:
Henrik HerHde Huettemann 2023-06-05 14:33:43 +02:00
commit 5e59481e35
3 changed files with 935 additions and 909 deletions

View File

@ -1,6 +1,6 @@
# Rocket.Chat to Matrix Migration Script # Rocket.Chat to Matrix Migration Script
Drafts and more Drafts and more. **This is a work in progress!**
## Exporting RC data ## Exporting RC data
@ -43,6 +43,17 @@ Copy over `.env.example` to `.env` and insert your values.
`npm test`. `npm test`.
## Cleaning Up
To clean up the Synapse server and loal storage database, run (while the containers are stopped)
```shell
sudo rm files/homeserver.db
rm db.sqlite
```
Then you can restart with an empty but quite equal server, following the instructions above, excluding the `generate` command.
## Design Decisions ## Design Decisions
- Getting data from Rocket.Chat via (currently) manual mongodb export - Getting data from Rocket.Chat via (currently) manual mongodb export

1815
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -28,12 +28,12 @@
}, },
"version": "0.1.0", "version": "0.1.0",
"devDependencies": { "devDependencies": {
"@types/jest": "^29.5.0", "@types/jest": "^29.5.2",
"@types/n-readlines": "^1.0.3", "@types/n-readlines": "^1.0.3",
"@types/node": "^20.2.1", "@types/node": "^20.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.6", "@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.6", "@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.40.0", "eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1", "eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5", "eslint-plugin-import": "^2.27.5",
@ -44,15 +44,15 @@
"lint-staged": "^13.2.2", "lint-staged": "^13.2.2",
"prettier": "2.8.8", "prettier": "2.8.8",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "^5.0.4" "typescript": "^5.1.3"
}, },
"dependencies": { "dependencies": {
"axios": "^1.4.0", "axios": "^1.4.0",
"dotenv": "^16.0.3", "dotenv": "^16.1.4",
"n-readlines": "^1.0.1", "n-readlines": "^1.0.1",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"sqlite3": "^5.1.6", "sqlite3": "^5.1.6",
"typeorm": "^0.3.16", "typeorm": "^0.3.16",
"winston": "^3.8.2" "winston": "^3.9.0"
} }
} }