-
Notifications
You must be signed in to change notification settings - Fork 786
Align to React version 16.8.3, fix build issues #3098
Align to React version 16.8.3, fix build issues #3098
Conversation
… of React Native (0.59). Fix build issues on Windows by using 'npx' instead of direct execution. Eliminate dependency warning by using new namespace react testing library.
@matthargett: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff @matthargett, thanks very much! Just one small suggested change (and a question for @benjamn regarding the npx
switch back), then we can get this merged.
loosen React requirement Co-Authored-By: Hugh Willson <[email protected]>
@hwillson ping? Anything else I need to do for this to be merged? |
Thanks again for this @matthargett and don't worry about having to keep this up to date with recent changes. We've been adjusting the way we handle tests, which I know is annoying to have to rebase against. I'll get this in synch with the other changes shortly, and get it merged in. |
Using `npx` within our child packages (and clearing `node_modules` between builds), means that `npx` first re-installs the script it's trying to call, since `npx` won't look in the monorepo parent `node_modules` directory. Needless to say this slows things like testing down. This commit adds the packages we reference via `npx` as dev dependencies in each child package. Yes, we're duplicating a few devDeps, but this way `npx` can find what it's looking for immediately. Renovate will help us keep the child package devDeps up to date, and using `npx` is a better cross platform way of handling scripts (than say using relative file references).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much for working on this @matthargett!
Checklist: