From eb031b11b424d42469d3312a7d04abe6b0638d93 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 31 Oct 2024 18:04:29 +0000 Subject: [PATCH] fixup! draupnir: init at 2.0.0-beta.8 --- pkgs/by-name/dr/draupnir/hashes.json | 2 +- pkgs/by-name/dr/draupnir/package.json | 15 ++++++++------- pkgs/by-name/dr/draupnir/package.nix | 4 ++-- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/dr/draupnir/hashes.json b/pkgs/by-name/dr/draupnir/hashes.json index f8ec73c940a94e..7e5587463a9ce1 100644 --- a/pkgs/by-name/dr/draupnir/hashes.json +++ b/pkgs/by-name/dr/draupnir/hashes.json @@ -1,3 +1,3 @@ { - "yarn_offline_cache_hash": "sha256-5h8d8LKE9RIWYckbEITkYBGj5MIfScrFZiVbJXZSf+8=" + "yarn_offline_cache_hash": "sha256-V2LzX6wEiKPqYvLfuse7Mypc7hWmLPpIQ1AaAPlcjHw=" } diff --git a/pkgs/by-name/dr/draupnir/package.json b/pkgs/by-name/dr/draupnir/package.json index 0c73708386e022..8266375f030838 100644 --- a/pkgs/by-name/dr/draupnir/package.json +++ b/pkgs/by-name/dr/draupnir/package.json @@ -1,6 +1,6 @@ { "name": "draupnir", - "version": "2.0.0-beta.6", + "version": "2.0.0-beta.8", "description": "A moderation tool for Matrix", "main": "lib/index.js", "repository": "https://github.com/the-draupnir-project/Draupnir.git", @@ -12,7 +12,7 @@ "postbuild": "corepack yarn describe-version", "describe-version": "(git describe > version.txt.tmp && mv version.txt.tmp version.txt) || true && rm -f version.txt.tmp", "remove-tests-from-lib": "rm -rf lib/test/ && cp -r lib/src/* lib/ && rm -rf lib/src/", - "lint": "corepack yarn eslint src test && corepack yarn prettier --check src test", + "lint": "corepack yarn eslint --cache src test && corepack yarn prettier --cache --ignore-unknown --check src test", "start:dev": "corepack yarn build && node --async-stack-traces lib/index.js", "test:unit": "mocha --require './test/tsnode.cjs' --forbid-only 'test/unit/**/*.{ts,tsx}'", "test:unit:single": "mocha --require test/tsnode.cjs", @@ -56,7 +56,7 @@ "@sentry/node": "^7.17.2", "@sentry/tracing": "^7.17.2", "@sinclair/typebox": "0.32.34", - "@the-draupnir-project/interface-manager": "^2.3.0", + "@the-draupnir-project/interface-manager": "2.6.0", "@the-draupnir-project/matrix-basic-types": "^0.2.0", "await-lock": "^2.2.2", "better-sqlite3": "^9.4.3", @@ -68,9 +68,10 @@ "humanize-duration-ts": "^2.1.1", "js-yaml": "^4.1.0", "jsdom": "^24.0.0", - "matrix-appservice-bridge": "^9.0.1", - "matrix-protection-suite": "npm:@gnuxie/matrix-protection-suite@1.3.0", - "matrix-protection-suite-for-matrix-bot-sdk": "npm:@gnuxie/matrix-protection-suite-for-matrix-bot-sdk@1.3.0", + "matrix-appservice-bridge": "^10.3.1", + "matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk", + "matrix-protection-suite": "npm:@gnuxie/matrix-protection-suite@1.7.0", + "matrix-protection-suite-for-matrix-bot-sdk": "npm:@gnuxie/matrix-protection-suite-for-matrix-bot-sdk@1.7.0", "parse-duration": "^1.0.2", "pg": "^8.8.0", "shell-quote": "^1.7.3", @@ -82,7 +83,7 @@ "@vector-im/matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.6.6-element.1" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" }, "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" } diff --git a/pkgs/by-name/dr/draupnir/package.nix b/pkgs/by-name/dr/draupnir/package.nix index 9ac8c17cd18556..30bb545422389e 100644 --- a/pkgs/by-name/dr/draupnir/package.nix +++ b/pkgs/by-name/dr/draupnir/package.nix @@ -19,12 +19,12 @@ let in mkYarnPackage rec { pname = "draupnir"; - version = "2.0.0-beta.6"; + version = "2.0.0-beta.8"; src = fetchFromGitHub { owner = "the-draupnir-project"; repo = "Draupnir"; rev = "v${version}"; - hash = "sha256-s1LWXVwY+7LD7cJtZW7mBLsdpB499zS/nDsJ7qaQDfg="; + hash = "sha256-tc+u1lcgJQ515TpcV3Pmhw8SdWwYSOCkx28d8PNYROI="; }; nativeBuildInputs = [