@graphcommerce/cli 5.0.0-canary.9 → 5.0.0
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 +22 -0
- package/bin/codegen.ts +3 -1
- package/dist/bin/codegen.js +2 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @graphcommerce/cli
|
|
2
2
|
|
|
3
|
+
## 5.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#1734](https://github.com/graphcommerce-org/graphcommerce/pull/1734) [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@github-actions](https://github.com/apps/github-actions))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#1718](https://github.com/graphcommerce-org/graphcommerce/pull/1718) [`f218e533b`](https://github.com/graphcommerce-org/graphcommerce/commit/f218e533bd7abfc6c949cdf380df0d166f89e145) - Make the tmp file to \_tmp_mesh instead of \_tmp_codegen ([@paales](https://github.com/paales))
|
|
12
|
+
|
|
13
|
+
- [#1738](https://github.com/graphcommerce-org/graphcommerce/pull/1738) [`bd3a30438`](https://github.com/graphcommerce-org/graphcommerce/commit/bd3a30438cf6b69cd37a191406c8190a20e572cc) - Created directive @env(if: String!) on FRAGMENT_DEFINITION to conditionally include a fragment ([@paales](https://github.com/paales))
|
|
14
|
+
|
|
15
|
+
## 5.0.0-canary.14
|
|
16
|
+
|
|
3
17
|
## 5.0.0-canary.9
|
|
4
18
|
|
|
5
19
|
### Major Changes
|
|
@@ -32,6 +46,14 @@
|
|
|
32
46
|
|
|
33
47
|
## 4.31.0-canary.0
|
|
34
48
|
|
|
49
|
+
## 4.30.2
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- [#1726](https://github.com/graphcommerce-org/graphcommerce/pull/1726) [`6dde81d8c`](https://github.com/graphcommerce-org/graphcommerce/commit/6dde81d8c04730847c4c171cfac6ef0cf10d9929) Thanks [@paales](https://github.com/paales)! - When starting the dev server it would delete all .gql.ts files causing an error when starting
|
|
54
|
+
|
|
55
|
+
## 4.30.1
|
|
56
|
+
|
|
35
57
|
## 4.30.0
|
|
36
58
|
|
|
37
59
|
### Minor Changes
|
package/bin/codegen.ts
CHANGED
|
@@ -63,7 +63,9 @@ async function main() {
|
|
|
63
63
|
if (Array.isArray(gen)) return
|
|
64
64
|
if (gen.presetConfig?.extension) extension = gen.presetConfig.extension
|
|
65
65
|
})
|
|
66
|
-
|
|
66
|
+
|
|
67
|
+
const isWatching = process.argv.includes('--watch') || process.argv.includes('-w')
|
|
68
|
+
if (!isWatching && extension) rimraf(path.join(root, `**/*${extension}`), console.error)
|
|
67
69
|
|
|
68
70
|
// - Prepend the all targets with ../../ if we're running in a monorepo setup.
|
|
69
71
|
// - Append all the Graphcommerce packages to the configuration
|
package/dist/bin/codegen.js
CHANGED
|
@@ -55,7 +55,8 @@ async function main() {
|
|
|
55
55
|
if (gen.presetConfig?.extension)
|
|
56
56
|
extension = gen.presetConfig.extension;
|
|
57
57
|
});
|
|
58
|
-
|
|
58
|
+
const isWatching = process.argv.includes('--watch') || process.argv.includes('-w');
|
|
59
|
+
if (!isWatching && extension)
|
|
59
60
|
(0, rimraf_1.default)(node_path_1.default.join(root, `**/*${extension}`), console.error);
|
|
60
61
|
// - Prepend the all targets with ../../ if we're running in a monorepo setup.
|
|
61
62
|
// - Append all the Graphcommerce packages to the configuration
|
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": "5.0.0
|
|
5
|
+
"version": "5.0.0",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"graphcommerce": "dist/bin/graphcommerce.js"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@graphcommerce/next-config": "5.0.0
|
|
25
|
+
"@graphcommerce/next-config": "5.0.0",
|
|
26
26
|
"@graphql-codegen/cli": "2.11.8",
|
|
27
27
|
"@graphql-mesh/cli": "0.76.2",
|
|
28
28
|
"@graphql-mesh/types": "0.80.2",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"rimraf": "^3.0.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@graphcommerce/eslint-config-pwa": "^5.0.0
|
|
36
|
-
"@graphcommerce/prettier-config-pwa": "^
|
|
37
|
-
"@graphcommerce/typescript-config-pwa": "^
|
|
35
|
+
"@graphcommerce/eslint-config-pwa": "^5.0.0",
|
|
36
|
+
"@graphcommerce/prettier-config-pwa": "^5.0.0",
|
|
37
|
+
"@graphcommerce/typescript-config-pwa": "^5.0.0",
|
|
38
38
|
"@playwright/test": "^1.21.1",
|
|
39
39
|
"@types/rimraf": "^3.0.2",
|
|
40
40
|
"typescript": "4.7.4"
|