-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(create-component): Replace build:local with new generate-api script #24996
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(create-component): Replace build:local with new generate-api script #24996
Conversation
|
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 3235a65:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: cd88ecf2e2407c308c8364b9167440b9bac171f3 (build) |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1568 | 1584 | 5000 | |
| Button | mount | 1139 | 1162 | 5000 | |
| FluentProvider | mount | 1948 | 1952 | 5000 | |
| FluentProviderWithTheme | mount | 769 | 800 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 729 | 719 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 750 | 774 | 10 | |
| MakeStyles | mount | 2320 | 2316 | 50000 | |
| SpinButton | mount | 3089 | 3066 | 5000 |
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| ChatDuplicateMessagesPerf.default | 228 | 192 | 1.19:1 |
| SkeletonMinimalPerf.default | 285 | 245 | 1.16:1 |
| RefMinimalPerf.default | 176 | 157 | 1.12:1 |
| RadioGroupMinimalPerf.default | 372 | 334 | 1.11:1 |
| VideoMinimalPerf.default | 586 | 533 | 1.1:1 |
| TreeMinimalPerf.default | 668 | 615 | 1.09:1 |
| ButtonMinimalPerf.default | 142 | 131 | 1.08:1 |
| HeaderMinimalPerf.default | 303 | 284 | 1.07:1 |
| ReactionMinimalPerf.default | 305 | 286 | 1.07:1 |
| AlertMinimalPerf.default | 192 | 182 | 1.05:1 |
| AvatarMinimalPerf.default | 160 | 152 | 1.05:1 |
| InputMinimalPerf.default | 958 | 915 | 1.05:1 |
| ChatMinimalPerf.default | 608 | 586 | 1.04:1 |
| GridMinimalPerf.default | 275 | 265 | 1.04:1 |
| TextMinimalPerf.default | 288 | 276 | 1.04:1 |
| HeaderSlotsPerf.default | 596 | 585 | 1.02:1 |
| ImageMinimalPerf.default | 312 | 307 | 1.02:1 |
| ItemLayoutMinimalPerf.default | 965 | 948 | 1.02:1 |
| LoaderMinimalPerf.default | 547 | 537 | 1.02:1 |
| PortalMinimalPerf.default | 140 | 137 | 1.02:1 |
| IconMinimalPerf.default | 585 | 572 | 1.02:1 |
| TooltipMinimalPerf.default | 1967 | 1936 | 1.02:1 |
| DropdownMinimalPerf.default | 2194 | 2176 | 1.01:1 |
| EmbedMinimalPerf.default | 2957 | 2931 | 1.01:1 |
| ListCommonPerf.default | 513 | 506 | 1.01:1 |
| SplitButtonMinimalPerf.default | 3619 | 3572 | 1.01:1 |
| ToolbarMinimalPerf.default | 774 | 765 | 1.01:1 |
| AnimationMinimalPerf.default | 429 | 431 | 1:1 |
| BoxMinimalPerf.default | 279 | 280 | 1:1 |
| DialogMinimalPerf.default | 644 | 644 | 1:1 |
| LabelMinimalPerf.default | 314 | 315 | 1:1 |
| ProviderMergeThemesPerf.default | 1055 | 1055 | 1:1 |
| ProviderMinimalPerf.default | 337 | 338 | 1:1 |
| SegmentMinimalPerf.default | 287 | 286 | 1:1 |
| CustomToolbarPrototype.default | 2256 | 2253 | 1:1 |
| FormMinimalPerf.default | 309 | 313 | 0.99:1 |
| ListNestedPerf.default | 452 | 456 | 0.99:1 |
| ListWith60ListItems.default | 503 | 508 | 0.99:1 |
| MenuMinimalPerf.default | 697 | 701 | 0.99:1 |
| PopupMinimalPerf.default | 531 | 537 | 0.99:1 |
| SliderMinimalPerf.default | 1271 | 1286 | 0.99:1 |
| StatusMinimalPerf.default | 546 | 553 | 0.99:1 |
| TableManyItemsPerf.default | 1511 | 1532 | 0.99:1 |
| ButtonSlotsPerf.default | 451 | 461 | 0.98:1 |
| TableMinimalPerf.default | 327 | 333 | 0.98:1 |
| TextAreaMinimalPerf.default | 390 | 400 | 0.98:1 |
| DatepickerMinimalPerf.default | 4721 | 4857 | 0.97:1 |
| AttachmentSlotsPerf.default | 904 | 945 | 0.96:1 |
| ButtonOverridesMissPerf.default | 1059 | 1102 | 0.96:1 |
| DropdownManyItemsPerf.default | 511 | 532 | 0.96:1 |
| ListMinimalPerf.default | 404 | 420 | 0.96:1 |
| MenuButtonMinimalPerf.default | 1282 | 1336 | 0.96:1 |
| ChatWithPopoverPerf.default | 295 | 309 | 0.95:1 |
| CardMinimalPerf.default | 405 | 432 | 0.94:1 |
| LayoutMinimalPerf.default | 265 | 281 | 0.94:1 |
| RosterPerf.default | 1689 | 1794 | 0.94:1 |
| TreeWith60ListItems.default | 118 | 125 | 0.94:1 |
| CheckboxMinimalPerf.default | 1596 | 1720 | 0.93:1 |
| FlexMinimalPerf.default | 225 | 242 | 0.93:1 |
| AccordionMinimalPerf.default | 114 | 128 | 0.89:1 |
| DividerMinimalPerf.default | 293 | 330 | 0.89:1 |
| CarouselMinimalPerf.default | 327 | 378 | 0.87:1 |
| AttachmentMinimalPerf.default | 105 | 134 | 0.78:1 |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1217 | 1222 | 5000 | |
| Breadcrumb | mount | 3079 | 3068 | 1000 | |
| Checkbox | mount | 2651 | 2639 | 5000 | |
| CheckboxBase | mount | 2367 | 2394 | 5000 | |
| ChoiceGroup | mount | 4393 | 4446 | 5000 | |
| ComboBox | mount | 1226 | 1262 | 1000 | |
| CommandBar | mount | 9946 | 9978 | 1000 | |
| ContextualMenu | mount | 13777 | 13585 | 1000 | |
| DefaultButton | mount | 1372 | 1391 | 5000 | |
| DetailsRow | mount | 3599 | 3631 | 5000 | |
| DetailsRowFast | mount | 3675 | 3580 | 5000 | |
| DetailsRowNoStyles | mount | 3438 | 3460 | 5000 | |
| Dialog | mount | 3104 | 3082 | 1000 | |
| DocumentCardTitle | mount | 586 | 574 | 1000 | |
| Dropdown | mount | 3434 | 3237 | 5000 | |
| FocusTrapZone | mount | 2033 | 2048 | 5000 | |
| FocusZone | mount | 1990 | 1996 | 5000 | |
| GroupedList | mount | 54568 | 61140 | 2 | |
| GroupedList | virtual-rerender | 25782 | 25512 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 95133 | 99584 | 2 | |
| GroupedListV2 | mount | 575 | 551 | 2 | |
| GroupedListV2 | virtual-rerender | 522 | 559 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 561 | 566 | 2 | |
| IconButton | mount | 1946 | 1941 | 5000 | |
| Label | mount | 734 | 755 | 5000 | |
| Layer | mount | 4265 | 4279 | 5000 | |
| Link | mount | 845 | 844 | 5000 | |
| MenuButton | mount | 1675 | 1708 | 5000 | |
| MessageBar | mount | 2388 | 2300 | 5000 | |
| Nav | mount | 3270 | 3320 | 1000 | |
| OverflowSet | mount | 1419 | 1406 | 5000 | |
| Panel | mount | 2571 | 2529 | 1000 | |
| Persona | mount | 1296 | 1293 | 1000 | |
| Pivot | mount | 1660 | 1647 | 1000 | |
| PrimaryButton | mount | 1533 | 1545 | 5000 | |
| Rating | mount | 7010 | 7025 | 5000 | |
| SearchBox | mount | 1529 | 1510 | 5000 | |
| Shimmer | mount | 2873 | 2867 | 5000 | |
| Slider | mount | 2111 | 2097 | 5000 | |
| SpinButton | mount | 4681 | 4764 | 5000 | |
| Spinner | mount | 807 | 815 | 5000 | |
| SplitButton | mount | 3104 | 3083 | 5000 | |
| Stack | mount | 870 | 874 | 5000 | |
| StackWithIntrinsicChildren | mount | 2355 | 2374 | 5000 | |
| StackWithTextChildren | mount | 4816 | 4781 | 5000 | |
| SwatchColorPicker | mount | 10452 | 10467 | 5000 | |
| TagPicker | mount | 2643 | 2701 | 5000 | |
| TeachingBubble | mount | 104728 | 105824 | 5000 | |
| Text | mount | 810 | 794 | 5000 | |
| TextField | mount | 1612 | 1607 | 5000 | |
| ThemeProvider | mount | 1567 | 1543 | 5000 | |
| ThemeProvider | virtual-rerender | 1072 | 1067 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 2141 | 2191 | 5000 | |
| Toggle | mount | 1120 | 1140 | 5000 | |
| buttonNative | mount | 545 | 545 | 5000 |
Issue:
create-componentscript, an error will be thrown since it tries to runbuild:localwhich has been replaced by thegenerate-apiscript in feat: implement internal/alpha/beta/ API removals from package public API surface #23369Changes:
build:localwithgenerate-apiwhen creating a new component withcreate-component.