Skip to content

Conversation

@Ehesp
Copy link
Contributor

@Ehesp Ehesp commented Mar 10, 2020

Summary:

Currently external plugin authors using TS cannot access the cli-types declaration files as they're not published to NPM. This change removes the file exclusion allowing them to be published.

cc @thymikee as discussed on Discord

Copy link
Member

@Salakar Salakar left a comment

Choose a reason for hiding this comment

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

LGTM

@thymikee
Copy link
Member

I'm ok with this (the tradeoff is adding 13.6kB to the download size), but maybe we can make it better with https://github.com/Microsoft/dts-gen, what do you think?

@Ehesp
Copy link
Contributor Author

Ehesp commented Mar 10, 2020

Looks like that tool only generates declaration files from JS, whereas we already have it all typed out.

@thymikee
Copy link
Member

cc @Esemesek if you have better ideas :)

@thymikee thymikee merged commit e092bbe into react-native-community:master Mar 10, 2020
@Ehesp
Copy link
Contributor Author

Ehesp commented Mar 10, 2020

Thanks for merging - is it possible to get a release? :)

@Ehesp Ehesp deleted the patch-2 branch March 10, 2020 13:59
@thymikee
Copy link
Member

Yup, will followup as soon as I can

@thymikee
Copy link
Member

Published v4.3

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.

3 participants