@graphcommerce/cli 9.1.0-canary.15 → 9.1.0-canary.17

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,9 @@
1
1
  # @graphcommerce/cli
2
2
 
3
+ ## 9.1.0-canary.17
4
+
5
+ ## 9.1.0-canary.16
6
+
3
7
  ## 9.1.0-canary.15
4
8
 
5
9
  ## 9.0.4-canary.14
@@ -19,7 +19,7 @@ async function cleanup() {
19
19
  });
20
20
  } catch (e) {
21
21
  }
22
- return undefined;
22
+ return void 0;
23
23
  }
24
24
  function appendDocumentLocations(conf, packages) {
25
25
  const documents = Array.isArray(conf.documents) ? conf.documents : [conf.documents];
package/dist/bin/mesh.js CHANGED
@@ -4,7 +4,7 @@ import path$1 from 'node:path';
4
4
  import { exit } from 'node:process';
5
5
  import { loadConfig, resolveDependenciesSync, sig, packageRoots, replaceConfigInString } from '@graphcommerce/next-config';
6
6
  import { DEFAULT_CLI_PARAMS, graphqlMesh } from '@graphql-mesh/cli';
7
- import { DefaultLogger, defaultImportFn, loadYaml, fileURLToPath } from '@graphql-mesh/utils';
7
+ import { defaultImportFn, DefaultLogger, loadYaml, fileURLToPath } from '@graphql-mesh/utils';
8
8
  import dotenv from 'dotenv';
9
9
  import 'tsx/cjs';
10
10
  import 'tsx/esm';
@@ -40,7 +40,7 @@ function customLoader(ext, importFn = defaultImportFn, initialLoggerPrefix = "\u
40
40
  return loader;
41
41
  }
42
42
  async function findConfig(options) {
43
- const { configName = "mesh", dir: configDir = "", initialLoggerPrefix } = options;
43
+ const { configName = "mesh", dir: configDir = "", initialLoggerPrefix } = options || {};
44
44
  const dir = path.isAbsolute(configDir) ? configDir : path.join(process.cwd(), configDir);
45
45
  const explorer = cosmiconfig(configName, {
46
46
  searchPlaces: [
@@ -98,7 +98,7 @@ async function cleanup() {
98
98
  });
99
99
  } catch (e) {
100
100
  }
101
- return undefined;
101
+ return void 0;
102
102
  }
103
103
  const main = async () => {
104
104
  const baseConf = await findConfig({});
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": "9.1.0-canary.15",
5
+ "version": "9.1.0-canary.17",
6
6
  "scripts": {
7
7
  "dev": "pkgroll --clean-dist --watch",
8
8
  "build": "pkgroll --clean-dist",
@@ -35,12 +35,12 @@
35
35
  "yaml": "2.6.1"
36
36
  },
37
37
  "peerDependencies": {
38
- "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.15",
39
- "@graphcommerce/graphql-mesh": "^9.1.0-canary.15",
40
- "@graphcommerce/hygraph-cli": "^9.1.0-canary.15",
41
- "@graphcommerce/next-config": "^9.1.0-canary.15",
42
- "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.15",
43
- "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.15",
38
+ "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.17",
39
+ "@graphcommerce/graphql-mesh": "^9.1.0-canary.17",
40
+ "@graphcommerce/hygraph-cli": "^9.1.0-canary.17",
41
+ "@graphcommerce/next-config": "^9.1.0-canary.17",
42
+ "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.17",
43
+ "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.17",
44
44
  "@graphql-mesh/cli": "*",
45
45
  "@graphql-mesh/types": "*",
46
46
  "@graphql-mesh/utils": "*",