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

chore(deps): update dependency graphql-cli to v4 #1552

Merged
merged 5 commits into from
Aug 24, 2020

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 8, 2020

This PR contains the following updates:

Package Type Update Change
graphql-cli devDependencies major 3.0.14 -> 4.0.0

Release Notes

Urigo/graphql-cli

v4.0.0

Compare Source

  • Support GraphQL v15
  • Support GraphQL Config v3
  • Update every dependency to latest
  • Move shared parts of logic under @graphql-cli scoped packages
  • Use Yargs instead of Commander.js
  • Add validate, coverage, diff and similar commands - GraphQL Inspector
  • Use GraphQL Codegen in codegen command
  • Replace playground with serve command
  • Replace get-schema with introspect command
  • New Plugin System
  • Use Graphback
  • Bug fixes

Renovate configuration

📅 Schedule: "before 3am on Monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the 🤖 Type: Dependencies Dependency updates or something similar label Jun 8, 2020
@changeset-bot
Copy link

changeset-bot bot commented Jun 8, 2020

🦋 Changeset is good to go

Latest commit: ecd9043

We got this.

This PR includes changesets to release 7 packages
Name Type
@commercetools-frontend/application-shell-connectors Patch
@commercetools-frontend/application-shell Patch
@commercetools-frontend/mc-scripts Patch
@commercetools-frontend/permissions Patch
playground Patch
merchant-center-application-template-starter Patch
@commercetools-local/visual-testing-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jun 8, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/commercetools/merchant-center-application-kit/dl1mblxv1
✅ Preview: https://merchant-center-application-kit-git-renovate-graphql-cli-4x.commercetools.vercel.app

@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from 0c58cac to 599efde Compare June 8, 2020 07:57
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from 599efde to 8581050 Compare June 8, 2020 11:41
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from 8581050 to bcddc47 Compare June 10, 2020 15:57
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from bcddc47 to 23e9158 Compare June 15, 2020 05:56
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from 23e9158 to c3c79c1 Compare June 15, 2020 11:38
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from c3c79c1 to 42ca816 Compare June 15, 2020 11:49
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from 42ca816 to e040b8a Compare June 22, 2020 06:58
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from e040b8a to e53a0b6 Compare June 22, 2020 08:05
@renovate renovate bot changed the title chore(deps): update dependency graphql-cli to v4 Update dependency graphql-cli to v4 Jun 26, 2020
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from e53a0b6 to cb0be76 Compare June 29, 2020 07:36
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from 97b600b to d846fff Compare June 29, 2020 12:22
@renovate renovate bot changed the title Update dependency graphql-cli to v4 chore(deps): update dependency graphql-cli to v4 Jun 30, 2020
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from d846fff to 077f6b8 Compare July 6, 2020 05:31
@renovate renovate bot force-pushed the renovate/graphql-cli-4.x branch from 077f6b8 to 090b62a Compare July 6, 2020 05:56
@emmenko
Copy link
Member

emmenko commented Aug 21, 2020

@emmenko emmenko marked this pull request as draft August 21, 2020 14:27
@vercel vercel bot temporarily deployed to Preview August 21, 2020 17:51 Inactive
@@ -0,0 +1,144 @@
module.exports = {
Copy link
Member

Choose a reason for hiding this comment

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

This is now a JS file because we need to use require() to load the graphql schema files

Comment on lines +95 to +142
{
files: ['**/*.mc.graphql'],
rules: {
'graphql/template-strings': [
'error',
{
env: 'literal',
schemaJson: require('./schemas/mc.json'),
},
],
},
},
{
files: ['**/*.ctp.graphql'],
rules: {
'graphql/template-strings': [
'error',
{
env: 'literal',
schemaJson: require('./schemas/ctp.json'),
},
],
},
},
{
files: ['**/*.settings.graphql'],
rules: {
'graphql/template-strings': [
'error',
{
env: 'literal',
schemaJson: require('./schemas/settings.json'),
},
],
},
},
{
files: ['**/*.proxy.graphql'],
rules: {
'graphql/template-strings': [
'error',
{
env: 'literal',
schemaJson: require('./schemas/proxy.json'),
},
],
},
},
Copy link
Member

Choose a reason for hiding this comment

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

This is the new part. See apollographql/eslint-plugin-graphql#246

@@ -0,0 +1,163 @@
projects:
Copy link
Member

Choose a reason for hiding this comment

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

The new config does both schema introspection and types generation.

Comment on lines +5 to +8
'*.mc.graphql': () => 'yarn generate-types:mc',
'*.ctp.graphql': () => 'yarn generate-types:ctp',
'*.settings.graphql': () => 'yarn generate-types:settings',
'*.proxy.graphql': () => 'yarn generate-types:proxy',
Copy link
Member

Choose a reason for hiding this comment

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

@emmenko emmenko marked this pull request as ready for review August 21, 2020 18:09
@vercel vercel bot temporarily deployed to Preview August 21, 2020 18:48 Inactive
@vercel vercel bot temporarily deployed to Preview August 24, 2020 07:09 Inactive
@emmenko emmenko merged commit f23655a into master Aug 24, 2020
@emmenko emmenko deleted the renovate/graphql-cli-4.x branch August 24, 2020 07:27
@ghost ghost mentioned this pull request Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 Type: Dependencies Dependency updates or something similar
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants