Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: version-bump generator removes beachball disallowedChangeType config #25130

Merged
merged 4 commits into from
Oct 7, 2022

Conversation

ling1726
Copy link
Member

@ling1726 ling1726 commented Oct 7, 2022

Fixes #25116

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 7, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
global-context
createContext
533 B
341 B
global-context
createContextSelector
554 B
348 B
priority-overflow
createOverflowManager
3.001 kB
1.239 kB
react-accordion
Accordion (including children components)
79.037 kB
24.059 kB
react-alert
Alert
84.529 kB
21.171 kB
react-avatar
Avatar
48.828 kB
13.842 kB
react-avatar
AvatarGroup
14.95 kB
5.989 kB
react-avatar
AvatarGroupItem
68.796 kB
19.182 kB
react-badge
Badge
22.6 kB
7.205 kB
react-badge
CounterBadge
23.49 kB
7.489 kB
react-badge
PresenceBadge
24.05 kB
7.067 kB
react-button
Button
36.69 kB
9.818 kB
react-button
CompoundButton
43.715 kB
11.036 kB
react-button
MenuButton
39.384 kB
10.72 kB
react-button
SplitButton
46.83 kB
12.102 kB
react-button
ToggleButton
52.557 kB
11.29 kB
react-card
Card - All
67.17 kB
19.281 kB
react-card
Card
62.852 kB
18.198 kB
react-card
CardFooter
8.561 kB
3.601 kB
react-card
CardHeader
9.604 kB
3.94 kB
react-card
CardPreview
8.662 kB
3.656 kB
react-combobox
Combobox (including child components)
75.071 kB
24.394 kB
react-combobox
Dropdown (including child components)
74.799 kB
24.352 kB
react-components
react-components: Button, FluentProvider & webLightTheme
62.781 kB
17.574 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
189.227 kB
52.474 kB
react-components
react-components: FluentProvider & webLightTheme
33.4 kB
11.008 kB
react-dialog
Dialog (including children components)
82.465 kB
24.447 kB
react-divider
Divider
16.459 kB
5.902 kB
react-image
Image
10.78 kB
4.264 kB
react-infobutton
InfoButton
7.696 kB
3.241 kB
react-input
Input
23.762 kB
7.706 kB
react-label
Label
9.338 kB
3.86 kB
react-link
Link
11.806 kB
4.868 kB
react-menu
Menu (including children components)
116.558 kB
35.725 kB
react-menu
Menu (including selectable components)
119.627 kB
36.246 kB
react-overflow
hooks only
10.75 kB
4.125 kB
react-persona
Persona
53.946 kB
15.225 kB
react-popover
Popover
102.756 kB
31.5 kB
react-portal
Portal
10.582 kB
3.875 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
react-positioning
usePositioning
19.7 kB
7.404 kB
react-progress
Progress
11.302 kB
4.549 kB
react-provider
FluentProvider
15.761 kB
5.885 kB
react-radio
Radio
36.39 kB
12.103 kB
react-radio
RadioGroup
14.248 kB
5.7 kB
react-select
Select
20.846 kB
7.346 kB
react-slider
Slider
31.759 kB
10.064 kB
react-spinbutton
SpinButton
44.102 kB
12.425 kB
react-spinner
Spinner
19.977 kB
6.438 kB
react-switch
Switch
33.342 kB
10.557 kB
react-text
Text - Default
11.782 kB
4.605 kB
react-text
Text - Wrappers
15.092 kB
5.044 kB
react-textarea
Textarea
25.018 kB
8.133 kB
react-theme
Single theme token import
69 B
89 B
react-theme
Teams: all themes
29.65 kB
6.444 kB
react-theme
Teams: Light theme
17.486 kB
5.057 kB
react-tooltip
Tooltip
41.566 kB
14.644 kB
react-utilities
SSRProvider
180 B
159 B
🤖 This report was generated against d59683655d4d2a3775df4a2b41a09504cddd72ad

@size-auditor
Copy link

size-auditor bot commented Oct 7, 2022

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: d59683655d4d2a3775df4a2b41a09504cddd72ad (build)


// nightly releases should bypass beachball disallowed changetypes
if (schema.bumpType === 'nightly' && packageJson.beachball?.disallowedChangeTypes) {
packageJson.beachball.disallowedChangeTypes = undefined;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets get rid of it completely

Suggested change
packageJson.beachball.disallowedChangeTypes = undefined;
delete packageJson.beachball.disallowedChangeTypes

@@ -31,6 +31,9 @@ export interface PackageJson {
devDependencies?: Record<string, string>;
peerDependencies?: Record<string, string>;
exports?: Record<string, string | Partial<{ types: string; import: string; require: string }>>;
beachball?: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: can we extract these tool specific to separate interface and extend PackageJson ? I mean "beachball" is definitely not a standard package.json property

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 7, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 9b5a40b:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 7, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1280 1274 5000
Button mount 938 939 5000
FluentProvider mount 1489 1503 5000
FluentProviderWithTheme mount 584 589 10
FluentProviderWithTheme virtual-rerender 538 553 10
FluentProviderWithTheme virtual-rerender-with-unmount 575 579 10
MakeStyles mount 1936 1930 50000
SpinButton mount 2358 2313 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 7, 2022

Perf Analysis (@fluentui/react-northstar)

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
VideoMinimalPerf.default 885 789 1.12:1
AlertMinimalPerf.default 305 275 1.11:1
AccordionMinimalPerf.default 170 158 1.08:1
GridMinimalPerf.default 374 347 1.08:1
AttachmentSlotsPerf.default 1243 1176 1.06:1
ButtonMinimalPerf.default 194 183 1.06:1
CardMinimalPerf.default 615 581 1.06:1
DialogMinimalPerf.default 863 813 1.06:1
FlexMinimalPerf.default 313 296 1.06:1
AttachmentMinimalPerf.default 176 167 1.05:1
ChatWithPopoverPerf.default 402 383 1.05:1
ImageMinimalPerf.default 438 417 1.05:1
TreeWith60ListItems.default 181 173 1.05:1
AvatarMinimalPerf.default 218 209 1.04:1
BoxMinimalPerf.default 376 363 1.04:1
LayoutMinimalPerf.default 393 377 1.04:1
ToolbarMinimalPerf.default 1034 996 1.04:1
CarouselMinimalPerf.default 502 486 1.03:1
ChatDuplicateMessagesPerf.default 286 278 1.03:1
RadioGroupMinimalPerf.default 496 482 1.03:1
SkeletonMinimalPerf.default 382 370 1.03:1
ChatMinimalPerf.default 784 769 1.02:1
CheckboxMinimalPerf.default 2282 2261 1.01:1
LabelMinimalPerf.default 410 405 1.01:1
ListWith60ListItems.default 674 665 1.01:1
RosterPerf.default 2373 2352 1.01:1
ProviderMergeThemesPerf.default 1291 1273 1.01:1
TableMinimalPerf.default 432 429 1.01:1
DatepickerMinimalPerf.default 6210 6186 1:1
DropdownManyItemsPerf.default 725 726 1:1
DropdownMinimalPerf.default 2820 2821 1:1
HeaderMinimalPerf.default 388 387 1:1
MenuButtonMinimalPerf.default 1848 1849 1:1
PortalMinimalPerf.default 166 166 1:1
SliderMinimalPerf.default 1715 1722 1:1
TreeMinimalPerf.default 859 857 1:1
ButtonOverridesMissPerf.default 1433 1443 0.99:1
DividerMinimalPerf.default 407 413 0.99:1
EmbedMinimalPerf.default 3988 4031 0.99:1
HeaderSlotsPerf.default 827 838 0.99:1
LoaderMinimalPerf.default 708 717 0.99:1
SplitButtonMinimalPerf.default 4780 4807 0.99:1
StatusMinimalPerf.default 755 762 0.99:1
IconMinimalPerf.default 700 709 0.99:1
TableManyItemsPerf.default 2083 2097 0.99:1
TextMinimalPerf.default 369 374 0.99:1
CustomToolbarPrototype.default 2769 2796 0.99:1
ItemLayoutMinimalPerf.default 1331 1364 0.98:1
ListMinimalPerf.default 555 567 0.98:1
ListNestedPerf.default 610 621 0.98:1
MenuMinimalPerf.default 902 917 0.98:1
PopupMinimalPerf.default 656 667 0.98:1
AnimationMinimalPerf.default 551 570 0.97:1
InputMinimalPerf.default 1191 1231 0.97:1
ProviderMinimalPerf.default 400 412 0.97:1
ReactionMinimalPerf.default 409 422 0.97:1
SegmentMinimalPerf.default 376 388 0.97:1
FormMinimalPerf.default 438 458 0.96:1
ButtonSlotsPerf.default 602 634 0.95:1
ListCommonPerf.default 698 731 0.95:1
TextAreaMinimalPerf.default 547 578 0.95:1
RefMinimalPerf.default 224 238 0.94:1
TooltipMinimalPerf.default 2489 2750 0.91:1

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 7, 2022

Perf Analysis (@fluentui/react)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
BaseButton mount 1226 1224 5000
Breadcrumb mount 2998 2991 1000
Checkbox mount 2679 2663 5000
CheckboxBase mount 2396 2363 5000
ChoiceGroup mount 4294 4277 5000
ComboBox mount 1173 1189 1000
CommandBar mount 9735 9574 1000
ContextualMenu mount 12268 12393 1000
DefaultButton mount 1382 1372 5000
DetailsRow mount 3425 3434 5000
DetailsRowFast mount 3409 3391 5000
DetailsRowNoStyles mount 3252 3302 5000
Dialog mount 2986 2986 1000
DocumentCardTitle mount 584 584 1000
Dropdown mount 3180 3184 5000
FocusTrapZone mount 1961 1973 5000
FocusZone mount 1911 1940 5000
GroupedList mount 50795 56869 2
GroupedList virtual-rerender 23960 23953 2
GroupedList virtual-rerender-with-unmount 85062 100982 2
GroupedListV2 mount 564 578 2
GroupedListV2 virtual-rerender 531 529 2
GroupedListV2 virtual-rerender-with-unmount 553 570 2
IconButton mount 1810 1785 5000
Label mount 772 766 5000
Layer mount 4160 4176 5000
Link mount 856 873 5000
MenuButton mount 1623 1645 5000
MessageBar mount 2295 2356 5000
Nav mount 3095 3090 1000
OverflowSet mount 1421 1427 5000
Panel mount 2505 2537 1000
Persona mount 1261 1260 1000
Pivot mount 1518 1534 1000
PrimaryButton mount 1504 1494 5000
Rating mount 7059 6970 5000
SearchBox mount 1499 1515 5000
Shimmer mount 2918 2920 5000
Slider mount 2141 2090 5000
SpinButton mount 4243 4290 5000
Spinner mount 850 836 5000
SplitButton mount 2831 2848 5000
Stack mount 902 899 5000
StackWithIntrinsicChildren mount 2276 2248 5000
StackWithTextChildren mount 4932 4942 5000
SwatchColorPicker mount 9562 9535 5000
TagPicker mount 2365 2377 5000
TeachingBubble mount 88905 86239 5000
Text mount 821 810 5000
TextField mount 1607 1544 5000
ThemeProvider mount 1473 1463 5000
ThemeProvider virtual-rerender 1141 1150 5000
ThemeProvider virtual-rerender-with-unmount 2026 2039 5000
Toggle mount 1172 1144 5000
buttonNative mount 543 554 5000

@ling1726 ling1726 enabled auto-merge (squash) October 7, 2022 16:53
@ling1726 ling1726 merged commit 8c0c52e into master Oct 7, 2022
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 10, 2022
* master: (23 commits)
  Revert "chore: screener-run workflow should report to PR (microsoft#25144)" (microsoft#25145)
  chore: screener-run workflow should report to PR (microsoft#25144)
  applying package updates
  fix: The Tooltip should not hide if it gets keyboard focus (microsoft#25138)
  fix: Tooltip should not hide if an element inside it gets focused (microsoft#25140)
  Create react-migration-v8-v9 with shims and stories (microsoft#25121)
  fix: CheckboxField to set a generated ID on the input, to match the label's htmlFor (microsoft#25079)
  feat: Overflow menu should be registered in overflowManager (microsoft#25091)
  fix: version-bump generator removes beachball disallowedChangeType config (microsoft#25130)
  fix: new overflow items should only be enqueued while observing (microsoft#25122)
  fix(script): allow runPublished call from CLI (microsoft#25127)
  feat: add vertical variation for toolbar (microsoft#24940)
  ProgressField implementation and stories (microsoft#25103)
  fix: Dropdown icon layout with no placeholder/value (microsoft#25049)
  chore: add a bundle size fixture (Button, Provider & theme) (microsoft#25113)
  feat: Adding subtle transition between states on Button components (microsoft#25106)
  Revert "chore: screener-run workflow should report to PR (microsoft#25096)" (microsoft#25115)
  chore: screener-run workflow should report to PR (microsoft#25096)
  fix(react-dialog): aria-* properties should be reassignable (microsoft#25092)
  fix(scripts): don't run publish if web-components are affected (microsoft#25095)
  ...
@ling1726 ling1726 deleted the fix/nightly-bumps branch October 10, 2022 13:34
NotWoods pushed a commit to NotWoods/fluentui that referenced this pull request Nov 18, 2022
…nfig (microsoft#25130)

* fix: version-bump generator removes beachball disallowedChangeType config for nightly releases

Fixes microsoft#25116

* update release pipeline to use lage

* dependents shouldn't use carets for nightly

* extract beachball config to separate types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Beachball disallowed changetypes breaks nightly releases
6 participants