Skip to content

feat(v9): migrate react-components suite to ship rolluped only dts#22746

Merged
Hotell merged 3 commits intomicrosoft:masterfrom
Hotell:hotell/build/migrate-v9-to-rolluped-dts-rc-suite
May 3, 2022
Merged

feat(v9): migrate react-components suite to ship rolluped only dts#22746
Hotell merged 3 commits intomicrosoft:masterfrom
Hotell:hotell/build/migrate-v9-to-rolluped-dts-rc-suite

Conversation

@Hotell
Copy link
Contributor

@Hotell Hotell commented May 2, 2022

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

  • react-components

From now on, unstable api is processed in same fashion like stable - we generate api.md file on any change 🚀

Related Issue(s)

Fixes partially #22429

@Hotell Hotell changed the title Hotell/build/migrate v9 to rolluped dts rc suite feat(v9): migrate react-components suite to ship rolluped only dts May 2, 2022
@Hotell Hotell mentioned this pull request May 2, 2022
50 tasks
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json",
"mainEntryPointFilePath": "<projectFolder>/dist/types/unstable/index.d.ts",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is needed to process unstable api. thank to this we now have a common approach for unstable apis introduction to any package

@@ -0,0 +1,454 @@
## API Report File for "@fluentui/react-components"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
Copy link
Contributor Author

Choose a reason for hiding this comment

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

new api reported - generated content

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 2, 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 a6cd2f7:

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

@fabricteam
Copy link
Collaborator

fabricteam commented May 2, 2022

📊 Bundle size report

🤖 This report was generated against 2af90d0c5b7c95724a01b71ab9b24d1bd5da2f6d

@fabricteam
Copy link
Collaborator

fabricteam commented May 2, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1134 1082 5000
Button mount 690 674 5000
FluentProvider mount 2247 2289 5000
FluentProviderWithTheme mount 348 357 10
FluentProviderWithTheme virtual-rerender 303 291 10
FluentProviderWithTheme virtual-rerender-with-unmount 376 365 10
MakeStyles mount 1963 1926 50000

@size-auditor
Copy link

size-auditor bot commented May 2, 2022

Asset size changes

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

Baseline commit: 2af90d0c5b7c95724a01b71ab9b24d1bd5da2f6d (build)

@Hotell Hotell marked this pull request as ready for review May 3, 2022 15:30
@Hotell Hotell requested a review from a team as a code owner May 3, 2022 15:30
@Hotell Hotell merged commit 1519a71 into microsoft:master May 3, 2022
@Hotell Hotell deleted the hotell/build/migrate-v9-to-rolluped-dts-rc-suite branch May 3, 2022 15:31
marwan38 pushed a commit to marwan38/fluentui that referenced this pull request Jun 13, 2022
…icrosoft#22746)

* feat(v9): migrate react-components suite to ship rolluped only dts

* generate changefile

* fixup! feat(v9): migrate react-components suite to ship rolluped only dts
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