-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore: migrate to nx 17.2 #30187
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
chore: migrate to nx 17.2 #30187
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 1d5f4f4:
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 627 | 617 | 5000 | |
| Button | mount | 304 | 306 | 5000 | |
| Field | mount | 1141 | 1148 | 5000 | |
| FluentProvider | mount | 711 | 697 | 5000 | |
| FluentProviderWithTheme | mount | 78 | 83 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 64 | 63 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 75 | 67 | 10 | |
| MakeStyles | mount | 884 | 872 | 50000 | |
| Persona | mount | 1715 | 1698 | 5000 | |
| SpinButton | mount | 1389 | 1359 | 5000 |
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| AccordionMinimalPerf.default | 94 | 79 | 1.19:1 |
| AttachmentMinimalPerf.default | 93 | 82 | 1.13:1 |
| LoaderMinimalPerf.default | 198 | 180 | 1.1:1 |
| ChatWithPopoverPerf.default | 210 | 192 | 1.09:1 |
| ChatDuplicateMessagesPerf.default | 170 | 158 | 1.08:1 |
| HeaderMinimalPerf.default | 218 | 201 | 1.08:1 |
| RefMinimalPerf.default | 113 | 106 | 1.07:1 |
| SegmentMinimalPerf.default | 210 | 197 | 1.07:1 |
| ButtonMinimalPerf.default | 91 | 86 | 1.06:1 |
| ListNestedPerf.default | 337 | 318 | 1.06:1 |
| ProviderMinimalPerf.default | 213 | 201 | 1.06:1 |
| GridMinimalPerf.default | 194 | 184 | 1.05:1 |
| InputMinimalPerf.default | 553 | 525 | 1.05:1 |
| ItemLayoutMinimalPerf.default | 731 | 694 | 1.05:1 |
| IconMinimalPerf.default | 395 | 376 | 1.05:1 |
| ButtonOverridesMissPerf.default | 665 | 639 | 1.04:1 |
| ImageMinimalPerf.default | 227 | 218 | 1.04:1 |
| ListCommonPerf.default | 399 | 382 | 1.04:1 |
| ButtonSlotsPerf.default | 328 | 317 | 1.03:1 |
| MenuButtonMinimalPerf.default | 973 | 947 | 1.03:1 |
| TextAreaMinimalPerf.default | 300 | 292 | 1.03:1 |
| TreeMinimalPerf.default | 480 | 467 | 1.03:1 |
| VideoMinimalPerf.default | 466 | 453 | 1.03:1 |
| AttachmentSlotsPerf.default | 665 | 649 | 1.02:1 |
| DialogMinimalPerf.default | 445 | 435 | 1.02:1 |
| HeaderSlotsPerf.default | 473 | 462 | 1.02:1 |
| PopupMinimalPerf.default | 362 | 355 | 1.02:1 |
| RadioGroupMinimalPerf.default | 267 | 263 | 1.02:1 |
| TableManyItemsPerf.default | 1115 | 1088 | 1.02:1 |
| CustomToolbarPrototype.default | 1538 | 1514 | 1.02:1 |
| AvatarMinimalPerf.default | 111 | 110 | 1.01:1 |
| CardMinimalPerf.default | 310 | 306 | 1.01:1 |
| ChatMinimalPerf.default | 435 | 431 | 1.01:1 |
| DropdownMinimalPerf.default | 1417 | 1407 | 1.01:1 |
| FlexMinimalPerf.default | 153 | 152 | 1.01:1 |
| LayoutMinimalPerf.default | 198 | 197 | 1.01:1 |
| ListMinimalPerf.default | 320 | 318 | 1.01:1 |
| MenuMinimalPerf.default | 502 | 497 | 1.01:1 |
| SliderMinimalPerf.default | 742 | 733 | 1.01:1 |
| StatusMinimalPerf.default | 399 | 395 | 1.01:1 |
| TableMinimalPerf.default | 234 | 232 | 1.01:1 |
| BoxMinimalPerf.default | 190 | 190 | 1:1 |
| DatepickerMinimalPerf.default | 3902 | 3921 | 1:1 |
| DropdownManyItemsPerf.default | 402 | 401 | 1:1 |
| TooltipMinimalPerf.default | 1269 | 1268 | 1:1 |
| AnimationMinimalPerf.default | 297 | 301 | 0.99:1 |
| CheckboxMinimalPerf.default | 1130 | 1140 | 0.99:1 |
| FormMinimalPerf.default | 222 | 225 | 0.99:1 |
| RosterPerf.default | 1557 | 1576 | 0.99:1 |
| CarouselMinimalPerf.default | 256 | 260 | 0.98:1 |
| DividerMinimalPerf.default | 208 | 212 | 0.98:1 |
| EmbedMinimalPerf.default | 1855 | 1892 | 0.98:1 |
| ProviderMergeThemesPerf.default | 650 | 664 | 0.98:1 |
| ReactionMinimalPerf.default | 218 | 222 | 0.98:1 |
| AlertMinimalPerf.default | 150 | 154 | 0.97:1 |
| SplitButtonMinimalPerf.default | 2273 | 2340 | 0.97:1 |
| SkeletonMinimalPerf.default | 192 | 201 | 0.96:1 |
| ToolbarMinimalPerf.default | 531 | 552 | 0.96:1 |
| PortalMinimalPerf.default | 82 | 86 | 0.95:1 |
| TextMinimalPerf.default | 188 | 197 | 0.95:1 |
| ListWith60ListItems.default | 343 | 369 | 0.93:1 |
| TreeWith60ListItems.default | 85 | 93 | 0.91:1 |
| LabelMinimalPerf.default | 216 | 239 | 0.9:1 |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 615 | 626 | 5000 | |
| Breadcrumb | mount | 1672 | 1660 | 1000 | |
| Checkbox | mount | 1674 | 1679 | 5000 | |
| CheckboxBase | mount | 1515 | 1498 | 5000 | |
| ChoiceGroup | mount | 2989 | 2942 | 5000 | |
| ComboBox | mount | 655 | 638 | 1000 | |
| CommandBar | mount | 6175 | 6177 | 1000 | |
| ContextualMenu | mount | 12236 | 12409 | 1000 | |
| DefaultButton | mount | 741 | 761 | 5000 | |
| DetailsRow | mount | 2176 | 2166 | 5000 | |
| DetailsRowFast | mount | 2209 | 2205 | 5000 | |
| DetailsRowNoStyles | mount | 2010 | 2007 | 5000 | |
| Dialog | mount | 2827 | 2669 | 1000 | |
| DocumentCardTitle | mount | 214 | 224 | 1000 | |
| Dropdown | mount | 1989 | 1960 | 5000 | |
| FocusTrapZone | mount | 1125 | 1138 | 5000 | |
| FocusZone | mount | 1067 | 1077 | 5000 | |
| GroupedList | mount | 41923 | 41984 | 2 | |
| GroupedList | virtual-rerender | 20093 | 20171 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 51256 | 56605 | 2 | |
| GroupedListV2 | mount | 224 | 221 | 2 | |
| GroupedListV2 | virtual-rerender | 210 | 209 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 223 | 218 | 2 | |
| IconButton | mount | 1126 | 1082 | 5000 | |
| Label | mount | 329 | 341 | 5000 | |
| Layer | mount | 2724 | 2706 | 5000 | |
| Link | mount | 382 | 390 | 5000 | |
| MenuButton | mount | 931 | 915 | 5000 | |
| MessageBar | mount | 21383 | 21313 | 5000 | |
| Nav | mount | 1974 | 1909 | 1000 | |
| OverflowSet | mount | 776 | 789 | 5000 | |
| Panel | mount | 1798 | 1843 | 1000 | |
| Persona | mount | 721 | 728 | 1000 | |
| Pivot | mount | 889 | 854 | 1000 | |
| PrimaryButton | mount | 836 | 840 | 5000 | |
| Rating | mount | 4632 | 4631 | 5000 | |
| SearchBox | mount | 918 | 928 | 5000 | |
| Shimmer | mount | 1898 | 1875 | 5000 | |
| Slider | mount | 1342 | 1341 | 5000 | |
| SpinButton | mount | 2844 | 2866 | 5000 | |
| Spinner | mount | 379 | 375 | 5000 | |
| SplitButton | mount | 1859 | 1854 | 5000 | |
| Stack | mount | 406 | 426 | 5000 | |
| StackWithIntrinsicChildren | mount | 864 | 861 | 5000 | |
| StackWithTextChildren | mount | 2584 | 2574 | 5000 | |
| SwatchColorPicker | mount | 6110 | 6104 | 5000 | |
| TagPicker | mount | 1488 | 1485 | 5000 | |
| Text | mount | 372 | 372 | 5000 | |
| TextField | mount | 952 | 924 | 5000 | |
| ThemeProvider | mount | 834 | 837 | 5000 | |
| ThemeProvider | virtual-rerender | 581 | 587 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1276 | 1285 | 5000 | |
| Toggle | mount | 607 | 603 | 5000 | |
| buttonNative | mount | 192 | 203 | 5000 |
🕵 fluentuiv9 No visual regressions between this PR and main |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 3b10c5e8637ad42b0943ab8e1f0a47804483d3b5 (build) |
7fe073d to
8a5b79a
Compare
5cae454 to
6f59130
Compare
…retrieve nx json + package.json metadata
…ling work with TSpath aliases starting esbuild v0.18
6f59130 to
1d5f4f4
Compare
🕵 fluentuiv8 No visual regressions between this PR and main |
🕵 FluentUIV0 No visual regressions between this PR and main |
* master: (166 commits) Remove v0 dependency from v0 compat package (microsoft#30276) applying package updates Disallow `window` and `document` access for `@fluentui/react` and related packages. (microsoft#30063) Update Rating api and stories (microsoft#30092) TeachingPopover: Minor style changes (microsoft#30270) feat(scripts-gulp): replace lerna with nx (microsoft#30266) ci: remove canary and nightly functionality from northstar (microsoft#30264) List: Re-initialize on mount in React 18. (microsoft#29881) feat(scripts-monorepo): replace lerna/utils with pure nx apis (microsoft#30178) chore: remove react-timepicker-compat-preview (microsoft#30263) applying package updates feat(TimePicker-compat): stable release (microsoft#30217) feat: Implement onPositioningEnd callback (microsoft#30177) applying package updates v8 registerIcons compat (microsoft#30003) Adding Planner, ToDoItem and updated Project filetype icons. Updating FabricCDN url to latest datecode. (microsoft#30079) Scaffolds more Nav components (microsoft#30227) chore: migrate to nx 17.2 (microsoft#30187) applying package updates feat: Update position when target or container dimensions change (microsoft#30179) ...
Previous Behavior
New Behavior
Release announcements:
Additional package migrations:
scripts-test-ssr(check https://github.com/microsoft/fluentui/pull/30187/files#diff-a1e4ce545b45eb5764cb797ecc937f623c23fbfd3e12c7c89e2b4d7374ef59b6)API changes:
npmScopeis no longer provided byreadNxJsonAPI. This PR introduces 2 new custom APIsgetWorkspaceConfiggetProjectNameWithoutScoperegisterTsProjectimport path changed. Also there is new API, so this PR migrates to use the non deprecated versionmovegenerator fixed bugs from past iterations and also now fully embracesProjectNameAndRootFormat. our custommovegenerator needed to be updated as usingderivedwont work if projects name use our npm scope. This will be refactored later on ( normalizing all project names to not include npm scope )Related Issue(s)