chore: update the exporting of services and web components in tooling and match the new pathing in sites #4961
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
📖 Description
This change updates the export for
@alpha
web components and services from the@microsoft/fast-tooling
package so they can be imported from the root location. It also corrects a few mis-typed const names that should be lowercase and it normalizes some file structures for easier exporting.This change affects the Creator site and Explorer site as the pathing has been updated to reflect that these services and web components can now be imported from the root of the package.
Due to issues resulting from exporting web components from the root, jest test have been updated with mock files and the
jest-environment-jsdom-sixteen
package has been added to allow for more modern global methods assumed to be available in browsers.👩💻 Reviewer Notes
It should not be necessary to run the sites as the build gate should break if the pathing is incorrect.
✅ Checklist
General
$ yarn change