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

add rnv as dependency to template #1203

Closed
wants to merge 3 commits into from
Closed

Conversation

mihaiblaga89
Copy link
Member

Description

After rnv new CLI says to execute rnv run. This will break core since there's gonna be a mismatch and npx rnv will not work anyway in this state

Added rnv as a dependency to the template itself, that way npx rnv will work out of the box and avoid any core issues.

Copy link
Member

@pavjacko pavjacko left a comment

Choose a reason for hiding this comment

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

we need to make rnv work without relying on template having its own bundled version of rnv. templates should not have any dependencies on their own as they are only used to generate actual dependencies in project. not following this rule can introduce lot of issues with duplicate dependencies (ie RN & its plugins_

@mihaiblaga89
Copy link
Member Author

@pavjacko moved dependency back, added it from rnv new task

@mihaiblaga89
Copy link
Member Author

closing in favour of #1216

@pavjacko pavjacko deleted the fix/rnv_as_template_dep branch February 14, 2024 20:07
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.

None yet

2 participants