Skip to content

Codegen and Libraries which are not inside node_modules #69

Answered by cipolleschi
satya164 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @satya164, Thanks for looking into this. However I don't think we want to support that setup.

IIRC, in that setup you have an external module (the library) which is forced as a dependency manually adding a line like:
pod <your library>, path <path to the folder that contains the podspec>

This is a development setup, which I don't think we would want in production.

For that development purposes, I think that the best solution should be to consider the component as part of the Example app, like we do with the component of packages/rn-tester.
This is a set up that we actually already support in the generate-artifact-executor,js file. This function reads the libraries from the app configur…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@satya164
Comment options

satya164 Aug 11, 2022
Collaborator Author

Comment options

You must be logged in to vote
6 replies
@thymikee
Comment options

@cipolleschi
Comment options

@satya164
Comment options

satya164 Aug 12, 2022
Collaborator Author

@cipolleschi
Comment options

@satya164
Comment options

satya164 Aug 15, 2022
Collaborator Author

Answer selected by cortinico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants