You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if additional APIs are exported from sub-package after the first stable release it's up to the author to expose this from react-components suite ( a manual task that is not always executed as intended ).
To mitigate this out of sync public API of sub-package and suite we need to automate this process.
create sync generator that would be part of generate-api target for react-components suite
@fluentui/workspace-generator:public-api-sync
parse sub-packages barrel file, which is specified as dependency of react-components suite within its package.json
extract export APIs that are marked as @public ( or to mitigate churn on our side we can go other way - extract all apis beside those marked as @private )
emit extracted exports within react-components barel
check in sync functionality:
if emit is different generator will fail (blocking PR etc)
Additional context
No response
Have you discussed this feature with our team
@microsoft/fluentui-react-build
Validations
Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
Priority
Low
The text was updated successfully, but these errors were encountered:
Area
React Components (@fluentui/react-components)
Describe the feature that you would like added
Current process of defining public API of react-components suite is automated only on when propagating preview package to stable
https://github.com/microsoft/fluentui/blob/master/tools/workspace-plugin/src/generators/prepare-initial-release/index.ts#L220-L227
if additional APIs are exported from sub-package after the first stable release it's up to the author to expose this from react-components suite ( a manual task that is not always executed as intended ).
To mitigate this out of sync public API of sub-package and suite we need to automate this process.
Implementation proposal:
generate-api
target for react-components suite@fluentui/workspace-generator:public-api-sync
@public
( or to mitigate churn on our side we can go other way - extract all apis beside those marked as@private
)check in sync functionality:
Additional context
No response
Have you discussed this feature with our team
@microsoft/fluentui-react-build
Validations
Priority
Low
The text was updated successfully, but these errors were encountered: