electrode-native
electrode-native copied to clipboard
no recipe for concurrent development of an api + api-impl + miniapp
problem
there is not a nice developer UX/workflow centered around developing and iterating on apis. specifically, if i change api A
, it reasons that the change may also need to be reflected in api impl A_IMPL
. i can link these together using traditional npm link
, but when it comes to ern link add
'ing them into a miniapp to explore and test their net behavior in a RN context, running the miniapp results in errors such as:
ern start --miniapps <...>
...
✖ Linking packages 20s
✖ An error occurred: ENOENT: no such file or directory, stat '/var/folders/b2/_t0w_hyn6jz28xm301k2qp81c9b83j/T/tm
p-16250O4KmXByjcngJ/node_modules/<A_IMPL>/node_modules/<A>'
--jsApiImpls
suffers the same failure mode
discussion
how can we update ern start
to more gracefully handle linked packages?