@graphcommerce/graphql 3.0.2 → 3.0.5
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 +60 -67
- package/_playwright/apolloClient.fixture.ts +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,29 +1,47 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1341](https://github.com/graphcommerce-org/graphcommerce/pull/1341) [`2e29c5852`](https://github.com/graphcommerce-org/graphcommerce/commit/2e29c585247d356e3027be92beb7815f2070c855) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`2e29c5852`](https://github.com/graphcommerce-org/graphcommerce/commit/2e29c585247d356e3027be92beb7815f2070c855)]:
|
|
10
|
+
- @graphcommerce/graphql-codegen-near-operation-file@3.0.7
|
|
11
|
+
|
|
12
|
+
## 3.0.4
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655) Thanks [@paales](https://github.com/paales)! - All default exports are now named exports internally and all `index.tsx` are renamed to the component name.
|
|
17
|
+
|
|
18
|
+
* [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
|
|
19
|
+
|
|
20
|
+
* Updated dependencies [[`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655), [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef)]:
|
|
21
|
+
- @graphcommerce/graphql-codegen-near-operation-file@3.0.5
|
|
22
|
+
- @graphcommerce/graphql-codegen-relay-optimizer-plugin@3.0.5
|
|
23
|
+
|
|
24
|
+
## 3.0.3
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)]:
|
|
31
|
+
- @graphcommerce/graphql-codegen-near-operation-file@3.0.3
|
|
32
|
+
- @graphcommerce/graphql-codegen-relay-optimizer-plugin@3.0.3
|
|
33
|
+
|
|
3
34
|
## 3.0.2
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
|
6
37
|
|
|
7
|
-
- [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* [
|
|
14
|
-
[`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
|
|
15
|
-
Thanks [@paales](https://github.com/paales)! - Upgraded to
|
|
16
|
-
[NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
|
|
17
|
-
implementing
|
|
18
|
-
[On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
|
|
19
|
-
soon.
|
|
20
|
-
|
|
21
|
-
This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
|
|
22
|
-
frontend to be able to revalidate pages manually.
|
|
23
|
-
|
|
24
|
-
* Updated dependencies
|
|
25
|
-
[[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
|
|
26
|
-
[`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
|
|
38
|
+
- [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2) Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from `dependencies` to `peerDependencies`. The result of this is that there will be significantly less duplicate packages in the node_modules folders.
|
|
39
|
+
|
|
40
|
+
* [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d) Thanks [@paales](https://github.com/paales)! - Upgraded to [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be implementing [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta) soon.
|
|
41
|
+
|
|
42
|
+
This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the frontend to be able to revalidate pages manually.
|
|
43
|
+
|
|
44
|
+
* Updated dependencies [[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2), [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
|
|
27
45
|
- @graphcommerce/graphql-codegen-near-operation-file@3.0.2
|
|
28
46
|
- @graphcommerce/graphql-codegen-relay-optimizer-plugin@3.0.2
|
|
29
47
|
|
|
@@ -31,11 +49,8 @@
|
|
|
31
49
|
|
|
32
50
|
### Patch Changes
|
|
33
51
|
|
|
34
|
-
- [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
|
|
35
|
-
|
|
36
|
-
so that the packages link to back to the website and repository
|
|
37
|
-
- Updated dependencies
|
|
38
|
-
[[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
|
|
52
|
+
- [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514) Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files, so that the packages link to back to the website and repository
|
|
53
|
+
- Updated dependencies [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
|
|
39
54
|
- @graphcommerce/graphql-codegen-near-operation-file@3.0.1
|
|
40
55
|
- @graphcommerce/graphql-codegen-relay-optimizer-plugin@3.0.1
|
|
41
56
|
|
|
@@ -43,47 +58,39 @@
|
|
|
43
58
|
|
|
44
59
|
### Major Changes
|
|
45
60
|
|
|
46
|
-
- [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
|
|
47
|
-
[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
|
|
48
|
-
Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
|
|
61
|
+
- [#1258](https://github.com/ho-nl/m2-pwa/pull/1258) [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05) Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
|
|
49
62
|
|
|
50
63
|
### Patch Changes
|
|
51
64
|
|
|
52
|
-
- Updated dependencies
|
|
53
|
-
[[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
|
|
65
|
+
- Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
|
|
54
66
|
- @graphcommerce/graphql-codegen-near-operation-file@3.0.0
|
|
55
67
|
- @graphcommerce/graphql-codegen-relay-optimizer-plugin@3.0.0
|
|
56
68
|
|
|
57
|
-
All notable changes to this project will be documented in this file. See
|
|
58
|
-
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
69
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
59
70
|
|
|
60
71
|
## [2.105.12](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.105.11...@graphcommerce/graphql@2.105.12) (2021-12-21)
|
|
61
72
|
|
|
62
73
|
### Bug Fixes
|
|
63
74
|
|
|
64
|
-
- **graphql:** make sure we're passing the correct store code to the schema endpoint
|
|
65
|
-
([39753f2](https://github.com/ho-nl/m2-pwa/commit/39753f2117ce7ba79dab035c4134e642829e7f18))
|
|
75
|
+
- **graphql:** make sure we're passing the correct store code to the schema endpoint ([39753f2](https://github.com/ho-nl/m2-pwa/commit/39753f2117ce7ba79dab035c4134e642829e7f18))
|
|
66
76
|
|
|
67
77
|
## [2.105.6](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.105.5...@graphcommerce/graphql@2.105.6) (2021-12-03)
|
|
68
78
|
|
|
69
79
|
### Bug Fixes
|
|
70
80
|
|
|
71
|
-
- make the headerHeight properly configurable
|
|
72
|
-
([c39c942](https://github.com/ho-nl/m2-pwa/commit/c39c942a62a9bb9687ea553be28e37fb49a6b065))
|
|
81
|
+
- make the headerHeight properly configurable ([c39c942](https://github.com/ho-nl/m2-pwa/commit/c39c942a62a9bb9687ea553be28e37fb49a6b065))
|
|
73
82
|
|
|
74
83
|
# [2.105.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.104.1...@graphcommerce/graphql@2.105.0) (2021-10-27)
|
|
75
84
|
|
|
76
85
|
### Features
|
|
77
86
|
|
|
78
|
-
- **nextjs:** upgraded to nextjs 12
|
|
79
|
-
([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
|
87
|
+
- **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
|
80
88
|
|
|
81
89
|
# [2.104.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.103.8...@graphcommerce/graphql@2.104.0) (2021-10-21)
|
|
82
90
|
|
|
83
91
|
### Features
|
|
84
92
|
|
|
85
|
-
- **graphql-mesh:** remove the api project and use a single project 🎉👩👩👦👦
|
|
86
|
-
([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
|
|
93
|
+
- **graphql-mesh:** remove the api project and use a single project 🎉👩👩👦👦 ([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
|
|
87
94
|
|
|
88
95
|
## [2.103.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.103.0...@graphcommerce/graphql@2.103.1) (2021-09-27)
|
|
89
96
|
|
|
@@ -93,57 +100,43 @@ All notable changes to this project will be documented in this file. See
|
|
|
93
100
|
|
|
94
101
|
### Bug Fixes
|
|
95
102
|
|
|
96
|
-
- ignore md files from triggering version updates
|
|
97
|
-
([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
103
|
+
- ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
98
104
|
|
|
99
105
|
### Features
|
|
100
106
|
|
|
101
|
-
- **graphql:** introduced new graphql package that holds all generated files
|
|
102
|
-
|
|
103
|
-
-
|
|
104
|
-
|
|
105
|
-
-
|
|
106
|
-
|
|
107
|
-
- **playwright:** added new playwright package to enable browser testing
|
|
108
|
-
([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
109
|
-
- renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
|
|
110
|
-
[@reachdigital](https://github.com/reachdigital)
|
|
111
|
-
([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
|
|
112
|
-
- upgraded to nextjs 11
|
|
113
|
-
([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
107
|
+
- **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
|
|
108
|
+
- **graphql:** introducing local schema migrations ([e77ef8a](https://github.com/ho-nl/m2-pwa/commit/e77ef8ad4cd5723e2352dec937b45ee976929b24))
|
|
109
|
+
- next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
|
|
110
|
+
- **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
111
|
+
- renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
|
|
112
|
+
- upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
114
113
|
|
|
115
114
|
### Reverts
|
|
116
115
|
|
|
117
|
-
- Revert "chore: upgrade @apollo/client"
|
|
118
|
-
([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
116
|
+
- Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
119
117
|
|
|
120
118
|
# Change Log
|
|
121
119
|
|
|
122
|
-
All notable changes to this project will be documented in this file. See
|
|
123
|
-
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
120
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
124
121
|
|
|
125
122
|
# [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.101.3...@graphcommerce/graphql@2.102.0) (2021-08-12)
|
|
126
123
|
|
|
127
124
|
### Features
|
|
128
125
|
|
|
129
|
-
- upgraded to nextjs 11
|
|
130
|
-
([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
126
|
+
- upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
131
127
|
|
|
132
128
|
## [2.101.3](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.101.2...@graphcommerce/graphql@2.101.3) (2021-08-09)
|
|
133
129
|
|
|
134
130
|
### Reverts
|
|
135
131
|
|
|
136
|
-
- Revert "chore: upgrade @apollo/client"
|
|
137
|
-
([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
132
|
+
- Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
138
133
|
|
|
139
134
|
# [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.100.10...@graphcommerce/graphql@2.101.0) (2021-07-26)
|
|
140
135
|
|
|
141
136
|
### Bug Fixes
|
|
142
137
|
|
|
143
|
-
- ignore md files from triggering version updates
|
|
144
|
-
([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
138
|
+
- ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
145
139
|
|
|
146
140
|
### Features
|
|
147
141
|
|
|
148
|
-
- **playwright:** added new playwright package to enable browser testing
|
|
149
|
-
([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
142
|
+
- **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable no-empty-pattern */
|
|
2
|
-
import { getOperationName } from '@graphcommerce/graphql'
|
|
3
2
|
import { test as base, Page } from '@playwright/test'
|
|
4
3
|
import {
|
|
5
4
|
ApolloClient,
|
|
6
5
|
FetchResult,
|
|
6
|
+
getOperationName,
|
|
7
7
|
InMemoryCache,
|
|
8
8
|
NormalizedCacheObject,
|
|
9
9
|
TypedDocumentNode,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/graphql",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.0.5",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
@@ -13,24 +13,24 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^4.
|
|
17
|
-
"@graphcommerce/prettier-config-pwa": "^4.0.
|
|
18
|
-
"@graphcommerce/typescript-config-pwa": "^4.0.
|
|
19
|
-
"@playwright/test": "^1.19.
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^4.1.1",
|
|
17
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.3",
|
|
18
|
+
"@graphcommerce/typescript-config-pwa": "^4.0.2",
|
|
19
|
+
"@playwright/test": "^1.19.2"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@apollo/client": "^3.5.
|
|
23
|
-
"@graphcommerce/graphql-codegen-near-operation-file": "^3.0.
|
|
24
|
-
"@graphcommerce/graphql-codegen-relay-optimizer-plugin": "^3.0.
|
|
25
|
-
"@graphql-codegen/add": "
|
|
22
|
+
"@apollo/client": "^3.5.10",
|
|
23
|
+
"@graphcommerce/graphql-codegen-near-operation-file": "^3.0.7",
|
|
24
|
+
"@graphcommerce/graphql-codegen-relay-optimizer-plugin": "^3.0.5",
|
|
25
|
+
"@graphql-codegen/add": "3.1.1",
|
|
26
26
|
"@graphql-codegen/fragment-matcher": "3.2.1",
|
|
27
27
|
"@graphql-codegen/introspection": "2.1.1",
|
|
28
|
-
"@graphql-codegen/schema-ast": "
|
|
29
|
-
"@graphql-codegen/typed-document-node": "
|
|
30
|
-
"@graphql-codegen/typescript": "
|
|
31
|
-
"@graphql-codegen/typescript-apollo-client-helpers": "
|
|
32
|
-
"@graphql-codegen/typescript-document-nodes": "2.2.
|
|
33
|
-
"@graphql-codegen/typescript-operations": "2.3.
|
|
28
|
+
"@graphql-codegen/schema-ast": "2.4.1",
|
|
29
|
+
"@graphql-codegen/typed-document-node": "2.2.8",
|
|
30
|
+
"@graphql-codegen/typescript": "2.4.8",
|
|
31
|
+
"@graphql-codegen/typescript-apollo-client-helpers": "2.1.15",
|
|
32
|
+
"@graphql-codegen/typescript-document-nodes": "2.2.8",
|
|
33
|
+
"@graphql-codegen/typescript-operations": "2.3.5",
|
|
34
34
|
"apollo3-cache-persist": "^0.14.0",
|
|
35
35
|
"graphql": "^16.3.0"
|
|
36
36
|
}
|