Skip to content

Commit

Permalink
chore: update to graphql v16 (#2695)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko authored Jul 14, 2022
1 parent 6a01bda commit de0980f
Show file tree
Hide file tree
Showing 22 changed files with 10,777 additions and 2,193 deletions.
7 changes: 7 additions & 0 deletions .changeset/wicked-pigs-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@commercetools-frontend/application-shell': minor
'@commercetools-frontend/application-shell-connectors': minor
'@commercetools-frontend/mc-scripts': minor
---

Update dependency `graphql` to `v16`.
2 changes: 1 addition & 1 deletion codegen.core.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
schema:
- '${MC_GRAPHQL_API_URL}/graphql':
- '${MC_API_URL}/graphql':
headers:
Cookie: mcAccessToken=${MC_ACCESS_TOKEN}
X-Graphql-Target: administration
Expand Down
2 changes: 1 addition & 1 deletion codegen.ctp.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
schema:
- '${MC_GRAPHQL_API_URL}/graphql':
- '${MC_API_URL}/graphql':
headers:
Cookie: mcAccessToken=${MC_ACCESS_TOKEN}
X-Graphql-Target: ctp
Expand Down
2 changes: 1 addition & 1 deletion codegen.mc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
schema:
- '${MC_GRAPHQL_API_URL}/graphql':
- '${MC_API_URL}/graphql':
headers:
X-Graphql-Target: mc
documents: 'packages/**/*.mc.graphql'
Expand Down
2 changes: 1 addition & 1 deletion codegen.settings.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
schema:
- '${MC_GRAPHQL_API_URL}/graphql':
- '${MC_API_URL}/graphql':
headers:
Cookie: mcAccessToken=${MC_ACCESS_TOKEN}
X-Graphql-Target: settings
Expand Down
2 changes: 1 addition & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = {
// Error: An error occurred while adding the reporter at path "/path/to/file".Reporter is not a constructor
//
// For that reason, we move the `--onlyChanged` flag next to it.
'yarn lint:js --reporters=jest-silent-reporter --onlyChanged',
'yarn lint:js --passWithNoTests --reporters=jest-silent-reporter --onlyChanged',
// Always include the `client.d.ts` file.
'tsc-files --noEmit packages/application-config/client.d.ts',
],
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"eslint": "8.15.0",
"eslint-formatter-pretty": "4.1.0",
"eslint-plugin-graphql": "4.0.0",
"graphql": "15.8.0",
"graphql": "16.5.0",
"husky": "7.0.4",
"jest": "27.5.1",
"jest-each": "27.5.1",
Expand Down Expand Up @@ -171,7 +171,6 @@
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"core-js-compat": "^3.22.4",
"graphql": "15.8.0",
"intl-messageformat-parser": "6.4.4"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/application-shell-connectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@types/lodash": "^4.14.181",
"@types/prop-types": "^15.7.5",
"@types/react": "^17.0.44",
"graphql": "15.8.0",
"graphql": "16.5.0",
"lodash": "4.17.21",
"moment-timezone": "^0.5.34",
"prop-types": "15.8.1",
Expand Down
11 changes: 11 additions & 0 deletions packages/application-shell-connectors/src/types/generated/mc.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

1 comment on commit de0980f

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Deploy preview for merchant-center-application-kit ready!

✅ Preview
https://merchant-center-application-mkvsqlje7-commercetools.vercel.app

Built with commit de0980f.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.