Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Align to React version 16.8.3, fix build issues #3098

Merged
merged 9 commits into from
Jun 14, 2019

Conversation

matthargett
Copy link
Contributor

  • Align to React version 16.8.3, used by current stable release 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.

Checklist:

  • If this PR is a new feature, please reference an issue where a consensus about the design was reached (not necessary for small changes)
  • Make sure all of the significant new logic is covered by tests
  • If this was a change that affects the external API used in GitHunt-React, update GitHunt-React and post a link to the PR in the discussion.

… 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.
@apollo-cla
Copy link

@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/

Copy link
Member

@hwillson hwillson left a 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.

packages/all/package.json Show resolved Hide resolved
packages/all/package.json Outdated Show resolved Hide resolved
@matthargett
Copy link
Contributor Author

@hwillson ping? Anything else I need to do for this to be merged?

@hwillson
Copy link
Member

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.

@hwillson hwillson self-assigned this Jun 14, 2019
hwillson added 2 commits June 14, 2019 07:26
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).
Copy link
Member

@hwillson hwillson left a 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!

@hwillson hwillson merged commit fc18c41 into apollographql:release-3.0.0 Jun 14, 2019
@matthargett matthargett deleted the align-react-version branch June 16, 2019 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants