upd. deps; add update step to 🥚 install/reinstall

* `npm update` installs the latest version of all dependencies even if a compatible version is already available locally (eg.: gamedig)
This commit is contained in:
Smith
2023-11-03 09:00:52 +01:00
parent 325979dc36
commit c104e763f0
3 changed files with 594 additions and 492 deletions

View File

@@ -4,7 +4,7 @@
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-10-24T16:33:47+00:00",
"exported_at": "2023-11-03T07:50:44+00:00",
"name": "Game Server Watcher",
"author": "a-sync@devs.space",
"description": "A simple discord\/telegram\/slack bot that can be hosted on a free service to monitor your game servers and players in style. \ud83d\ude0e",
@@ -22,7 +22,7 @@
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\napt-get update && apt-get install ca-certificates git -yq --no-install-suggests --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages\r\ncd \/mnt\/server\r\ngit config --global --add safe.directory \/mnt\/server\r\ngit clone https:\/\/github.com\/a-sync\/game-server-watcher.git . || git pull\r\nnpm install && npm run build\r\nnpm prune --omit=dev",
"script": "#!\/bin\/bash\r\napt-get update && apt-get install ca-certificates git -yq --no-install-suggests --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages\r\ncd \/mnt\/server\r\ngit config --global --add safe.directory \/mnt\/server\r\ngit clone https:\/\/github.com\/a-sync\/game-server-watcher.git . || git pull\r\nnpm install && npm update && npm run build\r\nnpm prune --omit=dev",
"container": "node:20-bullseye-slim",
"entrypoint": "bash"
}

1058
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -24,28 +24,28 @@
"license": "AGPL-3.0-or-later",
"dependencies": {
"@commonify/lowdb": "^3.0.0",
"@slack/bolt": "^3.13.3",
"axios": "^1.4.0",
"discord.js": "^14.7.1",
"dotenv": "^16.0.3",
"@slack/bolt": "^3.14.0",
"axios": "^1.6.0",
"discord.js": "^14.13.0",
"dotenv": "^16.3.1",
"gamedig": "^4.1.0",
"grammy": "^1.14.1",
"grammy": "^1.19.2",
"mustache": "^4.2.0"
},
"devDependencies": {
"@types/gamedig": "^4.0.1",
"@types/node": "^16.9.0",
"eslint": "^8.34.0",
"@types/gamedig": "^4.0.4",
"@types/node": "^16.18.60",
"eslint": "^8.52.0",
"nodemon": "^3.0.1",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},
"engines": {
"node": ">=16.9.0"
},
"optionalDependencies": {
"bufferutil": "^4.0.7",
"bufferutil": "^4.0.8",
"erlpack": "github:discord/erlpack",
"utf-8-validate": "^6.0.2",
"zlib-sync": "^0.1.8"
"utf-8-validate": "^6.0.3",
"zlib-sync": "^0.1.9"
}
}