From 55bbb8a761764fa9d4c5f12d881e8764491d20ac Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Thu, 17 Feb 2022 08:26:27 -0800 Subject: [PATCH] Add branch pointing to config instead of package scripts (#5616) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Pull Request ## 📖 Description This change moves the branch specificity to beachball config to allow `yarn change` to target the feature branch and also removes the restriction on "major" change updates. ## ✅ Checklist ### General - [ ] I have included a change request file using `$ yarn change` - [ ] I have added tests for my changes. - [x] I have tested my changes. - [ ] I have updated the project documentation to reflect my changes. - [x] I have read the [CONTRIBUTING](https://github.com/Microsoft/fast/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://www.fast.design/docs/community/code-of-conduct/#our-standards) for this project. --- beachball.config.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/beachball.config.js b/beachball.config.js index 5d2838343b0..220c756cc6f 100644 --- a/beachball.config.js +++ b/beachball.config.js @@ -1,5 +1,5 @@ module.exports = { - disallowedChangeTypes: ["major"], + branch: "origin/features/fast-element-2", ignorePatterns: [ ".ignore", ".github/", diff --git a/package.json b/package.json index c56ec407822..5880331d248 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "scripts": { "bump": "beachball bump", "change": "beachball change", - "checkchange": "beachball check --scope \"!sites/*\" --changehint \"Run 'yarn change' to generate a change file\" -b origin/features/fast-element-2", + "checkchange": "beachball check --scope \"!sites/*\" --changehint \"Run 'yarn change' to generate a change file\"", "check": "beachball check ", "publish": "beachball publish", "publish-ci": "beachball publish -y --access public",