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

Rename build-related packages #15615

Merged
merged 19 commits into from
Oct 22, 2020
Merged

Conversation

ecraig12345
Copy link
Member

Part of #13384, moving things to fluentui scope:

  • Rename @uifabric/build to @fluentui/scripts (also matches the folder name)
  • Rename @uifabric/webpack-utils to @fluentui/webpack-utilities
  • Rename @uifabric/test-utilities to @fluentui/test-utilities
  • Rename @uifabric/jest-serializer-merge-styles to @fluentui/jest-serializer-merge-styles

Also since I was already touching the entire world of just configs, I converted them to use actual TS import syntax and converted the task files to be TS not JS.

@DustyTheBot
Copy link

DustyTheBot commented Oct 20, 2020

Warnings
⚠️ There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

Generated by 🚫 dangerJS against 9ca5b3a

@ecraig12345 ecraig12345 force-pushed the rename-build branch 2 times, most recently from befc84d to 85e745b Compare October 20, 2020 18:00
@ecraig12345 ecraig12345 force-pushed the rename-build branch 2 times, most recently from 60134f2 to b84731a Compare October 20, 2020 21:32
@codesandbox-ci
Copy link

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 60134f2:

Sandbox Source
Fluent UI Button Configuration
codesandbox-react-template Configuration
codesandbox-react-northstar-template Configuration

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 20, 2020

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 9ca5b3a:

Sandbox Source
Fluent UI Button Configuration
codesandbox-react-template Configuration
codesandbox-react-northstar-template Configuration

@msft-github-bot
Copy link
Contributor

msft-github-bot commented Oct 21, 2020

Perf Analysis

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 868 866 5000
BaseButtonCompat mount 1001 1008 5000
Breadcrumb mount 160069 161010 5000
Checkbox mount 1607 1571 5000
CheckboxBase mount 1341 1310 5000
ChoiceGroup mount 5054 5107 5000
ComboBox mount 984 994 1000
CommandBar mount 21778 21607 1000
ContextualMenu mount 6159 6206 1000
DefaultButtonCompat mount 1198 1156 5000
DetailsRow mount 3702 3750 5000
DetailsRowFast mount 3733 3762 5000
DetailsRowNoStyles mount 3593 3585 5000
Dialog mount 1619 1580 1000
DocumentCardTitle mount 1788 1825 1000
Dropdown mount 3651 3568 5000
FocusTrapZone mount 1881 1890 5000
FocusZone mount 1853 1848 5000
IconButtonCompat mount 1889 1825 5000
Label mount 350 340 5000
Layer mount 1924 1876 5000
Link mount 503 494 5000
MenuButtonCompat mount 1539 1600 5000
MessageBar mount 2089 2027 5000
Nav mount 3343 3395 1000
OverflowSet mount 1073 1143 5000
Panel mount 1516 1508 1000
Persona mount 904 898 1000
Pivot mount 1464 1457 1000
PrimaryButtonCompat mount 1349 1352 5000
Rating mount 7966 7967 5000
SearchBox mount 1401 1396 5000
Shimmer mount 2738 2759 5000
Slider mount 1972 1976 5000
SpinButton mount 5209 5181 5000
Spinner mount 435 403 5000
SplitButtonCompat mount 3267 3306 5000
Stack mount 533 518 5000
StackWithIntrinsicChildren mount 1686 1634 5000
StackWithTextChildren mount 5070 5079 5000
SwatchColorPicker mount 10679 10686 5000
TagPicker mount 2867 2910 5000
TeachingBubble mount 11646 11883 5000
Text mount 454 481 5000
TextField mount 1474 1426 5000
ThemeProvider mount 2060 2060 5000
ThemeProvider virtual-rerender 642 675 5000
Toggle mount 861 850 5000
button mount 553 575 5000
buttonNative mount 116 121 5000

Perf Analysis (Fluent)

Perf comparison
Status Scenario Fluent TPI Fabric TPI Ratio Iterations Ticks
🎯 Avatar.Fluent 0.49 0.53 0.92:1 2000 975
🦄 Button.Fluent 0.13 0.25 0.52:1 5000 632
🔧 Checkbox.Fluent 0.65 0.39 1.67:1 1000 646
🎯 Dialog.Fluent 0.17 0.24 0.71:1 5000 860
🔧 Dropdown.Fluent 2.99 0.44 6.8:1 1000 2986
🔧 Icon.Fluent 0.16 0.06 2.67:1 5000 782
🦄 Image.Fluent 0.09 0.14 0.64:1 5000 448
🔧 Slider.Fluent 1.67 0.44 3.8:1 1000 1673
🔧 Text.Fluent 0.08 0.03 2.67:1 5000 424
🦄 Tooltip.Fluent 0.12 0.93 0.13:1 5000 608

🔧 Needs work     🎯 On target     🦄 Amazing

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
FormMinimalPerf.default 498 449 1.11:1
RefMinimalPerf.default 267 240 1.11:1
BoxMinimalPerf.default 420 382 1.1:1
AttachmentMinimalPerf.default 189 173 1.09:1
TableMinimalPerf.default 491 450 1.09:1
AnimationMinimalPerf.default 435 401 1.08:1
TextMinimalPerf.default 423 395 1.07:1
TreeWith60ListItems.default 240 225 1.07:1
Text.Fluent 424 397 1.07:1
ChatMinimalPerf.default 676 639 1.06:1
DividerMinimalPerf.default 436 413 1.06:1
SegmentMinimalPerf.default 428 403 1.06:1
ButtonMinimalPerf.default 208 198 1.05:1
PopupMinimalPerf.default 772 732 1.05:1
PortalMinimalPerf.default 174 165 1.05:1
Icon.Fluent 782 748 1.05:1
Avatar.Fluent 975 940 1.04:1
Tooltip.Fluent 608 584 1.04:1
AttachmentSlotsPerf.default 1232 1198 1.03:1
ChatWithPopoverPerf.default 499 483 1.03:1
FlexMinimalPerf.default 329 318 1.03:1
LabelMinimalPerf.default 495 481 1.03:1
ListMinimalPerf.default 588 569 1.03:1
ReactionMinimalPerf.default 490 476 1.03:1
SkeletonMinimalPerf.default 492 477 1.03:1
Image.Fluent 448 436 1.03:1
AvatarMinimalPerf.default 519 509 1.02:1
ButtonOverridesMissPerf.default 1812 1771 1.02:1
CardMinimalPerf.default 634 622 1.02:1
CarouselMinimalPerf.default 488 477 1.02:1
CheckboxMinimalPerf.default 2943 2883 1.02:1
EmbedMinimalPerf.default 2041 1999 1.02:1
ItemLayoutMinimalPerf.default 1421 1391 1.02:1
ListNestedPerf.default 656 640 1.02:1
MenuMinimalPerf.default 972 952 1.02:1
ProviderMergeThemesPerf.default 2087 2050 1.02:1
RadioGroupMinimalPerf.default 507 498 1.02:1
TableManyItemsPerf.default 2421 2369 1.02:1
Dialog.Fluent 860 842 1.02:1
ButtonSlotsPerf.default 637 632 1.01:1
ButtonUseCssNestingPerf.default 1141 1133 1.01:1
StatusMinimalPerf.default 831 823 1.01:1
IconMinimalPerf.default 740 732 1.01:1
TextAreaMinimalPerf.default 555 552 1.01:1
Slider.Fluent 1673 1658 1.01:1
DialogMinimalPerf.default 831 831 1:1
LayoutMinimalPerf.default 480 478 1:1
SplitButtonMinimalPerf.default 4071 4065 1:1
CustomToolbarPrototype.default 3996 3979 1:1
TooltipMinimalPerf.default 925 922 1:1
VideoMinimalPerf.default 697 695 1:1
AlertMinimalPerf.default 333 335 0.99:1
ButtonUseCssPerf.default 889 898 0.99:1
DropdownMinimalPerf.default 2902 2940 0.99:1
GridMinimalPerf.default 397 401 0.99:1
HeaderMinimalPerf.default 422 428 0.99:1
HeaderSlotsPerf.default 850 855 0.99:1
InputMinimalPerf.default 1364 1377 0.99:1
ListWith60ListItems.default 1017 1023 0.99:1
LoaderMinimalPerf.default 796 801 0.99:1
TreeMinimalPerf.default 1010 1016 0.99:1
Dropdown.Fluent 2986 3014 0.99:1
ImageMinimalPerf.default 429 437 0.98:1
MenuButtonMinimalPerf.default 1670 1706 0.98:1
ProviderMinimalPerf.default 1078 1100 0.98:1
SliderMinimalPerf.default 1649 1683 0.98:1
ToolbarMinimalPerf.default 1067 1084 0.98:1
Button.Fluent 632 644 0.98:1
Checkbox.Fluent 646 662 0.98:1
DropdownManyItemsPerf.default 771 798 0.97:1
ChatDuplicateMessagesPerf.default 448 467 0.96:1
AccordionMinimalPerf.default 169 177 0.95:1
ListCommonPerf.default 717 765 0.94:1

@@ -0,0 +1,4 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

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

what's this root tsconfig for?

Copy link
Member Author

Choose a reason for hiding this comment

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

Better type resolution while editing just.config.ts throughout the repo

# Conflicts:
#	apps/a11y-tests/package.json
#	apps/dom-tests/package.json
#	apps/perf-test/package.json
#	apps/public-docsite/package.json
#	apps/ssr-tests/package.json
#	apps/test-bundles/package.json
#	apps/vr-tests/package.json
#	change/@uifabric-foundation-2020-10-11-10-30-57-keco-slots.json
#	packages/azure-themes/package.json
#	packages/common-styles/package.json
#	packages/date-time/package.json
#	packages/date-time/src/components/WeeklyDayPicker/WeeklyDayPicker.test.tsx
#	packages/example-data/package.json
#	packages/fluentui/e2e/package.json
#	packages/fluentui/state/package.json
#	packages/font-icons-mdl2/package.json
#	packages/foundation-legacy/package.json
#	packages/monaco-editor/package.json
#	packages/react-avatar/package.json
#	packages/react-cards/package.json
#	packages/react-charting/package.json
#	packages/react-examples/package.json
#	packages/react-experiments/package.json
#	packages/react-flex/package.json
#	packages/react-focus/package.json
#	packages/react-hooks/package.json
#	packages/react-image/package.json
#	packages/react-internal/package.json
#	packages/react-internal/src/compat/components/Button/Button.test.tsx
#	packages/react-internal/src/components/Shimmer/Shimmer.test.tsx
#	packages/react-link/package.json
#	packages/react-monaco-editor/scripts/copyTypes.ts
#	packages/react-next/package.json
#	packages/react-slider/package.json
#	packages/react-stylesheets/package.json
#	packages/react-theme-provider/package.json
#	packages/react-utilities/package.json
#	packages/react/package.json
#	packages/react/src/components/DetailsList/DetailsList.test.tsx
#	packages/scheme-utilities/package.json
#	packages/theme-samples/package.json
#	packages/utilities/package.json
#	scripts/package.json
@ecraig12345 ecraig12345 merged commit 32a158f into microsoft:master Oct 22, 2020
@ecraig12345 ecraig12345 deleted the rename-build branch October 22, 2020 06:45
@size-auditor
Copy link

size-auditor bot commented Oct 22, 2020

Asset size changes

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

Baseline commit: c6ae2b350037deb4e0bea07cdbdfe2e93455f4b1 (build)

@msft-github-bot
Copy link
Contributor

🎉@fluentui/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

@msft-github-bot
Copy link
Contributor

🎉@fluentui/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

@msft-github-bot
Copy link
Contributor

🎉@fluentui/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

SethDonohue pushed a commit to SethDonohue/fluentui that referenced this pull request Nov 2, 2020
- Rename @uifabric/build to @fluentui/scripts
- Rename @uifabric/webpack-utils to @fluentui/webpack-utilities
- Rename @uifabric/test-utilities to @fluentui/test-utilities
- Rename @uifabric/jest-serializer-merge-styles to @fluentui/jest-serializer-merge-styles
- Convert tasks to TS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants