From a0bb34cee12fcabe2214b9a4f813d8c49abedd31 Mon Sep 17 00:00:00 2001 From: Ans Date: Fri, 27 Sep 2024 11:51:10 -0400 Subject: [PATCH] Adjust release-it config --- package.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dce3dd154..5975d1fb2 100644 --- a/package.json +++ b/package.json @@ -99,6 +99,7 @@ }, "release-it": { "git": { + "requireBranch": "main", "changelog": "auto-changelog", "commitsPath": "packages/cfpb-design-system", "requireCommits": true @@ -106,10 +107,17 @@ "hooks": { "after:bump": "auto-changelog -p" }, + "npm": { + "versionArgs": [ + "--workspaces=true" + ], + "publishArgs": [ + "--publish-path=packages/cfpb-design-system" + ] + }, "github": { "release": true } }, - "type": "module", - "version": "3.2.1" + "type": "module" }