@graphcommerce/cli 5.1.0-canary.1 → 5.1.0-canary.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @graphcommerce/cli
2
2
 
3
+ ## 5.1.0-canary.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`188f23452`](https://github.com/graphcommerce-org/graphcommerce/commit/188f2345255aacd7665d8e443cf42e20a3070a01) - Implement a custom fetch that has an exponential backoff so that build don’t fail as often ([@paales](https://github.com/paales))
8
+
9
+ - [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`2a6a4d9ec`](https://github.com/graphcommerce-org/graphcommerce/commit/2a6a4d9ecfa1b58a66ba9b9d00016d6feda9aa95) - Updated dependencies to latest versions, except for nextjs; Solve tons of peer dependency issues.
10
+
11
+ - Updated the @mui/material package
12
+ - Removed dependencies on react-hook-form-mui and @playwright/test
13
+ - Upgraded dependencies including type-fest and graphql-mesh
14
+ - Solved peer dependency issues ([@paales](https://github.com/paales))
15
+
16
+ ## 5.1.0-canary.2
17
+
3
18
  ## 5.1.0-canary.1
4
19
 
5
20
  ## 5.1.0-canary.0
package/bin/mesh.ts CHANGED
@@ -47,6 +47,10 @@ async function cleanup() {
47
47
  const main = async () => {
48
48
  const conf = (await findConfig({})) as YamlConfig.Config
49
49
 
50
+ // We're configuring a custom fetch function
51
+ conf.customFetch = '@graphcommerce/graphql-mesh/customFetch'
52
+ conf.serve = { ...conf.serve, endpoint: '/api/graphql' }
53
+
50
54
  // Rewrite additionalResolvers so we can use module resolution more easily
51
55
  conf.additionalResolvers = conf.additionalResolvers ?? []
52
56
  conf.additionalResolvers = conf.additionalResolvers?.map((additionalResolver) => {
package/dist/bin/mesh.js CHANGED
@@ -48,6 +48,9 @@ async function cleanup() {
48
48
  }
49
49
  const main = async () => {
50
50
  const conf = (await (0, findConfig_1.findConfig)({}));
51
+ // We're configuring a custom fetch function
52
+ conf.customFetch = '@graphcommerce/graphql-mesh/customFetch';
53
+ conf.serve = { ...conf.serve, endpoint: '/api/graphql' };
51
54
  // Rewrite additionalResolvers so we can use module resolution more easily
52
55
  conf.additionalResolvers = conf.additionalResolvers ?? [];
53
56
  conf.additionalResolvers = conf.additionalResolvers?.map((additionalResolver) => {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/cli",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "5.1.0-canary.1",
5
+ "version": "5.1.0-canary.3",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "scripts": {
@@ -22,22 +22,24 @@
22
22
  "graphcommerce": "dist/bin/graphcommerce.js"
23
23
  },
24
24
  "dependencies": {
25
- "@graphcommerce/next-config": "5.1.0-canary.1",
26
- "@graphql-codegen/cli": "2.11.8",
27
- "@graphql-mesh/cli": "0.76.2",
28
- "@graphql-mesh/types": "0.80.2",
29
- "@graphql-mesh/utils": "0.40.0",
30
- "cosmiconfig": "^7.0.1",
25
+ "@graphcommerce/next-config": "5.1.0-canary.3",
26
+ "@graphql-codegen/cli": "2.15.0",
27
+ "@graphql-mesh/cli": "0.80.4",
28
+ "@graphql-mesh/types": "0.87.1",
29
+ "@graphql-mesh/utils": "0.42.9",
30
+ "cosmiconfig": "^8.0.0",
31
31
  "detect-package-manager": "^2.0.1",
32
- "rimraf": "^3.0.2"
32
+ "graphql": "16.6.0",
33
+ "graphql-tag": "^2.12.6",
34
+ "rimraf": "^3.0.2",
35
+ "ts-node": "^10.9.1"
33
36
  },
34
37
  "devDependencies": {
35
- "@graphcommerce/eslint-config-pwa": "^5.1.0-canary.1",
36
- "@graphcommerce/prettier-config-pwa": "^5.1.0-canary.1",
37
- "@graphcommerce/typescript-config-pwa": "^5.1.0-canary.1",
38
- "@playwright/test": "^1.21.1",
38
+ "@graphcommerce/eslint-config-pwa": "5.1.0-canary.3",
39
+ "@graphcommerce/prettier-config-pwa": "5.1.0-canary.3",
40
+ "@graphcommerce/typescript-config-pwa": "5.1.0-canary.3",
39
41
  "@types/rimraf": "^3.0.2",
40
- "typescript": "4.7.4"
42
+ "typescript": "4.9.3"
41
43
  },
42
44
  "sideEffects": false,
43
45
  "prettier": "@graphcommerce/prettier-config-pwa",