Skip to content

refactor: autofix no export star at index file for cxe-prg packages#22124

Merged
Hotell merged 3 commits intomicrosoft:masterfrom
Hotell:hotell/udpate-cxe-prg-no-star-export-pkgs
Mar 16, 2022
Merged

refactor: autofix no export star at index file for cxe-prg packages#22124
Hotell merged 3 commits intomicrosoft:masterfrom
Hotell:hotell/udpate-cxe-prg-no-star-export-pkgs

Conversation

@Hotell
Copy link
Contributor

@Hotell Hotell commented Mar 16, 2022

Current Behavior

New Behavior

Related Issue(s)

Fixes Partially #22099

Remarks

note that because following PR, there was lot of deprecated API introduced #21960 (comment).

This is the reason why our barrel files have deprecation rule being turned off in this PR.

Q: why didn't you turn that rule off in our local eslint configs?
A: because that would trigger this rule during pre-commit phase which is expensive. we have magic in our eslint-config plugin that turns type-aware checks off when run via lint-staged. I cannot easily reproduce the same behaviour per package - needs better API design

@Hotell Hotell changed the title Hotell/udpate cxe prg no star export pkgs refactor: autofix no export star at index file for cxe-prg packages Mar 16, 2022
@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 16, 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 1942c0a:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Mar 16, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-card
Card - All
53.619 kB
15.372 kB
react-card
Card
48.904 kB
14.089 kB
react-card
CardFooter
7.686 kB
3.264 kB
react-card
CardHeader
9.251 kB
3.78 kB
react-card
CardPreview
7.658 kB
3.291 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
176.084 kB
49.112 kB
react-components
react-components: FluentProvider & webLightTheme
32.526 kB
10.645 kB
react-image
Image
10.109 kB
3.958 kB
react-text
Text - Default
10.797 kB
4.233 kB
react-text
Text - Wrappers
14.113 kB
4.576 kB
🤖 This report was generated against df62b071cf725c01cf639e3cf559c99f2ae8cb00

@size-auditor
Copy link

size-auditor bot commented Mar 16, 2022

Asset size changes

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

Baseline commit: df62b071cf725c01cf639e3cf559c99f2ae8cb00 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Mar 16, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 901 876 5000
Button mount 525 532 5000
FluentProvider mount 1889 1699 5000
FluentProviderWithTheme mount 254 262 10
FluentProviderWithTheme virtual-rerender 206 217 10
FluentProviderWithTheme virtual-rerender-with-unmount 319 296 10
MakeStyles mount 1556 1529 50000

@Hotell Hotell marked this pull request as ready for review March 16, 2022 13:36
@Hotell Hotell requested review from a team as code owners March 16, 2022 13:36
@Hotell Hotell merged commit 320b8bb into microsoft:master Mar 16, 2022
@Hotell Hotell deleted the hotell/udpate-cxe-prg-no-star-export-pkgs branch March 16, 2022 20:18
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.

3 participants