Skip to content

Commit

Permalink
Merge pull request #845 from Shopify/api-version-2021-07
Browse files Browse the repository at this point in the history
Update Storefront API to version 2021-07
  • Loading branch information
swalkinshaw authored Aug 30, 2021
2 parents d859e6c + 2888d82 commit 5e4404c
Show file tree
Hide file tree
Showing 6 changed files with 8,175 additions and 4,780 deletions.
2 changes: 1 addition & 1 deletion docs/config.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h1 class="page-title">Source: config.js</h1>
if (attrs.hasOwnProperty('apiVersion')) {
this.apiVersion = attrs.apiVersion;
} else {
this.apiVersion = '2020-07';
this.apiVersion = '2021-07';
}

if (attrs.hasOwnProperty('source')) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"lint": "eslint --max-warnings 0 -c .eslintrc.json $(yarn run lint:reporter-args 2>&1 >/dev/null) src/ test/",
"lint:reporter-args": "test -n \"${CI}\" && >&2 echo -o $CIRCLE_TEST_REPORTS/junit/eslint.xml -f junit",
"print-start-message": "wait-on file:.tmp/test/index.html file:.tmp/test/tests.js tcp:35729 tcp:4200 && echo \"\n\n⚡️⚡️⚡️ Good to go at http://localhost:4200 ⚡️⚡️⚡️\"",
"schema:fetch": "graphql-js-schema-fetch --url 'https://graphql.myshopify.com/api/2020-07/graphql' --header 'Authorization: Basic MzUxYzEyMjAxN2QwZjJhOTU3ZDMyYWU3MjhhZDc0OWM=' | jq '.' > schema.json",
"schema:fetch": "graphql-js-schema-fetch --url 'https://graphql.myshopify.com/api/2021-07/graphql' --header 'Authorization: Basic MzUxYzEyMjAxN2QwZjJhOTU3ZDMyYWU3MjhhZDc0OWM=' | jq '.' > schema.json",
"minify-umd:optimized": "echo \"/*\n$(cat LICENSE.txt)\n*/\" > index.umd.min.js && babel-minify index.umd.js >> index.umd.min.js",
"minify-umd:unoptimized": "echo \"/*\n$(cat LICENSE.txt)\n*/\" > index.unoptimized.umd.min.js && babel-minify index.unoptimized.umd.js >> index.unoptimized.umd.min.js"
},
Expand Down
Loading

0 comments on commit 5e4404c

Please sign in to comment.