@graphcommerce/cli 6.2.0-canary.89 → 6.2.0-canary.90

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,11 @@
1
1
  # @graphcommerce/cli
2
2
 
3
+ ## 6.2.0-canary.90
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2034](https://github.com/graphcommerce-org/graphcommerce/pull/2034) [`6fca47484`](https://github.com/graphcommerce-org/graphcommerce/commit/6fca474847fe52f004a6ac0abbd88492512b46ad) - Pre-resolve the customFetch in mesh config ([@paales](https://github.com/paales))
8
+
3
9
  ## 6.2.0-canary.89
4
10
 
5
11
  ## 6.2.0-canary.88
package/dist/bin/mesh.js CHANGED
@@ -49,7 +49,7 @@ async function cleanup() {
49
49
  const main = async () => {
50
50
  const conf = (await (0, findConfig_1.findConfig)({}));
51
51
  // We're configuring a custom fetch function
52
- conf.customFetch = '@graphcommerce/graphql-mesh/customFetch';
52
+ conf.customFetch = require.resolve('@graphcommerce/graphql-mesh/customFetch');
53
53
  conf.serve = { ...conf.serve, endpoint: '/api/graphql' };
54
54
  // Rewrite additionalResolvers so we can use module resolution more easily
55
55
  conf.additionalResolvers = conf.additionalResolvers ?? [];
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": "6.2.0-canary.89",
5
+ "version": "6.2.0-canary.90",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "scripts": {
@@ -24,8 +24,8 @@
24
24
  "graphcommerce": "dist/bin/graphcommerce.js"
25
25
  },
26
26
  "dependencies": {
27
- "@graphcommerce/hygraph-cli": "6.2.0-canary.89",
28
- "@graphcommerce/next-config": "6.2.0-canary.89",
27
+ "@graphcommerce/hygraph-cli": "6.2.0-canary.90",
28
+ "@graphcommerce/next-config": "6.2.0-canary.90",
29
29
  "@graphql-codegen/cli": "4.0.1",
30
30
  "@graphql-mesh/cli": "latest",
31
31
  "@graphql-mesh/types": "latest",
@@ -41,9 +41,9 @@
41
41
  "graphql": "^16.7.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@graphcommerce/eslint-config-pwa": "6.2.0-canary.89",
45
- "@graphcommerce/prettier-config-pwa": "6.2.0-canary.89",
46
- "@graphcommerce/typescript-config-pwa": "6.2.0-canary.89",
44
+ "@graphcommerce/eslint-config-pwa": "6.2.0-canary.90",
45
+ "@graphcommerce/prettier-config-pwa": "6.2.0-canary.90",
46
+ "@graphcommerce/typescript-config-pwa": "6.2.0-canary.90",
47
47
  "react": "^18.2.0",
48
48
  "typescript": "5.1.3"
49
49
  },
package/src/bin/mesh.ts CHANGED
@@ -54,7 +54,7 @@ const main = async () => {
54
54
  const conf = (await findConfig({})) as YamlConfig.Config
55
55
 
56
56
  // We're configuring a custom fetch function
57
- conf.customFetch = '@graphcommerce/graphql-mesh/customFetch'
57
+ conf.customFetch = require.resolve('@graphcommerce/graphql-mesh/customFetch')
58
58
  conf.serve = { ...conf.serve, endpoint: '/api/graphql' }
59
59
 
60
60
  // Rewrite additionalResolvers so we can use module resolution more easily