Skip to content

feat(v9): migrate checkbox,input,label,link,select to ship rolluped only dts#22793

Merged
Hotell merged 2 commits intomicrosoft:masterfrom
Hotell:hotell/build/migrate-v9-to-rolluped-dts-p3
May 13, 2022
Merged

feat(v9): migrate checkbox,input,label,link,select to ship rolluped only dts#22793
Hotell merged 2 commits intomicrosoft:masterfrom
Hotell:hotell/build/migrate-v9-to-rolluped-dts-p3

Conversation

@Hotell
Copy link
Contributor

@Hotell Hotell commented May 3, 2022

Applied yarn workspace-generator migrate-converged-pkg to ship only rolluped type definitions for:

  • react-checkbox
  • react-input
  • react-label
  • react-link
  • react-select

Related Issue(s)

Fixes partially #22429

@Hotell Hotell changed the title Hotell/build/migrate v9 to rolluped dts p3 feat(v9): migrate checkbox,input,label,link,select to ship rolluped only dts May 3, 2022
@Hotell Hotell mentioned this pull request May 3, 2022
50 tasks
@codesandbox-ci
Copy link

codesandbox-ci bot commented May 3, 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 62278b3:

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

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-radio
Radio
23.556 kB
7.898 kB
23.534 kB
7.892 kB
-22 B
-6 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-radio
RadioGroup
8.205 kB
3.516 kB
react-switch
Switch
24.401 kB
8.024 kB
🤖 This report was generated against 837c5ffda3334356cc26dab37e9b095edc5d3da0

@size-auditor
Copy link

size-auditor bot commented May 3, 2022

Asset size changes

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

Baseline commit: 48dbe4cb1f67a38a4c0a4e0d5282c98741ca16c2 (build)

@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1221 1172 5000
Button mount 734 774 5000
FluentProvider mount 2347 2278 5000
FluentProviderWithTheme mount 382 372 10
FluentProviderWithTheme virtual-rerender 378 313 10
FluentProviderWithTheme virtual-rerender-with-unmount 445 409 10
MakeStyles mount 2005 1924 50000

@Hotell Hotell marked this pull request as ready for review May 3, 2022 15:24
@Hotell Hotell requested review from a team, khmakoto and smhigley as code owners May 3, 2022 15:24
@Hotell Hotell enabled auto-merge (squash) May 3, 2022 17:07
export const decorators = [...rootPreview.decorators];

/** @type {typeof rootPreview.parameters} */
export const parameters = {
Copy link
Member

Choose a reason for hiding this comment

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

This is changing only in react-input, is it intentional?

Copy link
Contributor Author

@Hotell Hotell May 4, 2022

Choose a reason for hiding this comment

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

hmm so I missing the context why there is used such a custom setup needed.

to remind reviewers again, nothing was changed by hand from my side.

If that's configuration has a reasoning I'd suggest to provide that reasoning for future migration runs, so person executing these automations has full context and thus can undo appropriately. Migration generators are not using AST for storybook configs as that's not needed at the moment and to implement it the effort would be non trivial.

hope it makes sense, ty

@Hotell Hotell requested a review from khmakoto May 4, 2022 15:26
@Hotell Hotell merged commit 692e691 into microsoft:master May 13, 2022
marwan38 pushed a commit to marwan38/fluentui that referenced this pull request Jun 13, 2022
…nly dts (microsoft#22793)

* feat(v9): migrate checkbox,input,label,link,select to ship rolluped only dts

* generate change files
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