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