From bf9afe8703687035182cbaa961190ae9bc58c598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Richter?= Date: Sat, 30 Sep 2023 18:17:34 +0200 Subject: [PATCH] fix(schema): add typescript as peerDependency Schema package doesn't compile when installed TS is below 4.7, giving cryptic errors that are hard to track down. See https://discord.com/channels/509848480760725514/1079914294323445975 for context --- packages/schema/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/schema/package.json b/packages/schema/package.json index 0b4ff69ffd..c62e4525f8 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -73,5 +73,8 @@ "shx": "^0.3.4", "typescript": "^5.2.2" }, + "peerDependencies": { + "typescript": ">=4.7" + }, "gitHead": "90caf635aec850550b9d37bea2762af959d9e8d5" }