We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03cabfe commit 16c73eaCopy full SHA for 16c73ea
package.json
@@ -56,7 +56,7 @@
56
"test:cypress:open": "cypress open",
57
"coverage": "yarn test --coverage",
58
"analyse:unused-exports": "node ./scripts/analyse_unused_exports.js",
59
- "postinstall": "patch-package"
+ "postinstall": "./scripts/apply_patches.sh"
60
},
61
"dependencies": {
62
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.12.tgz",
scripts/apply_patches.sh
@@ -0,0 +1,10 @@
1
+#!/bin/sh
2
+#
3
+# Script to apply the patches in patches directory, using patch-package.
4
+set -e
5
+
6
+for d in patches/*/ ; do
7
+ echo "Patching $d..."
8
+ yarn patch-package --patch-dir "$d"
9
+ echo "...$d done."
10
+done
0 commit comments