matrix-alertmanager: fix and re-run update script

The update script wrote the updated dependency files to the wrong
location.
main
Yureka 3 years ago
parent 784fae488c
commit a7a662bf3d
No known key found for this signature in database
GPG Key ID: B95AE06334AFF6BA
  1. 21
      pkgs/servers/monitoring/matrix-alertmanager/package.json
  2. 3
      pkgs/servers/monitoring/matrix-alertmanager/update.nix
  3. 2
      pkgs/servers/monitoring/matrix-alertmanager/yarn-hash
  4. 1950
      pkgs/servers/monitoring/matrix-alertmanager/yarn.lock

@ -1,6 +1,6 @@
{
"name": "matrix-alertmanager",
"version": "0.4.0",
"version": "0.5.0",
"description": "Prometheus Alertmanager bot for Matrix",
"main": "src/app.js",
"scripts": {
@ -10,7 +10,7 @@
},
"repository": {
"type": "git",
"url": "https://git.feneas.org/jaywink/matrix-alertmanager"
"url": "https://github.com/jaywink/matrix-alertmanager"
},
"keywords": [
"matrix",
@ -24,17 +24,18 @@
"author": "Jason Robinson",
"license": "MIT",
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^7.14.0",
"mocha": "^8.2.1",
"nodemon": "^2.0.6",
"sinon": "^9.2.1"
"chai": "^4.3.4",
"eslint": "^7.32.0",
"mocha": "^9.1.1",
"nodemon": "^2.0.12",
"npm-check-updates": "^11.8.5",
"sinon": "^11.1.2"
},
"dependencies": {
"dotenv": "^8.2.0",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"matrix-js-sdk": "^9.2.0",
"striptags": "^3.1.1"
"matrix-js-sdk": "^12.5.0",
"striptags": "^3.2.0"
},
"bin": "src/app.js"
}

@ -7,12 +7,15 @@ writeShellScript "update-matrix-alertmanager" ''
set -xe
export PATH="${lib.makeBinPath [ gnugrep coreutils curl wget jq common-updater-scripts yarn prefetch-yarn-deps ]}"
cd pkgs/servers/monitoring/matrix-alertmanager/
owner="jaywink"
repo="matrix-alertmanager"
version=`curl -s "https://api.github.com/repos/$owner/$repo/tags" | jq -r .[0].name | grep -oP "^v\K.*"`
url="https://raw.githubusercontent.com/$owner/$repo/v$version/"
(
cd ../../../..
update-source-version matrix-alertmanager "$version" --file=pkgs/servers/monitoring/matrix-alertmanager/default.nix
)

@ -1 +1 @@
1yvcm0prk8lxljlnww42pdgzdjdhljkih94hqb0x4cikd2cqgjmp
1vjg0rapdj88ygc00j60w4h5wkaf6jycmlx3fz13xar74ikwrifa

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save