From 16cc09ff518ac888fefc101f835c949369db38bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Hoyer?= Date: Tue, 13 Dec 2022 05:57:51 -0300 Subject: [PATCH] fix(schema): add the other format changelogPreset can assume (#3441) --- 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 606ef66172a..1a6416a9c8c 100644 --- a/core/lerna/schemas/lerna-schema.json +++ b/core/lerna/schemas/lerna-schema.json @@ -1674,7 +1674,12 @@ "description": "During `lerna version`, version changed packages as prereleases 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": {