Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Commit 4683669

Browse files
committed
Upgrade dependencies
1 parent 05d3515 commit 4683669

File tree

10 files changed

+22821
-8675
lines changed

10 files changed

+22821
-8675
lines changed

‎node-graphql-client/.babelrc‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"presets": [
3-
"shopify/node"
4-
],
2+
"presets": ["@shopify/babel-preset/web"],
53
"plugins": [
64
["add-shopify-header", {"files": [ "src/index.js" ]}],
75
"graphql-js-client-transform"

‎node-graphql-client/.eslintrc.json‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@
88
"comma-dangle": ["error", "never"],
99
"promise/always-return": 0
1010
},
11-
"extends": [
12-
"plugin:shopify/esnext",
13-
"plugin:shopify/mocha"
14-
]
11+
"extends": "plugin:@shopify/esnext"
1512
}

‎node-graphql-client/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This example uses [babel-plugin-graphql-js-client-transform](https://github.com/
1212

1313
```bash
1414
git clone https://github.com/Shopify/storefront-api-examples.git
15-
cd node-js-buy
15+
cd node-graphql-client
1616
yarn install
1717
```
1818

‎node-graphql-client/package.json‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
{
22
"name": "node-graphql-client",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "An example using graphql-js-client built with Node.",
55
"main": "lib/app.js",
66
"license": "MIT",
77
"author": "Shopify Inc.",
88
"dependencies": {
9-
"node-fetch": "^1.6.3"
9+
"node-fetch": "^2.6.1"
1010
},
1111
"devDependencies": {
12-
"babel-cli": "^6.11.4",
13-
"babel-core": "~6.13.2",
14-
"babel-plugin-add-shopify-header": "~1.0.5",
15-
"babel-plugin-graphql-js-client-transform": "^1.1.0",
16-
"babel-preset-shopify": "~13.0.0",
17-
"babel-register": "~6.11.6",
18-
"body-parser": "^1.17.1",
19-
"eslint": "~3.3.1",
20-
"eslint-plugin-shopify": "~14.0.0",
21-
"express": "^4.15.2",
22-
"graphql-js-client": "^0.4.2",
23-
"graphql-js-schema": "^0.5.0",
12+
"@babel/cli": "^7.13.10",
13+
"@babel/core": "^7.13.13",
14+
"@babel/register": "^7.13.8",
15+
"@shopify/babel-preset": "23.4.0",
16+
"@shopify/eslint-plugin": "~40.1.0",
17+
"babel-plugin-add-shopify-header": "~1.0.6",
18+
"babel-plugin-graphql-js-client-transform": "^1.1.1",
19+
"babel-preset-shopify": "~21.0.0",
20+
"eslint": "~7.23.0",
21+
"express": "^4.17.1",
22+
"graphql-js-client": "^0.12.0",
23+
"graphql-js-schema": "^0.7.1",
2424
"graphql-js-schema-fetch": "^1.1.2",
25-
"mocha": "~3.0.2",
26-
"pug": "^2.0.0-beta11",
27-
"rimraf": "^2.6.1"
25+
"mocha": "^8.3.2",
26+
"pug": "^3.0.2",
27+
"rimraf": "^3.0.2"
2828
},
2929
"scripts": {
3030
"prestart": "yarn build",
3131
"start": "node lib/app.js",
32-
"test": "yarn run lint-allow-warning && mocha --compilers js:babel-register -u tdd test/index.js",
32+
"test": "yarn run lint-allow-warning && mocha",
3333
"build": "babel -d lib/ src/",
3434
"lint": "eslint --max-warnings 0 -c .eslintrc.json src/ test/",
3535
"lint-allow-warning": "eslint -c .eslintrc.json src/ test/",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /