microsoft / microsoft/beachball

Allow overriding dependentChangeType for a package

Open
#582 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TypeScript
Stars
815
Forks
93
Avg merge
2d 13h
Merged PRs (30d)
12

Description

Motivation: Fluent UI has a custom eslint plugin which is published, and all the packages in our monorepo have it as a dev dependency. However, since it's just a dev dependency, bumping the plugin version should NOT cause the other packages to bump.

Right now we're trying to catch this in PRs and manually override dependentChangeType to none in the change file, but it would be nice if you could do this in that package's beachball settings (in package.json) to force it to always use none:

"beachball": {
  "dependentChangeType": "none"
}  

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating how beachball reads the package.json beachball settings and how dependentChangeType is applied. Add support for configuring dependentChangeType as none in a package's settings, then verify that dev-dependency version bumps do not cause dependent package bumps.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.