Skip to content

move babel config to the babelrc #399

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

Merged
merged 1 commit into from
Jun 10, 2016
Merged

move babel config to the babelrc #399

merged 1 commit into from
Jun 10, 2016

Conversation

lacker
Copy link

@lacker lacker commented Jun 3, 2016

This moves babel config to the babelrc and unincludes it from the npm module.

For most use cases, this shouldn't make any difference. But, some build tools will look through node_modules and barf if there is a package.json with a babel config in there. In particular, jest has a react-native-specific hack that does this. In particular, any project using jest, react-native, and the graphql module doesn't work at the moment. E.g. we had to do a similar thing to fix enzyme. enzymejs/enzyme#311

@lacker
Copy link
Author

lacker commented Jun 3, 2016

(see also fb-internal discussion at https://www.facebook.com/groups/jesting/permalink/1074292982619316/)

@ghost ghost added the CLA Signed label Jun 3, 2016
@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.287% when pulling 2096dc7 on lacker:master into 359ec76 on graphql:master.

@cpojer
Copy link

cpojer commented Jun 4, 2016

@leebyron can you merge this and publish a new release to unblock @lacker?

@leebyron
Copy link
Contributor

leebyron commented Jun 4, 2016

In Paris so off time zone, but will get this in soon. Sorry for the conflict, surprised this hasn't come up as an issue for anyone else before. 

On Fri, Jun 3, 2016 at 5:32 PM -0700, "Christoph Pojer" [email protected] wrote:

@leebyron can you merge this and publish a new release to unblock @lacker?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@leebyron leebyron merged commit 42dcb88 into graphql:master Jun 10, 2016
sogko added a commit to sogko/graphql-js that referenced this pull request Jan 27, 2017
Merge commit '826cba3b76e87dbd25a01db5150f89624adaab32' into sogko/master

* commit '826cba3b76e87dbd25a01db5150f89624adaab32':
  0.6.1
  Fix tests for node v0.10, widen test matrix
  Fix test assertions for validation test when using custom TypeInfo (graphql#395)
  Removes depencency on babel-runtime.
  Upgrade to Flow v0.28.
  More specific return types from methods in Schema
  Only type Scalar config rather than Scalar type, improve schema builder types
  Introduce formal definition of "Thunk" to aid in fixing more issues uncovered by Flow v0.28
  Additional flow issues corrected in anticipation of Flow v0.28
  Fix some flow issues in anticipation of Flow v0.28
  export type InputObjectConfigFieldMapThunk (graphql#411)
  Variable naming follow-up to path generation
  Errors thrown from resolvers have the execution path (graphql#396)
  Update all dependencies, include flow-specific lint handling
  Revert "Update babel-cli and flow-bin package references" (graphql#403)
  move babel config to the babelrc (graphql#399)
  Update babel-cli and flow-bin package references (graphql#388)
  Fix typo (graphql#387)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants