triniwiz / nativescript-plugins

Apache License 2.0
79 stars 50 forks source link

Monorepo using NativeScript 7 (rather than NativeScript 8) causing type conflicts in NativeScript 8 demo apps #62

Open shirakaba opened 3 years ago

shirakaba commented 3 years ago

This is not a blocker, but does cause a lot of typings complaints in the demo app and around parts of the YogaLayout plugin.

e.g. since NativeScript 7:

I understand that there are a large number of plugins to maintain in this repo, so solving this problem might actually have detrimental consequences (i.e. migrating to NativeScript 8 may break compatibility with all of them).

Perhaps a middle ground would be for at least the YogaLayout component to specify NativeScript 8 in its package.json. Or we just keep this on the radar for the long-term.

triniwiz commented 3 years ago

The repo will be upgraded soon, I'm waiting on an issue to be resolved with how the packages are linked 😀