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

feat(tools): add exports map support to migrate-converged-pkg generator #25033

Merged

Conversation

Hotell
Copy link
Contributor

@Hotell Hotell commented Sep 30, 2022

Current Behavior

migration generator doesn't provide setup for exports map

New Behavior

migration generator setups exports map including unstable API if present

Related Issue(s)

Fixes partially #25034

@Hotell Hotell changed the title Hotell/nx/udpate pkg exports generator eat(tools): add exports map support to migrate-converged-pkg generator Sep 30, 2022
@Hotell Hotell changed the title eat(tools): add exports map support to migrate-converged-pkg generator feat(tools): add exports map support to migrate-converged-pkg generator Sep 30, 2022
@fabricteam
Copy link
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
189.156 kB
52.385 kB
react-components
react-components: FluentProvider & webLightTheme
33.4 kB
11.008 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
🤖 This report was generated against da8a1d4d97efdb6d95818b605136415d9428e811

@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 cad57a7:

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

@size-auditor
Copy link

size-auditor bot commented Sep 30, 2022

Asset size changes

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

Baseline commit: da8a1d4d97efdb6d95818b605136415d9428e811 (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 1286 1257 5000
Button mount 929 908 5000
FluentProvider mount 1487 1477 5000
FluentProviderWithTheme mount 569 586 10
FluentProviderWithTheme virtual-rerender 540 537 10
FluentProviderWithTheme virtual-rerender-with-unmount 567 579 10
MakeStyles mount 1952 1945 50000
SpinButton mount 2374 2350 5000

@Hotell Hotell marked this pull request as ready for review September 30, 2022 16:04
@Hotell Hotell requested review from a team as code owners September 30, 2022 16:04
@@ -2,7 +2,7 @@
"description": "Separate entrypoint for unstable Fluent UI components",
"main": "../lib-commonjs/unstable/index.js",
"module": "../lib/unstable/index.js",
"typings": "../dist/unstable.d.ts",
"typings": "./../dist/unstable.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.

normalizing path with export maps

@Hotell Hotell merged commit 9f774b9 into microsoft:master Oct 3, 2022
@Hotell Hotell deleted the hotell/nx/udpate-pkg-exports-generator branch October 3, 2022 10:59
GeoffCoxMSFT pushed a commit to GeoffCoxMSFT/fluentui that referenced this pull request Oct 3, 2022
…or (microsoft#25033)

* feat(tools): add exports map support to migrate-converged-pkg generator
* refactor(react-components): normalize relative import for unstable package.json
NotWoods pushed a commit to NotWoods/fluentui that referenced this pull request Nov 18, 2022
…or (microsoft#25033)

* feat(tools): add exports map support to migrate-converged-pkg generator
* refactor(react-components): normalize relative import for unstable package.json
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.

4 participants