From 80f82720fc7ed850f126ae5f23e200881d060134 Mon Sep 17 00:00:00 2001 From: Dennis Jauernig Date: Mon, 19 Sep 2022 17:21:39 +0200 Subject: [PATCH] fix(schema): update schema to align with latest configuration types --- schema/drupal-breakpoints-css.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/schema/drupal-breakpoints-css.json b/schema/drupal-breakpoints-css.json index a854af6..71b2c16 100644 --- a/schema/drupal-breakpoints-css.json +++ b/schema/drupal-breakpoints-css.json @@ -19,6 +19,9 @@ }, "options": { "$ref": "#/definitions/options" + }, + "prettier": { + "$ref": "#/definitions/prettier" } }, "required": ["drupal"] @@ -29,14 +32,14 @@ "type": "object", "additionalProperties": false, "properties": { - "path": { + "breakpointsPath": { "type": "string" }, "themeName": { "type": "string" } }, - "required": ["path", "themeName"] + "required": ["breakpointsPath", "themeName"] }, "js": { "title": "JavaScript configuration", @@ -91,6 +94,17 @@ "type": "boolean" } } + }, + "prettier": { + "title": "Prettier options", + "description": "https://github.com/factorial-io/drupal-breakpoints-css", + "type": "object", + "additionalProperties": false, + "properties": { + "configPath": { + "type": "string" + } + } } } }