chore: unify build:local for all vnext packages#19486
chore: unify build:local for all vnext packages#19486Hotell merged 9 commits intomicrosoft:masterfrom
Conversation
📊 Bundle size reportUnchanged fixtures
|
|
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 8fc6a5c:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 00df799963bbb5e8bbfe8b2244ab2b69d0d86de1 (build) |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 924 | 936 | 5000 | |
| BaseButton | mount | 968 | 961 | 5000 | |
| Breadcrumb | mount | 2630 | 2636 | 1000 | |
| ButtonNext | mount | 444 | 460 | 5000 | |
| Checkbox | mount | 1667 | 1679 | 5000 | |
| CheckboxBase | mount | 1376 | 1463 | 5000 | |
| ChoiceGroup | mount | 5025 | 4930 | 5000 | |
| ComboBox | mount | 983 | 1023 | 1000 | |
| CommandBar | mount | 10500 | 10367 | 1000 | |
| ContextualMenu | mount | 6355 | 6323 | 1000 | |
| DefaultButton | mount | 1218 | 1219 | 5000 | |
| DetailsRow | mount | 3890 | 3849 | 5000 | |
| DetailsRowFast | mount | 3899 | 3897 | 5000 | |
| DetailsRowNoStyles | mount | 3724 | 3660 | 5000 | |
| Dialog | mount | 2188 | 2180 | 1000 | |
| DocumentCardTitle | mount | 146 | 159 | 1000 | |
| Dropdown | mount | 3425 | 3424 | 5000 | |
| FluentProviderNext | mount | 7107 | 7198 | 5000 | |
| FocusTrapZone | mount | 1863 | 1861 | 5000 | |
| FocusZone | mount | 1853 | 1780 | 5000 | |
| IconButton | mount | 1868 | 1847 | 5000 | |
| Label | mount | 342 | 340 | 5000 | |
| Layer | mount | 1915 | 1864 | 5000 | |
| Link | mount | 480 | 485 | 5000 | |
| MakeStyles | mount | 1777 | 1812 | 50000 | |
| MenuButton | mount | 1558 | 1553 | 5000 | |
| MessageBar | mount | 2063 | 2041 | 5000 | |
| Nav | mount | 3379 | 3392 | 1000 | |
| OverflowSet | mount | 1156 | 1098 | 5000 | |
| Panel | mount | 2159 | 2078 | 1000 | |
| Persona | mount | 888 | 887 | 1000 | |
| Pivot | mount | 1432 | 1517 | 1000 | |
| PrimaryButton | mount | 1354 | 1305 | 5000 | |
| Rating | mount | 8245 | 8166 | 5000 | |
| SearchBox | mount | 1404 | 1389 | 5000 | |
| Shimmer | mount | 2696 | 2740 | 5000 | |
| Slider | mount | 2039 | 1960 | 5000 | |
| SpinButton | mount | 5486 | 5182 | 5000 | |
| Spinner | mount | 421 | 424 | 5000 | |
| SplitButton | mount | 3346 | 3327 | 5000 | |
| Stack | mount | 518 | 522 | 5000 | |
| StackWithIntrinsicChildren | mount | 1690 | 1643 | 5000 | |
| StackWithTextChildren | mount | 4864 | 4852 | 5000 | |
| SwatchColorPicker | mount | 10636 | 10717 | 5000 | |
| Tabs | mount | 1498 | 1418 | 1000 | |
| TagPicker | mount | 2705 | 2755 | 5000 | |
| TeachingBubble | mount | 12002 | 12129 | 5000 | |
| Text | mount | 459 | 446 | 5000 | |
| TextField | mount | 1442 | 1470 | 5000 | |
| ThemeProvider | mount | 1205 | 1191 | 5000 | |
| ThemeProvider | virtual-rerender | 608 | 613 | 5000 | |
| Toggle | mount | 830 | 836 | 5000 | |
| buttonNative | mount | 117 | 111 | 5000 |
Perf Analysis (@fluentui/react-northstar)
Perf tests with no regressions
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| AttachmentMinimalPerf.default | 177 | 155 | 1.14:1 |
| AccordionMinimalPerf.default | 180 | 162 | 1.11:1 |
| TextMinimalPerf.default | 390 | 354 | 1.1:1 |
| ChatDuplicateMessagesPerf.default | 317 | 290 | 1.09:1 |
| TreeWith60ListItems.default | 178 | 164 | 1.09:1 |
| ImageMinimalPerf.default | 428 | 397 | 1.08:1 |
| MenuMinimalPerf.default | 937 | 874 | 1.07:1 |
| AnimationMinimalPerf.default | 442 | 418 | 1.06:1 |
| RefMinimalPerf.default | 247 | 234 | 1.06:1 |
| AvatarMinimalPerf.default | 212 | 201 | 1.05:1 |
| FlexMinimalPerf.default | 306 | 292 | 1.05:1 |
| FormMinimalPerf.default | 449 | 429 | 1.05:1 |
| TreeMinimalPerf.default | 870 | 825 | 1.05:1 |
| CardMinimalPerf.default | 610 | 586 | 1.04:1 |
| DropdownManyItemsPerf.default | 746 | 719 | 1.04:1 |
| HeaderMinimalPerf.default | 398 | 384 | 1.04:1 |
| InputMinimalPerf.default | 1307 | 1261 | 1.04:1 |
| PortalMinimalPerf.default | 175 | 169 | 1.04:1 |
| SegmentMinimalPerf.default | 377 | 364 | 1.04:1 |
| VideoMinimalPerf.default | 673 | 647 | 1.04:1 |
| BoxMinimalPerf.default | 371 | 360 | 1.03:1 |
| CarouselMinimalPerf.default | 505 | 491 | 1.03:1 |
| ListNestedPerf.default | 594 | 574 | 1.03:1 |
| ListWith60ListItems.default | 689 | 667 | 1.03:1 |
| LoaderMinimalPerf.default | 749 | 725 | 1.03:1 |
| IconMinimalPerf.default | 654 | 635 | 1.03:1 |
| ButtonOverridesMissPerf.default | 1799 | 1760 | 1.02:1 |
| DialogMinimalPerf.default | 806 | 788 | 1.02:1 |
| DividerMinimalPerf.default | 401 | 393 | 1.02:1 |
| HeaderSlotsPerf.default | 818 | 804 | 1.02:1 |
| LabelMinimalPerf.default | 419 | 411 | 1.02:1 |
| LayoutMinimalPerf.default | 397 | 389 | 1.02:1 |
| PopupMinimalPerf.default | 615 | 604 | 1.02:1 |
| TableManyItemsPerf.default | 2060 | 2023 | 1.02:1 |
| TableMinimalPerf.default | 443 | 435 | 1.02:1 |
| TooltipMinimalPerf.default | 1089 | 1069 | 1.02:1 |
| ChatMinimalPerf.default | 687 | 680 | 1.01:1 |
| ChatWithPopoverPerf.default | 393 | 390 | 1.01:1 |
| DatepickerMinimalPerf.default | 5628 | 5591 | 1.01:1 |
| ItemLayoutMinimalPerf.default | 1316 | 1308 | 1.01:1 |
| ListMinimalPerf.default | 542 | 538 | 1.01:1 |
| CustomToolbarPrototype.default | 3963 | 3941 | 1.01:1 |
| AttachmentSlotsPerf.default | 1111 | 1112 | 1:1 |
| ButtonMinimalPerf.default | 182 | 182 | 1:1 |
| ButtonSlotsPerf.default | 586 | 588 | 1:1 |
| CheckboxMinimalPerf.default | 2838 | 2845 | 1:1 |
| RadioGroupMinimalPerf.default | 460 | 458 | 1:1 |
| ReactionMinimalPerf.default | 401 | 403 | 1:1 |
| SplitButtonMinimalPerf.default | 4033 | 4051 | 1:1 |
| AlertMinimalPerf.default | 290 | 293 | 0.99:1 |
| EmbedMinimalPerf.default | 4266 | 4295 | 0.99:1 |
| TextAreaMinimalPerf.default | 550 | 556 | 0.99:1 |
| ToolbarMinimalPerf.default | 983 | 990 | 0.99:1 |
| DropdownMinimalPerf.default | 3114 | 3176 | 0.98:1 |
| MenuButtonMinimalPerf.default | 1737 | 1764 | 0.98:1 |
| ProviderMinimalPerf.default | 1073 | 1092 | 0.98:1 |
| StatusMinimalPerf.default | 728 | 743 | 0.98:1 |
| GridMinimalPerf.default | 339 | 349 | 0.97:1 |
| ListCommonPerf.default | 681 | 702 | 0.97:1 |
| RosterPerf.default | 1283 | 1316 | 0.97:1 |
| ProviderMergeThemesPerf.default | 1651 | 1700 | 0.97:1 |
| SliderMinimalPerf.default | 1618 | 1667 | 0.97:1 |
| SkeletonMinimalPerf.default | 357 | 374 | 0.95:1 |
…ages build output
5e6859b to
c3a0ed9
Compare
…er packages build output
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "extends": "../../tsconfig.base.json", | |||
| "include": ["__fixtures__/**/code.ts", "src"], | |||
There was a problem hiding this comment.
this violates standardised build outputs when builds are executed with tsc. While we will loose IDE DX/type-checking, those non package implementation (production) files are being checked on CI via type-check for now.
This issue will be properly resolved via #19044
|
|
||
| return args.commonjs | ||
| ? 'ts:commonjs-only' | ||
| ? series('ts:commonjs-only') |
There was a problem hiding this comment.
returning string didn't work -> this was broken (never invoked if user specified --commonjs
|
|
||
| function updateNpmScripts(tree: Tree, options: NormalizedSchema) { | ||
| /* eslint-disable @fluentui/max-len */ | ||
| const scripts = { |
There was a problem hiding this comment.
hoisted updated scripts to one common dictionary for better readability and updated build:local
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
Pull request checklist
[ ] Include a change request file using$ yarn changeDescription of changes
nx migrate-converged-pkg:
build:localscripts in migration generatorvNext packages:
just scripts and other tooling:
rootDirtotsconfig.base.jsonts:compilejust taskbuildjust scriptFocus areas to test
NOTE: