From 6ade945e84fe77fbc6bb584d516387239926e0e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Hoyer?= Date: Mon, 28 Nov 2022 13:43:30 -0300 Subject: [PATCH] fix(schema): add the other format changelogPreset can assume This references the version 2.2.0 from the following repository. https://github.com/conventional-changelog/conventional-changelog-config-spec --- core/lerna/schemas/lerna-schema.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/lerna/schemas/lerna-schema.json b/core/lerna/schemas/lerna-schema.json index f052890fe1..cdcd57e8fc 100644 --- a/core/lerna/schemas/lerna-schema.json +++ b/core/lerna/schemas/lerna-schema.json @@ -1691,7 +1691,12 @@ "description": "During `lerna version`, bumps version of changed prereleased packages when using --conventional-commits." }, "changelogPreset": { - "type": "string", + "anyOf": [ + { "type": "string" }, + { + "$ref": "https://raw.githubusercontent.com/conventional-changelog/conventional-changelog-config-spec/master/versions/2.2.0/schema.json" + } + ], "description": "For `lerna version`, the custom conventional-changelog preset." }, "gitRemote": {