You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for manually entering change types prepatch/preminor/premajor was added in #944, but those extra change types aren't currently shown in the prompt since this would be perceived as a breaking change.
Some further thought is needed about how to handle these extra change types:
Should they be included by default and removed if needed by disallowedChangeTypes? This seems like unfortunate extra configuration for the more common case where repos don't want the extra prerelease types.
Alternative: add an option like includeAllPrereleaseTypes which makes the extra prerelease types show up by default when prerelease.
#944 also introduced a bug related to demoting disallowed change types, where a type like premajor could be introduced accidentally when the actual desired type is probably patch...
Support for manually entering change types
prepatch/preminor/premajorwas added in #944, but those extra change types aren't currently shown in the prompt since this would be perceived as a breaking change.Some further thought is needed about how to handle these extra change types:
disallowedChangeTypes? This seems like unfortunate extra configuration for the more common case where repos don't want the extra prerelease types.includeAllPrereleaseTypeswhich makes the extra prerelease types show up by default when prerelease.showPrereleaseTypes?: ChangeType[]which makes prerelease versions show up in the prompt even when the current version isn't a prerelease. The prompt should also ask for a prerelease prefix if not specified (Prompt for prerelease suffix if not already specified #21) and there should be a way to specify the prefix without globally forcing prerelease change types (Odd prereleasePrefix behavior with non-prerelease change types #1098).#944 also introduced a bug related to demoting disallowed change types, where a type like
premajorcould be introduced accidentally when the actual desired type is probablypatch...beachball/src/__tests__/bump/updateRelatedChangeType.test.ts
Lines 240 to 260 in 3b90b07