From 615a334d5d0a9311eb1046251289ddbe520b6ce0 Mon Sep 17 00:00:00 2001 From: Matej Zidek Date: Sun, 2 Jun 2024 15:13:01 +0200 Subject: [PATCH 1/3] feat: add `includeCommitId` & `changelogCommitBodies` to melos.yaml schema (#48) --- .gitignore | 8 ++++++++ melos.yaml.schema.json | 19 +++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/.gitignore b/.gitignore index f877987..a2f75d4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,11 @@ node_modules out *.vsix +/.idea/codeStyles/codeStyleConfig.xml +/.idea/codeStyles/Project.xml +/.idea/inspectionProfiles/Project_Default.xml +/.idea/.gitignore +/.idea/melos-code.iml +/.idea/misc.xml +/.idea/modules.xml +/.idea/vcs.xml diff --git a/melos.yaml.schema.json b/melos.yaml.schema.json index 73fe66c..d1307ca 100644 --- a/melos.yaml.schema.json +++ b/melos.yaml.schema.json @@ -171,6 +171,25 @@ "type": "boolean", "description": "Whether to generate and print a link to the prefilled release creation page for each package after versioning.\n\nDisabled by default." }, + "includeCommitId": { + "type": "boolean", + "description": "Whether to add short commit ids to commits (no links) in the CHANGELOG.md.\n\nDisabled by default." + }, + "changelogCommitBodies": { + "type": "object", + "description": "Configuration for including commit bodies in the changelog.", + "additionalProperties": false, + "properties": { + "include": { + "type": "boolean", + "description": "Whether to include commit bodies in the changelog.\n\nDefaults to false." + }, + "onlyBreaking": { + "type": "boolean", + "description": "Whether to include only breaking changes in the changelog.\n\nDefaults to true." + } + } + }, "fetchTags": { "type": "boolean", "description": "Whether to fetch tags from the origin remote before versioning.\n\nDefaults to true." From da848024e05db482cce29b22198177b51800b3e0 Mon Sep 17 00:00:00 2001 From: Matej Zidek Date: Thu, 6 Jun 2024 09:46:21 +0200 Subject: [PATCH 2/3] feat: add changelogFormat --- melos.yaml.schema.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/melos.yaml.schema.json b/melos.yaml.schema.json index d1307ca..37e173a 100644 --- a/melos.yaml.schema.json +++ b/melos.yaml.schema.json @@ -190,6 +190,17 @@ } } }, + "changelogFormat": { + "type": "object", + "description": "Configure the format of the generated CHANGELOG.md.", + "additionalProperties": false, + "properties": { + "includeDate": { + "type": "boolean", + "description": "Whether to include the date in the generated CHANGELOG.md.\n\nDefaults to `false`.\n\nWith enabled, changelog entry header will include the date in the `yyyy-MM-dd` format." + } + } + }, "fetchTags": { "type": "boolean", "description": "Whether to fetch tags from the origin remote before versioning.\n\nDefaults to true." From 34c4f6b8ec5b0f9926699a959aac94797d264652 Mon Sep 17 00:00:00 2001 From: Matej Zidek Date: Thu, 6 Jun 2024 09:50:26 +0200 Subject: [PATCH 3/3] format --- melos.yaml.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/melos.yaml.schema.json b/melos.yaml.schema.json index 37e173a..8c53219 100644 --- a/melos.yaml.schema.json +++ b/melos.yaml.schema.json @@ -197,7 +197,7 @@ "properties": { "includeDate": { "type": "boolean", - "description": "Whether to include the date in the generated CHANGELOG.md.\n\nDefaults to `false`.\n\nWith enabled, changelog entry header will include the date in the `yyyy-MM-dd` format." + "description": "Whether to include the date in the generated CHANGELOG.md.\n\nDefaults to false.\n\nWith enabled, changelog entry header will include the date in the yyyy-MM-dd format." } } },