@graphcommerce/next-config 8.1.0-canary.8 → 9.0.0-canary.100
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 +266 -65
- package/Config.graphqls +5 -5
- package/__tests__/config/utils/__snapshots__/mergeEnvIntoConfig.ts.snap +159 -3
- package/__tests__/config/utils/configToImportMeta.ts +0 -4
- package/__tests__/config/utils/mergeEnvIntoConfig.ts +20 -2
- package/__tests__/config/utils/rewriteLegancyEnv.ts +1 -1
- package/__tests__/interceptors/findPlugins.ts +366 -240
- package/__tests__/interceptors/generateInterceptors.ts +138 -59
- package/__tests__/interceptors/parseStructure.ts +132 -2
- package/__tests__/utils/resolveDependenciesSync.ts +39 -33
- package/dist/config/commands/exportConfig.js +1 -2
- package/dist/config/commands/generateConfig.js +1 -2
- package/dist/config/demoConfig.js +5 -0
- package/dist/config/loadConfig.js +1 -2
- package/dist/config/utils/configToImportMeta.js +1 -2
- package/dist/config/utils/diff.js +1 -1
- package/dist/config/utils/exportConfigToEnv.js +1 -2
- package/dist/config/utils/mergeEnvIntoConfig.js +12 -5
- package/dist/config/utils/replaceConfigInString.js +1 -2
- package/dist/config/utils/rewriteLegacyEnv.js +1 -2
- package/dist/generated/config.js +39 -17
- package/dist/interceptors/Visitor.js +1 -1
- package/dist/interceptors/commands/codegenInterceptors.js +1 -2
- package/dist/interceptors/extractExports.js +23 -20
- package/dist/interceptors/findOriginalSource.js +19 -4
- package/dist/interceptors/findPlugins.js +1 -2
- package/dist/interceptors/generateInterceptor.js +11 -12
- package/dist/interceptors/generateInterceptors.js +1 -2
- package/dist/interceptors/parseStructure.js +20 -7
- package/dist/interceptors/swc.js +2 -3
- package/dist/interceptors/writeInterceptors.js +8 -9
- package/dist/utils/isMonorepo.js +1 -2
- package/dist/utils/resolveDependenciesSync.js +3 -4
- package/dist/withGraphCommerce.js +22 -15
- package/package.json +10 -11
- package/src/config/demoConfig.ts +5 -0
- package/src/config/utils/mergeEnvIntoConfig.ts +9 -1
- package/src/generated/config.ts +116 -23
- package/src/interceptors/Visitor.ts +1 -1
- package/src/interceptors/extractExports.ts +21 -21
- package/src/interceptors/findOriginalSource.ts +17 -2
- package/src/interceptors/generateInterceptor.ts +4 -6
- package/src/interceptors/parseStructure.ts +25 -5
- package/src/interceptors/writeInterceptors.ts +7 -7
- package/src/utils/resolveDependenciesSync.ts +1 -1
- package/src/withGraphCommerce.ts +21 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,29 +1,250 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.100
|
|
4
|
+
|
|
5
|
+
## 9.0.0-canary.99
|
|
6
|
+
|
|
7
|
+
## 9.0.0-canary.98
|
|
8
|
+
|
|
9
|
+
## 9.0.0-canary.97
|
|
10
|
+
|
|
11
|
+
## 9.0.0-canary.96
|
|
12
|
+
|
|
13
|
+
## 9.0.0-canary.95
|
|
14
|
+
|
|
15
|
+
## 9.0.0-canary.94
|
|
16
|
+
|
|
17
|
+
## 9.0.0-canary.93
|
|
18
|
+
|
|
19
|
+
## 9.0.0-canary.92
|
|
20
|
+
|
|
21
|
+
## 9.0.0-canary.91
|
|
22
|
+
|
|
23
|
+
## 9.0.0-canary.90
|
|
24
|
+
|
|
25
|
+
## 9.0.0-canary.89
|
|
26
|
+
|
|
27
|
+
## 9.0.0-canary.88
|
|
28
|
+
|
|
29
|
+
## 9.0.0-canary.87
|
|
30
|
+
|
|
31
|
+
## 9.0.0-canary.86
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- [#2379](https://github.com/graphcommerce-org/graphcommerce/pull/2379) [`9828754`](https://github.com/graphcommerce-org/graphcommerce/commit/9828754192348b966fb9736d7b0e1c78c4a909fa) - All automatically generated interceptor files are now read-only in vscode to prevent accedental changes. ([@paales](https://github.com/paales))
|
|
36
|
+
|
|
37
|
+
## 9.0.0-canary.85
|
|
38
|
+
|
|
39
|
+
## 9.0.0-canary.84
|
|
40
|
+
|
|
41
|
+
## 9.0.0-canary.83
|
|
42
|
+
|
|
43
|
+
## 9.0.0-canary.82
|
|
44
|
+
|
|
45
|
+
## 9.0.0-canary.81
|
|
46
|
+
|
|
47
|
+
## 9.0.0-canary.80
|
|
48
|
+
|
|
49
|
+
## 9.0.0-canary.79
|
|
50
|
+
|
|
51
|
+
## 9.0.0-canary.78
|
|
52
|
+
|
|
53
|
+
## 9.0.0-canary.77
|
|
54
|
+
|
|
55
|
+
## 9.0.0-canary.76
|
|
56
|
+
|
|
57
|
+
## 9.0.0-canary.75
|
|
58
|
+
|
|
59
|
+
## 9.0.0-canary.74
|
|
60
|
+
|
|
61
|
+
## 9.0.0-canary.73
|
|
62
|
+
|
|
63
|
+
## 9.0.0-canary.72
|
|
64
|
+
|
|
65
|
+
## 9.0.0-canary.71
|
|
66
|
+
|
|
67
|
+
## 9.0.0-canary.70
|
|
68
|
+
|
|
69
|
+
## 9.0.0-canary.69
|
|
70
|
+
|
|
71
|
+
## 9.0.0-canary.68
|
|
72
|
+
|
|
73
|
+
## 9.0.0-canary.67
|
|
74
|
+
|
|
75
|
+
## 9.0.0-canary.66
|
|
76
|
+
|
|
77
|
+
## 9.0.0-canary.65
|
|
78
|
+
|
|
79
|
+
## 9.0.0-canary.64
|
|
80
|
+
|
|
81
|
+
## 9.0.0-canary.63
|
|
82
|
+
|
|
83
|
+
## 9.0.0-canary.62
|
|
84
|
+
|
|
85
|
+
## 9.0.0-canary.61
|
|
86
|
+
|
|
87
|
+
## 9.0.0-canary.60
|
|
88
|
+
|
|
89
|
+
## 9.0.0-canary.59
|
|
90
|
+
|
|
91
|
+
## 9.0.0-canary.58
|
|
92
|
+
|
|
93
|
+
### Minor Changes
|
|
94
|
+
|
|
95
|
+
- [#2330](https://github.com/graphcommerce-org/graphcommerce/pull/2330) [`5701e71`](https://github.com/graphcommerce-org/graphcommerce/commit/5701e71454ffb52880cd15c3341826d9502284d0) - Added support for boolean `ifConfig: ['customerXMagentoCacheIdDisable', true]` values in plugin configurations ([@paales](https://github.com/paales))
|
|
96
|
+
|
|
97
|
+
## 9.0.0-canary.57
|
|
98
|
+
|
|
99
|
+
## 9.0.0-canary.56
|
|
100
|
+
|
|
101
|
+
## 9.0.0-canary.55
|
|
102
|
+
|
|
103
|
+
## 9.0.0-canary.54
|
|
104
|
+
|
|
105
|
+
## 8.1.0-canary.53
|
|
106
|
+
|
|
107
|
+
## 8.1.0-canary.52
|
|
108
|
+
|
|
109
|
+
## 8.1.0-canary.51
|
|
110
|
+
|
|
111
|
+
## 8.1.0-canary.50
|
|
112
|
+
|
|
113
|
+
## 8.1.0-canary.49
|
|
114
|
+
|
|
115
|
+
## 8.1.0-canary.48
|
|
116
|
+
|
|
117
|
+
## 8.1.0-canary.47
|
|
118
|
+
|
|
119
|
+
## 8.1.0-canary.46
|
|
120
|
+
|
|
121
|
+
### Minor Changes
|
|
122
|
+
|
|
123
|
+
- [#2313](https://github.com/graphcommerce-org/graphcommerce/pull/2313) [`511e75c`](https://github.com/graphcommerce-org/graphcommerce/commit/511e75c3f8c077e617ed17e5042796e2411f312f) - Add the customerNote field to the shipping and customer address forms ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
124
|
+
|
|
125
|
+
### Patch Changes
|
|
126
|
+
|
|
127
|
+
- [#2314](https://github.com/graphcommerce-org/graphcommerce/pull/2314) [`ccd218c`](https://github.com/graphcommerce-org/graphcommerce/commit/ccd218c827d8ba7e632fa40ed75ad63a38620275) - Solve an issue where interceptors were immediately deleted after generating ([@paales](https://github.com/paales))
|
|
128
|
+
|
|
129
|
+
## 8.1.0-canary.45
|
|
130
|
+
|
|
131
|
+
## 8.1.0-canary.44
|
|
132
|
+
|
|
133
|
+
## 8.1.0-canary.43
|
|
134
|
+
|
|
135
|
+
## 8.1.0-canary.42
|
|
136
|
+
|
|
137
|
+
## 8.1.0-canary.41
|
|
138
|
+
|
|
139
|
+
### Patch Changes
|
|
140
|
+
|
|
141
|
+
- [#2242](https://github.com/graphcommerce-org/graphcommerce/pull/2242) [`a4cce76`](https://github.com/graphcommerce-org/graphcommerce/commit/a4cce76ca37af2bec604e953ada4bb11bd91f55d) - Add option to show an extended version of the pagination component. Configurable via the "productListPaginationVariant" key in your graphcommerce.config.js COMPACT means: "< Page X of Y >" EXTENDED means: "< 1 2 ... [5] ... 10 11 >" ([@FrankHarland](https://github.com/FrankHarland))
|
|
142
|
+
|
|
143
|
+
## 8.1.0-canary.40
|
|
144
|
+
|
|
145
|
+
### Minor Changes
|
|
146
|
+
|
|
147
|
+
- [#2306](https://github.com/graphcommerce-org/graphcommerce/pull/2306) [`5e188e8`](https://github.com/graphcommerce-org/graphcommerce/commit/5e188e830dca4730c73830858f59a94e9d41ed12) - Add delete account functionality to the account section. Disabled by default and can be enabled through the config. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
148
|
+
|
|
149
|
+
## 8.1.0-canary.39
|
|
150
|
+
|
|
151
|
+
## 8.1.0-canary.38
|
|
152
|
+
|
|
153
|
+
### Minor Changes
|
|
154
|
+
|
|
155
|
+
- [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Add company and vat fields to shipping and billing forms ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
156
|
+
|
|
157
|
+
## 8.1.0-canary.37
|
|
158
|
+
|
|
159
|
+
## 8.1.0-canary.36
|
|
160
|
+
|
|
161
|
+
## 8.1.0-canary.35
|
|
162
|
+
|
|
163
|
+
## 8.1.0-canary.34
|
|
164
|
+
|
|
165
|
+
## 8.1.0-canary.33
|
|
166
|
+
|
|
167
|
+
## 8.1.0-canary.32
|
|
168
|
+
|
|
169
|
+
### Patch Changes
|
|
170
|
+
|
|
171
|
+
- [#2299](https://github.com/graphcommerce-org/graphcommerce/pull/2299) [`85d258a`](https://github.com/graphcommerce-org/graphcommerce/commit/85d258a0d1a48bb1b502cccba30a9844f2257814) - Solve an issue where an env variable wouldn't be coerced to a Number if a Config.graphqls value is defined as an Int/Float ([@paales](https://github.com/paales))
|
|
172
|
+
|
|
173
|
+
## 8.1.0-canary.31
|
|
174
|
+
|
|
175
|
+
## 8.1.0-canary.30
|
|
176
|
+
|
|
177
|
+
## 8.1.0-canary.29
|
|
178
|
+
|
|
179
|
+
## 8.1.0-canary.28
|
|
180
|
+
|
|
181
|
+
### Patch Changes
|
|
182
|
+
|
|
183
|
+
- [#2292](https://github.com/graphcommerce-org/graphcommerce/pull/2292) [`6258adb`](https://github.com/graphcommerce-org/graphcommerce/commit/6258adbe294590ba52d3aaf65712cdc561f32c4c) - Be able to handle plugin runtime values values when parsing the source. Also, make sure parsed plugin sources do not return duplicate plugins. ([@paales](https://github.com/paales))
|
|
184
|
+
|
|
185
|
+
## 8.1.0-canary.27
|
|
186
|
+
|
|
187
|
+
## 8.1.0-canary.26
|
|
188
|
+
|
|
189
|
+
## 8.1.0-canary.25
|
|
190
|
+
|
|
191
|
+
## 8.1.0-canary.24
|
|
192
|
+
|
|
193
|
+
## 8.1.0-canary.23
|
|
194
|
+
|
|
195
|
+
## 8.1.0-canary.22
|
|
196
|
+
|
|
197
|
+
## 8.1.0-canary.21
|
|
198
|
+
|
|
199
|
+
## 8.1.0-canary.20
|
|
200
|
+
|
|
201
|
+
## 8.1.0-canary.19
|
|
202
|
+
|
|
203
|
+
## 8.1.0-canary.18
|
|
204
|
+
|
|
205
|
+
## 8.1.0-canary.17
|
|
206
|
+
|
|
207
|
+
## 8.1.0-canary.16
|
|
208
|
+
|
|
209
|
+
## 8.1.0-canary.15
|
|
210
|
+
|
|
211
|
+
## 8.1.0-canary.14
|
|
212
|
+
|
|
213
|
+
## 8.1.0-canary.13
|
|
214
|
+
|
|
215
|
+
## 8.1.0-canary.12
|
|
216
|
+
|
|
217
|
+
## 8.1.0-canary.11
|
|
218
|
+
|
|
219
|
+
## 8.1.0-canary.10
|
|
220
|
+
|
|
221
|
+
### Patch Changes
|
|
222
|
+
|
|
223
|
+
- [#2251](https://github.com/graphcommerce-org/graphcommerce/pull/2251) [`bc6a9b4`](https://github.com/graphcommerce-org/graphcommerce/commit/bc6a9b4a7e9769977e98449a418bb239f92ec544) - When creating a release PR, make sure it is created against the main branch so it can be directly merged. ([@paales](https://github.com/paales))
|
|
224
|
+
|
|
225
|
+
## 8.1.0-canary.9
|
|
226
|
+
|
|
227
|
+
### Patch Changes
|
|
228
|
+
|
|
229
|
+
- [#2223](https://github.com/graphcommerce-org/graphcommerce/pull/2223) [`4f7fe02`](https://github.com/graphcommerce-org/graphcommerce/commit/4f7fe02c6f0f017d7a52559df1972551eb0cba47) - Added robotsAllow to storefront config ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
230
|
+
|
|
3
231
|
## 8.1.0-canary.8
|
|
4
232
|
|
|
5
233
|
### Patch Changes
|
|
6
234
|
|
|
7
|
-
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`5153904`](https://github.com/graphcommerce-org/graphcommerce/commit/51539045cb3e14424141a65a1fd89216d3ee6fc2) - Added PRIVATE_ADDITIONAL_DEPENDENCIES to enable packages that we do not want to have in the examples directory but we do want to be able to demo.
|
|
8
|
-
([@paales](https://github.com/paales))
|
|
235
|
+
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`5153904`](https://github.com/graphcommerce-org/graphcommerce/commit/51539045cb3e14424141a65a1fd89216d3ee6fc2) - Added PRIVATE_ADDITIONAL_DEPENDENCIES to enable packages that we do not want to have in the examples directory but we do want to be able to demo. ([@paales](https://github.com/paales))
|
|
9
236
|
|
|
10
|
-
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - reduce bundlesize of @apollo/client
|
|
11
|
-
([@paales](https://github.com/paales))
|
|
237
|
+
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - reduce bundlesize of @apollo/client ([@paales](https://github.com/paales))
|
|
12
238
|
|
|
13
|
-
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`81c6c81`](https://github.com/graphcommerce-org/graphcommerce/commit/81c6c81e1b4a31df3c400a3ee4311bdf2b46a2b5) - Solved an issue where the plugins would be generated with the wrong path
|
|
14
|
-
([@paales](https://github.com/paales))
|
|
239
|
+
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`81c6c81`](https://github.com/graphcommerce-org/graphcommerce/commit/81c6c81e1b4a31df3c400a3ee4311bdf2b46a2b5) - Solved an issue where the plugins would be generated with the wrong path ([@paales](https://github.com/paales))
|
|
15
240
|
|
|
16
|
-
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - Suppress warning where a dependency is an expression, Added uglify-es and long as the dependencies couldn’t be found
|
|
17
|
-
([@paales](https://github.com/paales))
|
|
241
|
+
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - Suppress warning where a dependency is an expression, Added uglify-es and long as the dependencies couldn’t be found ([@paales](https://github.com/paales))
|
|
18
242
|
|
|
19
|
-
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`cfc0f4e`](https://github.com/graphcommerce-org/graphcommerce/commit/cfc0f4e015f3b3a7348b882eb7440222b3e26a07) - Make sure the interceptors are generated before the typecheck is ran.
|
|
20
|
-
([@paales](https://github.com/paales))
|
|
243
|
+
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`cfc0f4e`](https://github.com/graphcommerce-org/graphcommerce/commit/cfc0f4e015f3b3a7348b882eb7440222b3e26a07) - Make sure the interceptors are generated before the typecheck is ran. ([@paales](https://github.com/paales))
|
|
21
244
|
|
|
22
|
-
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`444e446`](https://github.com/graphcommerce-org/graphcommerce/commit/444e446a218cc9da3defb940a6d5cce0229ff845) - Added clear upgrade instructions for linguiLocale
|
|
23
|
-
([@paales](https://github.com/paales))
|
|
245
|
+
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`444e446`](https://github.com/graphcommerce-org/graphcommerce/commit/444e446a218cc9da3defb940a6d5cce0229ff845) - Added clear upgrade instructions for linguiLocale ([@paales](https://github.com/paales))
|
|
24
246
|
|
|
25
|
-
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`3f9d8f5`](https://github.com/graphcommerce-org/graphcommerce/commit/3f9d8f5ee9437fa90589ebd8ba8d1e790006b6ae) - Added better interceptor comments and link to original files
|
|
26
|
-
([@paales](https://github.com/paales))
|
|
247
|
+
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`3f9d8f5`](https://github.com/graphcommerce-org/graphcommerce/commit/3f9d8f5ee9437fa90589ebd8ba8d1e790006b6ae) - Added better interceptor comments and link to original files ([@paales](https://github.com/paales))
|
|
27
248
|
|
|
28
249
|
## 8.1.0-canary.7
|
|
29
250
|
|
|
@@ -53,17 +274,17 @@
|
|
|
53
274
|
5. We now support replace plugins (`type: 'replace'`), which allow you to replace the original component/function/const completely (and type checked of course).
|
|
54
275
|
|
|
55
276
|
```tsx
|
|
56
|
-
import { ProductPageNameProps } from
|
|
57
|
-
import { PluginConfig } from
|
|
277
|
+
import { ProductPageNameProps } from '@graphcommerce/magento-product'
|
|
278
|
+
import { PluginConfig } from '@graphcommerce/next-config'
|
|
58
279
|
|
|
59
280
|
export const config: PluginConfig = {
|
|
60
|
-
type:
|
|
61
|
-
module:
|
|
62
|
-
}
|
|
281
|
+
type: 'replace',
|
|
282
|
+
module: '@graphcommerce/magento-product',
|
|
283
|
+
}
|
|
63
284
|
|
|
64
285
|
export function ProductPageName(props: ProductPageNameProps) {
|
|
65
|
-
const { product } = props
|
|
66
|
-
return <div>REPLACEMENT {product.url_key}</div
|
|
286
|
+
const { product } = props
|
|
287
|
+
return <div>REPLACEMENT {product.url_key}</div>
|
|
67
288
|
}
|
|
68
289
|
```
|
|
69
290
|
|
|
@@ -73,10 +294,10 @@
|
|
|
73
294
|
|
|
74
295
|
```tsx
|
|
75
296
|
export const config: PluginConfig = {
|
|
76
|
-
type:
|
|
77
|
-
module:
|
|
78
|
-
ifConfig: [
|
|
79
|
-
}
|
|
297
|
+
type: 'replace',
|
|
298
|
+
module: '@graphcommerce/magento-product',
|
|
299
|
+
ifConfig: ['theme', 'my-theme'],
|
|
300
|
+
}
|
|
80
301
|
```
|
|
81
302
|
|
|
82
303
|
This allows you to support multiple builds with different plugins applied. For example one build with `GC_THEME=my-theme` and another with `GC_THEME=my-other-theme`. ([@paales](https://github.com/paales))
|
|
@@ -85,8 +306,7 @@
|
|
|
85
306
|
|
|
86
307
|
### Patch Changes
|
|
87
308
|
|
|
88
|
-
- [#2227](https://github.com/graphcommerce-org/graphcommerce/pull/2227) [`d597719`](https://github.com/graphcommerce-org/graphcommerce/commit/d597719baaabbe079660ac063fd021d871831511) - Added option to change sort order (ASC / DESC) for sort options (Name, price, position etc) on catalog and search pages.
|
|
89
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
309
|
+
- [#2227](https://github.com/graphcommerce-org/graphcommerce/pull/2227) [`d597719`](https://github.com/graphcommerce-org/graphcommerce/commit/d597719baaabbe079660ac063fd021d871831511) - Added option to change sort order (ASC / DESC) for sort options (Name, price, position etc) on catalog and search pages. ([@FrankHarland](https://github.com/FrankHarland))
|
|
90
310
|
|
|
91
311
|
## 8.0.6-canary.3
|
|
92
312
|
|
|
@@ -94,29 +314,25 @@
|
|
|
94
314
|
|
|
95
315
|
### Patch Changes
|
|
96
316
|
|
|
97
|
-
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores
|
|
98
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
317
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores ([@FrankHarland](https://github.com/FrankHarland))
|
|
99
318
|
|
|
100
319
|
## 8.0.6-canary.1
|
|
101
320
|
|
|
102
321
|
### Patch Changes
|
|
103
322
|
|
|
104
|
-
- [#2213](https://github.com/graphcommerce-org/graphcommerce/pull/2213) [`9b8349f`](https://github.com/graphcommerce-org/graphcommerce/commit/9b8349f0001a786f9b1666f050ae226316bd16f3) - Removed the ProductPage query from the examples directory as it isn't used anymore
|
|
105
|
-
([@paales](https://github.com/paales))
|
|
323
|
+
- [#2213](https://github.com/graphcommerce-org/graphcommerce/pull/2213) [`9b8349f`](https://github.com/graphcommerce-org/graphcommerce/commit/9b8349f0001a786f9b1666f050ae226316bd16f3) - Removed the ProductPage query from the examples directory as it isn't used anymore ([@paales](https://github.com/paales))
|
|
106
324
|
|
|
107
325
|
## 8.0.6-canary.0
|
|
108
326
|
|
|
109
327
|
### Patch Changes
|
|
110
328
|
|
|
111
|
-
- [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use linguiLocale with country identifiers like `en-us`, it would always load `en` in this case. Introced a new `useLocale` hook to use the correct locale string to use in Intl methods.
|
|
112
|
-
([@paales](https://github.com/paales))
|
|
329
|
+
- [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use linguiLocale with country identifiers like `en-us`, it would always load `en` in this case. Introced a new `useLocale` hook to use the correct locale string to use in Intl methods. ([@paales](https://github.com/paales))
|
|
113
330
|
|
|
114
331
|
## 8.0.5
|
|
115
332
|
|
|
116
333
|
### Patch Changes
|
|
117
334
|
|
|
118
|
-
- [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`1a20a34`](https://github.com/graphcommerce-org/graphcommerce/commit/1a20a34a8b55781ee3e88731b5e2623a85c64ccd) - Enable bundlePagesExternals for Vercel environments
|
|
119
|
-
([@paales](https://github.com/paales))
|
|
335
|
+
- [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`1a20a34`](https://github.com/graphcommerce-org/graphcommerce/commit/1a20a34a8b55781ee3e88731b5e2623a85c64ccd) - Enable bundlePagesExternals for Vercel environments ([@paales](https://github.com/paales))
|
|
120
336
|
|
|
121
337
|
## 8.0.5-canary.10
|
|
122
338
|
|
|
@@ -136,8 +352,7 @@
|
|
|
136
352
|
|
|
137
353
|
### Patch Changes
|
|
138
354
|
|
|
139
|
-
- [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`1a20a34`](https://github.com/graphcommerce-org/graphcommerce/commit/1a20a34a8b55781ee3e88731b5e2623a85c64ccd) - Enable bundlePagesExternals for Vercel environments
|
|
140
|
-
([@paales](https://github.com/paales))
|
|
355
|
+
- [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`1a20a34`](https://github.com/graphcommerce-org/graphcommerce/commit/1a20a34a8b55781ee3e88731b5e2623a85c64ccd) - Enable bundlePagesExternals for Vercel environments ([@paales](https://github.com/paales))
|
|
141
356
|
|
|
142
357
|
## 8.0.5-canary.2
|
|
143
358
|
|
|
@@ -193,37 +408,27 @@
|
|
|
193
408
|
|
|
194
409
|
### Minor Changes
|
|
195
410
|
|
|
196
|
-
- [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`437f467`](https://github.com/graphcommerce-org/graphcommerce/commit/437f467ce1bd9182954be753f1ce17056ab62e85) - Upgraded the graphcommerce repo to the yarn 4 package manager
|
|
197
|
-
([@paales](https://github.com/paales))
|
|
411
|
+
- [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`437f467`](https://github.com/graphcommerce-org/graphcommerce/commit/437f467ce1bd9182954be753f1ce17056ab62e85) - Upgraded the graphcommerce repo to the yarn 4 package manager ([@paales](https://github.com/paales))
|
|
198
412
|
|
|
199
413
|
### Patch Changes
|
|
200
414
|
|
|
201
|
-
- [#2156](https://github.com/graphcommerce-org/graphcommerce/pull/2156) [`69b816c`](https://github.com/graphcommerce-org/graphcommerce/commit/69b816cd739af2999ec2a5053f09b9bb10379c52) - Updated dependencies. Fixed trace-to-tree.mjs to debug build perf and added trace-to-event-format.mjs for compatibility with about://tracing.
|
|
202
|
-
([@paales](https://github.com/paales))
|
|
415
|
+
- [#2156](https://github.com/graphcommerce-org/graphcommerce/pull/2156) [`69b816c`](https://github.com/graphcommerce-org/graphcommerce/commit/69b816cd739af2999ec2a5053f09b9bb10379c52) - Updated dependencies. Fixed trace-to-tree.mjs to debug build perf and added trace-to-event-format.mjs for compatibility with about://tracing. ([@paales](https://github.com/paales))
|
|
203
416
|
|
|
204
|
-
- [#2078](https://github.com/graphcommerce-org/graphcommerce/pull/2078) [`5f409e6`](https://github.com/graphcommerce-org/graphcommerce/commit/5f409e617afae36d5c6224f3c6eb8d085fc2e84c) - Added @graphcommerce packages in node_modules to nextjs watch options
|
|
205
|
-
([@KMalkowski](https://github.com/KMalkowski))
|
|
417
|
+
- [#2078](https://github.com/graphcommerce-org/graphcommerce/pull/2078) [`5f409e6`](https://github.com/graphcommerce-org/graphcommerce/commit/5f409e617afae36d5c6224f3c6eb8d085fc2e84c) - Added @graphcommerce packages in node_modules to nextjs watch options ([@KMalkowski](https://github.com/KMalkowski))
|
|
206
418
|
|
|
207
|
-
- [#2129](https://github.com/graphcommerce-org/graphcommerce/pull/2129) [`dca4490`](https://github.com/graphcommerce-org/graphcommerce/commit/dca4490b97319e9d4117277719adef395ed1e7b4) - Created `./devcontainer/devcontainer.json` to automatically run Graphcommerce after opening Codespaces
|
|
208
|
-
([@action-simon](https://github.com/action-simon))
|
|
419
|
+
- [#2129](https://github.com/graphcommerce-org/graphcommerce/pull/2129) [`dca4490`](https://github.com/graphcommerce-org/graphcommerce/commit/dca4490b97319e9d4117277719adef395ed1e7b4) - Created `./devcontainer/devcontainer.json` to automatically run Graphcommerce after opening Codespaces ([@action-simon](https://github.com/action-simon))
|
|
209
420
|
|
|
210
|
-
- [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`6306182`](https://github.com/graphcommerce-org/graphcommerce/commit/6306182196321bdab509a8dcfe09eb00da10303a) - Moved all internal `@graphcommerce/*` dependencies to `peerDependencies` and resolve remaining peer dependency issues
|
|
211
|
-
([@paales](https://github.com/paales))
|
|
421
|
+
- [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`6306182`](https://github.com/graphcommerce-org/graphcommerce/commit/6306182196321bdab509a8dcfe09eb00da10303a) - Moved all internal `@graphcommerce/*` dependencies to `peerDependencies` and resolve remaining peer dependency issues ([@paales](https://github.com/paales))
|
|
212
422
|
|
|
213
|
-
- [`d267f19`](https://github.com/graphcommerce-org/graphcommerce/commit/d267f19d6ab85f7dc1088974b3fee6148a537c20) - Disable the pagination thumbnails
|
|
214
|
-
([@paales](https://github.com/paales))
|
|
423
|
+
- [`d267f19`](https://github.com/graphcommerce-org/graphcommerce/commit/d267f19d6ab85f7dc1088974b3fee6148a537c20) - Disable the pagination thumbnails ([@paales](https://github.com/paales))
|
|
215
424
|
|
|
216
|
-
- [#2172](https://github.com/graphcommerce-org/graphcommerce/pull/2172) [`279599e`](https://github.com/graphcommerce-org/graphcommerce/commit/279599e7a86bd96ea9e36065af3c367df9e02a63) - Updated examples in the documentation to reflect the changes made in GraphCommerce.
|
|
217
|
-
([@paales](https://github.com/paales))
|
|
425
|
+
- [#2172](https://github.com/graphcommerce-org/graphcommerce/pull/2172) [`279599e`](https://github.com/graphcommerce-org/graphcommerce/commit/279599e7a86bd96ea9e36065af3c367df9e02a63) - Updated examples in the documentation to reflect the changes made in GraphCommerce. ([@paales](https://github.com/paales))
|
|
218
426
|
|
|
219
|
-
- [#2116](https://github.com/graphcommerce-org/graphcommerce/pull/2116) [`e0e5e82`](https://github.com/graphcommerce-org/graphcommerce/commit/e0e5e82af36ca38a78fc031e0c680daaab5909ad) - Node.js version of gitpod updated to node 18
|
|
220
|
-
([@action-simon](https://github.com/action-simon))
|
|
427
|
+
- [#2116](https://github.com/graphcommerce-org/graphcommerce/pull/2116) [`e0e5e82`](https://github.com/graphcommerce-org/graphcommerce/commit/e0e5e82af36ca38a78fc031e0c680daaab5909ad) - Node.js version of gitpod updated to node 18 ([@action-simon](https://github.com/action-simon))
|
|
221
428
|
|
|
222
|
-
- [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`77b1bac`](https://github.com/graphcommerce-org/graphcommerce/commit/77b1bac4db9c903a29c3969823da663875408be0) - Upgraded to nextjs 14.0.2, and updated other related dependencies. Removed @mui/material/modern alias as that doesnt work in combination with nextjs 14.0.2.
|
|
223
|
-
([@paales](https://github.com/paales))
|
|
429
|
+
- [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`77b1bac`](https://github.com/graphcommerce-org/graphcommerce/commit/77b1bac4db9c903a29c3969823da663875408be0) - Upgraded to nextjs 14.0.2, and updated other related dependencies. Removed @mui/material/modern alias as that doesnt work in combination with nextjs 14.0.2. ([@paales](https://github.com/paales))
|
|
224
430
|
|
|
225
|
-
- [#2169](https://github.com/graphcommerce-org/graphcommerce/pull/2169) [`eab3f0b`](https://github.com/graphcommerce-org/graphcommerce/commit/eab3f0b0b459f5b6cc4e50d787ac1e8ae545b708) - Solve issue where a Hygraph DynamicRow conditions were missing fields in the OrCondition
|
|
226
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
431
|
+
- [#2169](https://github.com/graphcommerce-org/graphcommerce/pull/2169) [`eab3f0b`](https://github.com/graphcommerce-org/graphcommerce/commit/eab3f0b0b459f5b6cc4e50d787ac1e8ae545b708) - Solve issue where a Hygraph DynamicRow conditions were missing fields in the OrCondition ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
227
432
|
|
|
228
433
|
## 8.0.0-canary.100
|
|
229
434
|
|
|
@@ -241,15 +446,13 @@
|
|
|
241
446
|
|
|
242
447
|
### Patch Changes
|
|
243
448
|
|
|
244
|
-
- [#2169](https://github.com/graphcommerce-org/graphcommerce/pull/2169) [`eab3f0b`](https://github.com/graphcommerce-org/graphcommerce/commit/eab3f0b0b459f5b6cc4e50d787ac1e8ae545b708) - Solve issue where a Hygraph DynamicRow conditions were missing fields in the OrCondition
|
|
245
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
449
|
+
- [#2169](https://github.com/graphcommerce-org/graphcommerce/pull/2169) [`eab3f0b`](https://github.com/graphcommerce-org/graphcommerce/commit/eab3f0b0b459f5b6cc4e50d787ac1e8ae545b708) - Solve issue where a Hygraph DynamicRow conditions were missing fields in the OrCondition ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
246
450
|
|
|
247
451
|
## 8.0.0-canary.93
|
|
248
452
|
|
|
249
453
|
### Patch Changes
|
|
250
454
|
|
|
251
|
-
- [`d267f19`](https://github.com/graphcommerce-org/graphcommerce/commit/d267f19d6ab85f7dc1088974b3fee6148a537c20) - Disable the pagination thumbnails
|
|
252
|
-
([@paales](https://github.com/paales))
|
|
455
|
+
- [`d267f19`](https://github.com/graphcommerce-org/graphcommerce/commit/d267f19d6ab85f7dc1088974b3fee6148a537c20) - Disable the pagination thumbnails ([@paales](https://github.com/paales))
|
|
253
456
|
|
|
254
457
|
## 8.0.0-canary.92
|
|
255
458
|
|
|
@@ -257,8 +460,7 @@
|
|
|
257
460
|
|
|
258
461
|
### Patch Changes
|
|
259
462
|
|
|
260
|
-
- [#2172](https://github.com/graphcommerce-org/graphcommerce/pull/2172) [`279599e`](https://github.com/graphcommerce-org/graphcommerce/commit/279599e7a86bd96ea9e36065af3c367df9e02a63) - Updated documentation to reflect recent code changes
|
|
261
|
-
([@paales](https://github.com/paales))
|
|
463
|
+
- [#2172](https://github.com/graphcommerce-org/graphcommerce/pull/2172) [`279599e`](https://github.com/graphcommerce-org/graphcommerce/commit/279599e7a86bd96ea9e36065af3c367df9e02a63) - Updated documentation to reflect recent code changes ([@paales](https://github.com/paales))
|
|
262
464
|
|
|
263
465
|
## 8.0.0-canary.90
|
|
264
466
|
|
|
@@ -312,8 +514,7 @@
|
|
|
312
514
|
|
|
313
515
|
### Patch Changes
|
|
314
516
|
|
|
315
|
-
- [#2156](https://github.com/graphcommerce-org/graphcommerce/pull/2156) [`69b816c`](https://github.com/graphcommerce-org/graphcommerce/commit/69b816cd739af2999ec2a5053f09b9bb10379c52) - Updated dependencies. Fixed trace-to-tree.mjs to debug build perf and added trace-to-event-format.mjs for compatibility with about://tracing.
|
|
316
|
-
([@paales](https://github.com/paales))
|
|
517
|
+
- [#2156](https://github.com/graphcommerce-org/graphcommerce/pull/2156) [`69b816c`](https://github.com/graphcommerce-org/graphcommerce/commit/69b816cd739af2999ec2a5053f09b9bb10379c52) - Updated dependencies. Fixed trace-to-tree.mjs to debug build perf and added trace-to-event-format.mjs for compatibility with about://tracing. ([@paales](https://github.com/paales))
|
|
317
518
|
|
|
318
519
|
## 7.1.0-canary.65
|
|
319
520
|
|
package/Config.graphqls
CHANGED
|
@@ -138,11 +138,11 @@ input GraphCommerceStorefrontConfig {
|
|
|
138
138
|
"""
|
|
139
139
|
locale: String!
|
|
140
140
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
"""
|
|
142
|
+
Allow the site to be indexed by search engines.
|
|
143
|
+
If false, the robots.txt file will be set to disallow all.
|
|
144
|
+
"""
|
|
145
|
+
robotsAllow: Boolean
|
|
146
146
|
|
|
147
147
|
"""
|
|
148
148
|
The canonical base URL is used for SEO purposes.
|