@graphcommerce/hygraph-cli 8.0.0-canary.40 → 8.0.0-canary.69
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 +48 -2
- package/package.json +8 -8
- package/tsconfig.json +5 -2
- package/dist/migrations/graphcommerce7to7.1.js +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,54 @@
|
|
|
1
1
|
# @graphcommerce/hygraph-cli
|
|
2
2
|
|
|
3
|
-
## 8.0.0-canary.
|
|
3
|
+
## 8.0.0-canary.69
|
|
4
4
|
|
|
5
|
-
## 7.1.0-canary.
|
|
5
|
+
## 7.1.0-canary.68
|
|
6
|
+
|
|
7
|
+
## 7.1.0-canary.67
|
|
8
|
+
|
|
9
|
+
## 7.1.0-canary.66
|
|
10
|
+
|
|
11
|
+
## 7.1.0-canary.65
|
|
12
|
+
|
|
13
|
+
## 7.1.0-canary.64
|
|
14
|
+
|
|
15
|
+
## 7.1.0-canary.63
|
|
16
|
+
|
|
17
|
+
## 7.1.0-canary.62
|
|
18
|
+
|
|
19
|
+
## 7.1.0-canary.61
|
|
20
|
+
|
|
21
|
+
## 7.1.0-canary.60
|
|
22
|
+
|
|
23
|
+
## 7.1.0-canary.59
|
|
24
|
+
|
|
25
|
+
## 7.1.0-canary.58
|
|
26
|
+
|
|
27
|
+
## 7.1.0-canary.57
|
|
28
|
+
|
|
29
|
+
## 7.1.0-canary.56
|
|
30
|
+
|
|
31
|
+
## 7.1.0-canary.55
|
|
32
|
+
|
|
33
|
+
## 7.1.0-canary.54
|
|
34
|
+
|
|
35
|
+
## 7.1.0-canary.53
|
|
36
|
+
|
|
37
|
+
## 7.1.0-canary.52
|
|
38
|
+
|
|
39
|
+
## 7.1.0-canary.51
|
|
40
|
+
|
|
41
|
+
## 7.1.0-canary.50
|
|
42
|
+
|
|
43
|
+
## 7.1.0-canary.49
|
|
44
|
+
|
|
45
|
+
## 7.1.0-canary.48
|
|
46
|
+
|
|
47
|
+
## 7.1.0-canary.47
|
|
48
|
+
|
|
49
|
+
## 7.1.0-canary.46
|
|
50
|
+
|
|
51
|
+
## 7.1.0-canary.45
|
|
6
52
|
|
|
7
53
|
## 7.1.0-canary.38
|
|
8
54
|
|
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": "8.0.0-canary.
|
|
5
|
+
"version": "8.0.0-canary.69",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "tsc --preserveWatchOutput --watch",
|
|
8
8
|
"build": "tsc",
|
|
@@ -12,23 +12,23 @@
|
|
|
12
12
|
"main": "dist/index.js",
|
|
13
13
|
"types": "src/index.ts",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@hygraph/management-sdk": "1.2.
|
|
15
|
+
"@hygraph/management-sdk": "1.2.4",
|
|
16
16
|
"@whatwg-node/fetch": "^0.9.14",
|
|
17
17
|
"graphql-tag": "^2.12.6",
|
|
18
18
|
"prompts": "^2.4.2"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@apollo/client": "^3",
|
|
22
|
-
"@graphcommerce/eslint-config-pwa": "8.0.0-canary.
|
|
23
|
-
"@graphcommerce/next-config": "8.0.0-canary.
|
|
24
|
-
"@graphcommerce/prettier-config-pwa": "8.0.0-canary.
|
|
25
|
-
"@graphcommerce/typescript-config-pwa": "8.0.0-canary.
|
|
22
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.0-canary.69",
|
|
23
|
+
"@graphcommerce/next-config": "^8.0.0-canary.69",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.0-canary.69",
|
|
25
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.0-canary.69",
|
|
26
26
|
"dotenv": "^16.1.4",
|
|
27
27
|
"graphql": "^16.7.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@types/prompts": "^2.4.
|
|
31
|
-
"typescript": "5.
|
|
30
|
+
"@types/prompts": "^2.4.9",
|
|
31
|
+
"typescript": "5.3.3"
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
package/tsconfig.json
CHANGED
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
"exclude": ["**/node_modules", "example", "dist", "**/.*/", "__tests__", "__mocks__"],
|
|
3
3
|
"include": ["**/*.ts", "**/*.tsx"],
|
|
4
4
|
"files": ["src/index.ts"],
|
|
5
|
-
"extends": "@
|
|
5
|
+
"extends": "@tsconfig/node18/tsconfig.json",
|
|
6
6
|
"compilerOptions": {
|
|
7
7
|
"rootDir": "src",
|
|
8
8
|
"noEmit": false,
|
|
9
9
|
"outDir": "dist",
|
|
10
10
|
"sourceMap": false,
|
|
11
11
|
"noLib": false,
|
|
12
|
-
"strict": true
|
|
12
|
+
"strict": true,
|
|
13
|
+
"resolveJsonModule": true,
|
|
14
|
+
"moduleResolution": "Node",
|
|
15
|
+
"module": "CommonJS"
|
|
13
16
|
}
|
|
14
17
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.graphcommerce7to7_1 = void 0;
|
|
4
|
-
const migrationAction_1 = require("../migrationAction");
|
|
5
|
-
const graphcommerce7to7_1 = async (schema) => {
|
|
6
|
-
if (!migrationAction_1.client) {
|
|
7
|
-
return 0;
|
|
8
|
-
}
|
|
9
|
-
(0, migrationAction_1.migrationAction)(schema, 'enumeration', 'update', {
|
|
10
|
-
apiId: 'RowProductVariants',
|
|
11
|
-
valuesToCreate: [{ apiId: 'Recent', displayName: 'Recent' }],
|
|
12
|
-
});
|
|
13
|
-
return migrationAction_1.client.run(true);
|
|
14
|
-
};
|
|
15
|
-
exports.graphcommerce7to7_1 = graphcommerce7to7_1;
|