Move remx from devDependencies#7174
Conversation
|
@yogevbd What is the purpose of the mock? Can this be a peer dependency instead? The issue is that this now leaks into all projects that use RNN :( |
|
Also, if the mock is only used in tests then this definitely qualifies as a devDependency |
|
@michaelduminy It allows running render tests with RNN. #7140 The mock isn't used only in RNN tests but in our consumers tests as well. Is there an issue with having remx in your dependencies other than that issue? |
|
Me and @michaelduminy work at the same company so I can answer this. We do not explicit have a problem but this adds a lot of extra work for us and bloating our package.json. Currently we have a big app with a lot of dependencies. We have some checks to see if we get duplicate version of any package, if we do we need to add that version to our Also we do not want to add extra dependencies to our app even tho this likely will not be added in the production build. |
|
I Will move it to peerDependencies and will add: as it required only when using RNN mocks. |
|
Thanks so much @yogevbd! |
|
Happy to help! #7230 |

Since we use
remxas the store in Navigation mock, it is no longer a dev dependency.