fix(matrix-bots): exclude crypto-nodejs module that fails on Alpine

Use pnpm overrides to replace @matrix-org/matrix-sdk-crypto-nodejs with
an empty package since E2E encryption is not needed for these bots.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-01-28 12:57:12 +01:00
parent f488bd8eab
commit 96e64b2a37
3 changed files with 24 additions and 0 deletions

View file

@ -4,6 +4,14 @@
"description": "Matrix bot for local LLM inference via Ollama - GDPR compliant",
"private": true,
"license": "MIT",
"pnpm": {
"neverBuiltDependencies": [
"@matrix-org/matrix-sdk-crypto-nodejs"
],
"overrides": {
"@matrix-org/matrix-sdk-crypto-nodejs": "npm:empty-npm-package@1.0.0"
}
},
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",

View file

@ -4,6 +4,14 @@
"description": "Matrix bot for project documentation - collect photos and voice notes, generate blog posts (GDPR compliant)",
"private": true,
"license": "MIT",
"pnpm": {
"neverBuiltDependencies": [
"@matrix-org/matrix-sdk-crypto-nodejs"
],
"overrides": {
"@matrix-org/matrix-sdk-crypto-nodejs": "npm:empty-npm-package@1.0.0"
}
},
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",

View file

@ -4,6 +4,14 @@
"description": "Matrix bot for analytics from Umami - GDPR compliant",
"private": true,
"license": "MIT",
"pnpm": {
"neverBuiltDependencies": [
"@matrix-org/matrix-sdk-crypto-nodejs"
],
"overrides": {
"@matrix-org/matrix-sdk-crypto-nodejs": "npm:empty-npm-package@1.0.0"
}
},
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",