Skip to content

Tree: Cleanup exports#12638

Merged
CraigMacomber merged 1 commit into
microsoft:mainfrom
CraigMacomber:modularEncode
Oct 24, 2022
Merged

Tree: Cleanup exports#12638
CraigMacomber merged 1 commit into
microsoft:mainfrom
CraigMacomber:modularEncode

Conversation

@CraigMacomber
Copy link
Copy Markdown
Contributor

Description

Reduces unneeded export (mainly sequence-change-family and misc package level exports).

Note that FieldKinds namespace is removed from package exports because it has not undergone any filtering of its exports. The way it's exported it isn't trivial to remove items that are only needed internally.

@CraigMacomber CraigMacomber requested a review from a team as a code owner October 22, 2022 04:59
@github-actions github-actions Bot added area: dds Issues related to distributed data structures public api change Changes to a public API base: main PRs targeted against main branch labels Oct 22, 2022
import {
SequenceEditBuilder,
Transposed as T,
// eslint-disable-next-line import/no-internal-modules
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have you considered adding an eslint configuration for the test directory which disables this rule?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have. I don't really want to encourage people doing this except for the specific files they are testing, but also suppressing it isn't great either, so I don't feel strongly either way.

@CraigMacomber CraigMacomber merged commit e5e64f4 into microsoft:main Oct 24, 2022
@CraigMacomber CraigMacomber deleted the modularEncode branch October 24, 2022 20:32
sharptrip pushed a commit to sharptrip/FluidFramework that referenced this pull request Oct 28, 2022
## Description

Reduces unneeded export (mainly sequence-change-family and misc package
level exports).

Note that FieldKinds namespace is removed from package exports because
it has not undergone any filtering of its exports. The way it's exported
it isn't trivial to remove items that are only needed internally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: dds Issues related to distributed data structures base: main PRs targeted against main branch public api change Changes to a public API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants