@graphcommerce/cli 6.2.0-canary.7 → 6.2.0-canary.9

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,13 @@
1
1
  # @graphcommerce/cli
2
2
 
3
+ ## 6.2.0-canary.9
4
+
5
+ ## 6.2.0-canary.8
6
+
7
+ ### Minor Changes
8
+
9
+ - [#1912](https://github.com/graphcommerce-org/graphcommerce/pull/1912) [`a43d389e9`](https://github.com/graphcommerce-org/graphcommerce/commit/a43d389e956fe69b73238b12c98c781b7044e4bb) - Added dynamic rows feature and better performance for Hygraph ([@JoshuaS98](https://github.com/JoshuaS98))
10
+
3
11
  ## 6.2.0-canary.7
4
12
 
5
13
  ## 6.2.0-canary.6
@@ -1,10 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ const hygraph_cli_1 = require("@graphcommerce/hygraph-cli");
4
5
  const next_config_1 = require("@graphcommerce/next-config");
5
6
  const commands = {
6
7
  'codegen-config': next_config_1.generateConfig,
7
8
  'export-config': next_config_1.exportConfig,
9
+ 'hygraph-migrate': hygraph_cli_1.migrateHygraph,
8
10
  };
9
11
  const args = process.argv.slice(2);
10
12
  const command = args[0];
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.7",
5
+ "version": "6.2.0-canary.9",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "scripts": {
@@ -24,7 +24,8 @@
24
24
  "graphcommerce": "dist/bin/graphcommerce.js"
25
25
  },
26
26
  "dependencies": {
27
- "@graphcommerce/next-config": "6.2.0-canary.7",
27
+ "@graphcommerce/next-config": "6.2.0-canary.9",
28
+ "@graphcommerce/hygraph-cli": "6.2.0-canary.9",
28
29
  "@graphql-codegen/cli": "3.2.2",
29
30
  "@graphql-mesh/cli": "0.82.25",
30
31
  "@graphql-mesh/types": "0.91.7",
@@ -38,9 +39,9 @@
38
39
  "ts-node": "^10.9.1"
39
40
  },
40
41
  "devDependencies": {
41
- "@graphcommerce/eslint-config-pwa": "6.2.0-canary.7",
42
- "@graphcommerce/prettier-config-pwa": "6.2.0-canary.7",
43
- "@graphcommerce/typescript-config-pwa": "6.2.0-canary.7",
42
+ "@graphcommerce/eslint-config-pwa": "6.2.0-canary.9",
43
+ "@graphcommerce/prettier-config-pwa": "6.2.0-canary.9",
44
+ "@graphcommerce/typescript-config-pwa": "6.2.0-canary.9",
44
45
  "@types/rimraf": "^3.0.2",
45
46
  "react": "^18.2.0",
46
47
  "typescript": "4.9.5"
@@ -1,10 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ import { migrateHygraph } from '@graphcommerce/hygraph-cli'
3
4
  import { generateConfig, exportConfig } from '@graphcommerce/next-config'
4
5
 
5
6
  const commands = {
6
7
  'codegen-config': generateConfig,
7
8
  'export-config': exportConfig,
9
+ 'hygraph-migrate': migrateHygraph,
8
10
  }
9
11
 
10
12
  const args = process.argv.slice(2)