@graphcommerce/hygraph-cli 6.2.0-canary.83 → 6.2.0-canary.85
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 +4 -0
- package/package.json +6 -6
- package/src/migrateHygraph.ts +1 -1
- package/src/types.ts +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/hygraph-cli",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "6.2.0-canary.
|
|
5
|
+
"version": "6.2.0-canary.85",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"scripts": {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"types": "src/index.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@apollo/client": "~3.7.17",
|
|
18
|
-
"@graphcommerce/next-config": "6.2.0-canary.
|
|
19
|
-
"@hygraph/management-sdk": "
|
|
18
|
+
"@graphcommerce/next-config": "6.2.0-canary.85",
|
|
19
|
+
"@hygraph/management-sdk": "1.2.3",
|
|
20
20
|
"graphql-tag": "^2.12.6",
|
|
21
21
|
"prompts": "^2.4.2",
|
|
22
22
|
"@whatwg-node/fetch": "^0.9.4"
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/prompts": "^2.4.4",
|
|
30
|
-
"@graphcommerce/eslint-config-pwa": "6.2.0-canary.
|
|
31
|
-
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.
|
|
32
|
-
"@graphcommerce/typescript-config-pwa": "6.2.0-canary.
|
|
30
|
+
"@graphcommerce/eslint-config-pwa": "6.2.0-canary.85",
|
|
31
|
+
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.85",
|
|
32
|
+
"@graphcommerce/typescript-config-pwa": "6.2.0-canary.85",
|
|
33
33
|
"typescript": "5.1.3"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
package/src/migrateHygraph.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import fs from 'fs'
|
|
2
2
|
import { loadConfig } from '@graphcommerce/next-config'
|
|
3
|
-
import { MigrationInfo } from '@hygraph/management-sdk/dist/ManagementAPIClient'
|
|
3
|
+
import type { MigrationInfo } from '@hygraph/management-sdk/dist/src/ManagementAPIClient'
|
|
4
4
|
import dotenv from 'dotenv'
|
|
5
5
|
import prompts, { PromptObject } from 'prompts'
|
|
6
6
|
import { graphcommerceLog } from './log-functions'
|
package/src/types.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
2
|
-
import { Model, Component, Enumeration } from '@hygraph/management-sdk'
|
|
3
|
-
import { MigrationInfo } from '@hygraph/management-sdk/dist/ManagementAPIClient'
|
|
2
|
+
import type { Model, Component, Enumeration } from '@hygraph/management-sdk'
|
|
3
|
+
import type { MigrationInfo } from '@hygraph/management-sdk/dist/src/ManagementAPIClient'
|
|
4
4
|
|
|
5
5
|
export type Migration = (name: string | undefined) => Promise<MigrationInfo>
|
|
6
6
|
|