From f60e523ca073480bf06037011339a28be38af341 Mon Sep 17 00:00:00 2001 From: Lennart Date: Thu, 28 Jan 2021 09:57:04 +0100 Subject: [PATCH 1/2] fix(gatsby-plugin-manifest): Fix `or` Joi assertion --- packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js b/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js index 7b4a3a5c499c1..1d15def232694 100644 --- a/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js +++ b/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js @@ -93,10 +93,8 @@ export default function pluginOptionSchema({ Joi }) { platform: platform.required(), url: Joi.string() .uri() - .required() .description(`The URL at which the application can be found.`), id: Joi.string() - .required() .description( `The ID used to represent the application on the specified platform.` ), From 7cbe69bc6e1d6491beb3ae9f084dc042eb456d26 Mon Sep 17 00:00:00 2001 From: LekoArts Date: Thu, 28 Jan 2021 10:53:44 +0100 Subject: [PATCH 2/2] format -.-'' --- packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js b/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js index 1d15def232694..0cbbe47ac29f1 100644 --- a/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js +++ b/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js @@ -94,10 +94,9 @@ export default function pluginOptionSchema({ Joi }) { url: Joi.string() .uri() .description(`The URL at which the application can be found.`), - id: Joi.string() - .description( - `The ID used to represent the application on the specified platform.` - ), + id: Joi.string().description( + `The ID used to represent the application on the specified platform.` + ), min_version: Joi.string() .optional() .description(