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

refactor: add @bfc/types package #4336

Merged
merged 15 commits into from
Oct 8, 2020
Merged

Conversation

a-b-r-o-w-n
Copy link
Contributor

@a-b-r-o-w-n a-b-r-o-w-n commented Oct 7, 2020

Description

Extracts shared types from @bfc/shared and @bfc/extension* into a single package that only exports types and interfaces. This package will eventually be published to npm and consumed by the extension packages.

The public interface of @bfc/shared does not change, as it re-exports the types.

Task Item

closes #4274

@coveralls
Copy link

coveralls commented Oct 7, 2020

Coverage Status

Coverage decreased (-0.06%) to 55.548% when pulling ac80dd3 on abrown/extensions/page-api into 8d1fc5a on main.

Copy link
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

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

Minor comments. Other than that, great job, I think this is much cleaner

Copy link
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

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

LGTM! 🚢

@a-b-r-o-w-n a-b-r-o-w-n merged commit 818b60e into main Oct 8, 2020
@a-b-r-o-w-n a-b-r-o-w-n deleted the abrown/extensions/page-api branch October 8, 2020 17:22
@cwhitten cwhitten mentioned this pull request Nov 13, 2020
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* refactor plugin host webpack config

* add bundleId to publish type config

* add types package

* update yarn build:dev and add @bfc/tools to deps

* build client before server

* update imports to use @bfc/types

* fix getBundleForView test

* update remaining extension type references

* fix additionalProperties typing

* add @bfc/ui-shared where missing

* fix extensions controller test

* do not extract comments when bundling react

* apply pr feedback

* update more imports from shared to types

* convert interfaces to types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for one publish extension registering multiple publish UIs
4 participants