π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[desktop] Fix broken nightly builds due to ajv
Manav Rathi571d721925a3
diff --git a/desktop/docs/dependencies.md b/desktop/docs/dependencies.mdindex 8cbf43c83d..7b11a79256 100644--- a/desktop/docs/dependencies.md+++ b/desktop/docs/dependencies.md@@ -95,6 +95,10 @@ Some extra ones specific to the code here are:for allowing us to set environment variables in a way that also works onWindows.+- We don't need `ajv`, but it is a transitive dependency which breaks the+ build if we let its version be resolved via the yarn resolution mechanism.+ Taking a direct dependency on it is the easiest workaround for now.+## Functionality### Format conversiondiff --git a/desktop/package.json b/desktop/package.jsonindex 1a33272037..84fe052bb8 100644--- a/desktop/package.json+++ b/desktop/package.json@@ -45,6 +45,7 @@"@types/auto-launch": "^5.0.5","@types/eslint__js": "^8.42.3","@types/ffmpeg-static": "^3.0.3",+ "ajv": "^8.17.1","concurrently": "^8.2.2","cross-env": "^7.0.3","electron": "^30.4.0",diff --git a/desktop/yarn.lock b/desktop/yarn.lockindex 376d2c3527..1ea4bf759b 100644--- a/desktop/yarn.lock+++ b/desktop/yarn.lock@@ -531,7 +531,7 @@ ajv@^6.10.0, ajv@^6.12.0, ajv@^6.12.4:json-schema-traverse "^0.4.1"uri-js "^4.2.2"-ajv@^8.0.0, ajv@^8.6.3:+ajv@^8.0.0, ajv@^8.17.1, ajv@^8.6.3:version "8.17.1"resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6"integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==