From c90686d21bffdd6f3cad36f62be78752616b9351 Mon Sep 17 00:00:00 2001 From: Saiichi Shayan Hashimoto Date: Tue, 15 Oct 2024 16:16:09 -0500 Subject: [PATCH 1/2] Allow $schema in eas.json --- packages/eas-json/src/schema.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/eas-json/src/schema.ts b/packages/eas-json/src/schema.ts index d92a74e922..2503b5de40 100644 --- a/packages/eas-json/src/schema.ts +++ b/packages/eas-json/src/schema.ts @@ -5,6 +5,7 @@ import { UnresolvedSubmitProfileSchema } from './submit/schema'; import { AppVersionSource } from './types'; export const EasJsonSchema = Joi.object({ + $schema: Joi.string(), cli: Joi.object({ version: Joi.string(), requireCommit: Joi.boolean(), From a8def86f6a880d1f219f1680f222abc4203e508d Mon Sep 17 00:00:00 2001 From: Saiichi Shayan Hashimoto Date: Tue, 15 Oct 2024 16:24:14 -0500 Subject: [PATCH 2/2] Add $schema to eas.schema.json --- packages/eas-json/schema/eas.schema.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/eas-json/schema/eas.schema.json b/packages/eas-json/schema/eas.schema.json index 4e080b5273..895b999580 100644 --- a/packages/eas-json/schema/eas.schema.json +++ b/packages/eas-json/schema/eas.schema.json @@ -6,6 +6,9 @@ "updatedAt": "2022-07-18T15:00:00.000Z" }, "properties": { + "$schema": { + "type": "string" + }, "cli": { "$ref": "#/definitions/Cli" },