From 145441d55e416500464e42bdb047bedb4bcc6ec6 Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Mon, 22 Nov 2021 17:12:29 +0100 Subject: [PATCH] Updated package sorting --- package.json | 72 +++++++++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index 367033ee..8e3831e4 100644 --- a/package.json +++ b/package.json @@ -479,22 +479,30 @@ "allOf": [ { "if": { - "properties": { - "type": { "const": "taxonomy" } + "properties": { + "type": { + "const": "taxonomy" + } } }, "then": { - "required": ["taxonomyId"] + "required": [ + "taxonomyId" + ] } }, { "if": { - "properties": { - "type": { "const": "choice" } + "properties": { + "type": { + "const": "choice" + } } }, "then": { - "required": ["choices"] + "required": [ + "choices" + ] } } ] @@ -565,6 +573,32 @@ ], "scope": "Taxonomy" }, + "frontMatter.taxonomy.customTaxonomy": { + "type": "array", + "markdownDescription": "Specify the custom taxonomy field data. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.tags)", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID for your taxonomy field" + }, + "options": { + "type": "array", + "description": "Options from which you can pick", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "id", + "options" + ] + }, + "scope": "Taxonomy" + }, "frontMatter.taxonomy.dateField": { "type": "string", "default": "date", @@ -658,32 +692,6 @@ }, "scope": "Taxonomy" }, - "frontMatter.taxonomy.customTaxonomy": { - "type": "array", - "markdownDescription": "Specify the custom taxonomy field values. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.tags)", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID for your taxonomy field" - }, - "options": { - "type": "array", - "description": "Options from which you can pick", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false, - "required": [ - "id", - "options" - ] - }, - "scope": "Taxonomy" - }, "frontMatter.templates.folder": { "type": "string", "default": ".frontmatter/templates",