@graphcommerce/docs 8.0.6-canary.4 → 8.0.7
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 +26 -53
- package/framework/config.md +3 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,8 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 8.0.
|
|
3
|
+
## 8.0.7
|
|
4
4
|
|
|
5
|
-
## 8.0.6
|
|
6
|
-
|
|
7
|
-
## 8.0.6-canary.2
|
|
8
|
-
|
|
9
|
-
## 8.0.6-canary.1
|
|
10
|
-
|
|
11
|
-
## 8.0.6-canary.0
|
|
12
|
-
|
|
13
|
-
### Patch Changes
|
|
14
|
-
|
|
15
|
-
- [#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.
|
|
16
|
-
([@paales](https://github.com/paales))
|
|
5
|
+
## 8.0.6
|
|
17
6
|
|
|
18
7
|
## 8.0.5
|
|
19
8
|
|
|
@@ -65,11 +54,9 @@
|
|
|
65
54
|
|
|
66
55
|
### Patch Changes
|
|
67
56
|
|
|
68
|
-
- [#2195](https://github.com/graphcommerce-org/graphcommerce/pull/2195) [`207cd41`](https://github.com/graphcommerce-org/graphcommerce/commit/207cd4147621e53353b0b354c80d575df78089f0) - Documentation on multistore setup added
|
|
69
|
-
([@paales](https://github.com/paales))
|
|
57
|
+
- [#2195](https://github.com/graphcommerce-org/graphcommerce/pull/2195) [`207cd41`](https://github.com/graphcommerce-org/graphcommerce/commit/207cd4147621e53353b0b354c80d575df78089f0) - Documentation on multistore setup added ([@paales](https://github.com/paales))
|
|
70
58
|
|
|
71
|
-
- [#2193](https://github.com/graphcommerce-org/graphcommerce/pull/2193) [`317250a`](https://github.com/graphcommerce-org/graphcommerce/commit/317250a580b9f0b5175d9df93ba2cf62193ea383) - Updated docs to reflect featurelist more accurately
|
|
72
|
-
([@paales](https://github.com/paales))
|
|
59
|
+
- [#2193](https://github.com/graphcommerce-org/graphcommerce/pull/2193) [`317250a`](https://github.com/graphcommerce-org/graphcommerce/commit/317250a580b9f0b5175d9df93ba2cf62193ea383) - Updated docs to reflect featurelist more accurately ([@paales](https://github.com/paales))
|
|
73
60
|
|
|
74
61
|
## 8.0.2-canary.3
|
|
75
62
|
|
|
@@ -79,25 +66,21 @@
|
|
|
79
66
|
|
|
80
67
|
### Patch Changes
|
|
81
68
|
|
|
82
|
-
- [#2193](https://github.com/graphcommerce-org/graphcommerce/pull/2193) [`317250a`](https://github.com/graphcommerce-org/graphcommerce/commit/317250a580b9f0b5175d9df93ba2cf62193ea383) - Updated docs to reflect featurelist more accurately
|
|
83
|
-
([@paales](https://github.com/paales))
|
|
69
|
+
- [#2193](https://github.com/graphcommerce-org/graphcommerce/pull/2193) [`317250a`](https://github.com/graphcommerce-org/graphcommerce/commit/317250a580b9f0b5175d9df93ba2cf62193ea383) - Updated docs to reflect featurelist more accurately ([@paales](https://github.com/paales))
|
|
84
70
|
|
|
85
71
|
## 8.0.2-canary.0
|
|
86
72
|
|
|
87
73
|
### Patch Changes
|
|
88
74
|
|
|
89
|
-
- [#2195](https://github.com/graphcommerce-org/graphcommerce/pull/2195) [`207cd41`](https://github.com/graphcommerce-org/graphcommerce/commit/207cd4147621e53353b0b354c80d575df78089f0) - Documentation on multistore setup added
|
|
90
|
-
([@paales](https://github.com/paales))
|
|
75
|
+
- [#2195](https://github.com/graphcommerce-org/graphcommerce/pull/2195) [`207cd41`](https://github.com/graphcommerce-org/graphcommerce/commit/207cd4147621e53353b0b354c80d575df78089f0) - Documentation on multistore setup added ([@paales](https://github.com/paales))
|
|
91
76
|
|
|
92
77
|
## 8.0.1
|
|
93
78
|
|
|
94
79
|
### Patch Changes
|
|
95
80
|
|
|
96
|
-
- [#2186](https://github.com/graphcommerce-org/graphcommerce/pull/2186) [`09eb25c`](https://github.com/graphcommerce-org/graphcommerce/commit/09eb25c9892bf4cf57519024e31c2ae4cf2f7a0b) - Update Magento known issues
|
|
97
|
-
([@hnsr](https://github.com/hnsr))
|
|
81
|
+
- [#2186](https://github.com/graphcommerce-org/graphcommerce/pull/2186) [`09eb25c`](https://github.com/graphcommerce-org/graphcommerce/commit/09eb25c9892bf4cf57519024e31c2ae4cf2f7a0b) - Update Magento known issues ([@hnsr](https://github.com/hnsr))
|
|
98
82
|
|
|
99
|
-
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`6c4cee8`](https://github.com/graphcommerce-org/graphcommerce/commit/6c4cee8469ee4934281bda53ac96aeb5af2f9479) - Make sure the config page can be properly rendered in the docs
|
|
100
|
-
([@paales](https://github.com/paales))
|
|
83
|
+
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`6c4cee8`](https://github.com/graphcommerce-org/graphcommerce/commit/6c4cee8469ee4934281bda53ac96aeb5af2f9479) - Make sure the config page can be properly rendered in the docs ([@paales](https://github.com/paales))
|
|
101
84
|
|
|
102
85
|
## 8.0.1-canary.4
|
|
103
86
|
|
|
@@ -109,39 +92,31 @@
|
|
|
109
92
|
|
|
110
93
|
### Patch Changes
|
|
111
94
|
|
|
112
|
-
- [#2186](https://github.com/graphcommerce-org/graphcommerce/pull/2186) [`09eb25c`](https://github.com/graphcommerce-org/graphcommerce/commit/09eb25c9892bf4cf57519024e31c2ae4cf2f7a0b) - Update Magento known issues
|
|
113
|
-
([@hnsr](https://github.com/hnsr))
|
|
95
|
+
- [#2186](https://github.com/graphcommerce-org/graphcommerce/pull/2186) [`09eb25c`](https://github.com/graphcommerce-org/graphcommerce/commit/09eb25c9892bf4cf57519024e31c2ae4cf2f7a0b) - Update Magento known issues ([@hnsr](https://github.com/hnsr))
|
|
114
96
|
|
|
115
97
|
## 8.0.1-canary.0
|
|
116
98
|
|
|
117
99
|
### Patch Changes
|
|
118
100
|
|
|
119
|
-
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`6c4cee8`](https://github.com/graphcommerce-org/graphcommerce/commit/6c4cee8469ee4934281bda53ac96aeb5af2f9479) - Make sure the config page can be properly rendered in the docs
|
|
120
|
-
([@paales](https://github.com/paales))
|
|
101
|
+
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`6c4cee8`](https://github.com/graphcommerce-org/graphcommerce/commit/6c4cee8469ee4934281bda53ac96aeb5af2f9479) - Make sure the config page can be properly rendered in the docs ([@paales](https://github.com/paales))
|
|
121
102
|
|
|
122
103
|
## 8.0.0
|
|
123
104
|
|
|
124
105
|
### Minor Changes
|
|
125
106
|
|
|
126
|
-
- [#2106](https://github.com/graphcommerce-org/graphcommerce/pull/2106) [`9f8c3ca`](https://github.com/graphcommerce-org/graphcommerce/commit/9f8c3cac214006315055f37cf8d4a783eb99a7ec) - Split off Magento known issues to separate page
|
|
127
|
-
([@hnsr](https://github.com/hnsr))
|
|
107
|
+
- [#2106](https://github.com/graphcommerce-org/graphcommerce/pull/2106) [`9f8c3ca`](https://github.com/graphcommerce-org/graphcommerce/commit/9f8c3cac214006315055f37cf8d4a783eb99a7ec) - Split off Magento known issues to separate page ([@hnsr](https://github.com/hnsr))
|
|
128
108
|
|
|
129
109
|
### Patch Changes
|
|
130
110
|
|
|
131
|
-
- [#2112](https://github.com/graphcommerce-org/graphcommerce/pull/2112) [`15a2037`](https://github.com/graphcommerce-org/graphcommerce/commit/15a2037372cd615602d3e2f3deedba9766fc172c) - Make the "Search" string translatable and fix typo.
|
|
132
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
111
|
+
- [#2112](https://github.com/graphcommerce-org/graphcommerce/pull/2112) [`15a2037`](https://github.com/graphcommerce-org/graphcommerce/commit/15a2037372cd615602d3e2f3deedba9766fc172c) - Make the "Search" string translatable and fix typo. ([@carlocarels90](https://github.com/carlocarels90))
|
|
133
112
|
|
|
134
|
-
- [`b850ab0`](https://github.com/graphcommerce-org/graphcommerce/commit/b850ab06e3fff1cd274651d8082557ed2c308f55) - Updated roadmap and feature-list
|
|
135
|
-
([@paales](https://github.com/paales))
|
|
113
|
+
- [`b850ab0`](https://github.com/graphcommerce-org/graphcommerce/commit/b850ab06e3fff1cd274651d8082557ed2c308f55) - Updated roadmap and feature-list ([@paales](https://github.com/paales))
|
|
136
114
|
|
|
137
|
-
- [#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.
|
|
138
|
-
([@paales](https://github.com/paales))
|
|
115
|
+
- [#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))
|
|
139
116
|
|
|
140
|
-
- [#2119](https://github.com/graphcommerce-org/graphcommerce/pull/2119) [`6adb2e7`](https://github.com/graphcommerce-org/graphcommerce/commit/6adb2e72ece8210757ced178779dfba11b1bcf55) - Clarify texts by adding formatting and correcting spelling.
|
|
141
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
117
|
+
- [#2119](https://github.com/graphcommerce-org/graphcommerce/pull/2119) [`6adb2e7`](https://github.com/graphcommerce-org/graphcommerce/commit/6adb2e72ece8210757ced178779dfba11b1bcf55) - Clarify texts by adding formatting and correcting spelling. ([@carlocarels90](https://github.com/carlocarels90))
|
|
142
118
|
|
|
143
|
-
- [#2104](https://github.com/graphcommerce-org/graphcommerce/pull/2104) [`d0f1f5a`](https://github.com/graphcommerce-org/graphcommerce/commit/d0f1f5a2d1380d1c3931e23218924d5e8b1fc60d) - Document workaround/patch for broken cart error handling with Magento 2.4.6.
|
|
144
|
-
([@hnsr](https://github.com/hnsr))
|
|
119
|
+
- [#2104](https://github.com/graphcommerce-org/graphcommerce/pull/2104) [`d0f1f5a`](https://github.com/graphcommerce-org/graphcommerce/commit/d0f1f5a2d1380d1c3931e23218924d5e8b1fc60d) - Document workaround/patch for broken cart error handling with Magento 2.4.6. ([@hnsr](https://github.com/hnsr))
|
|
145
120
|
|
|
146
121
|
## 8.0.0-canary.100
|
|
147
122
|
|
|
@@ -165,8 +140,7 @@
|
|
|
165
140
|
|
|
166
141
|
### Patch Changes
|
|
167
142
|
|
|
168
|
-
- [#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
|
|
169
|
-
([@paales](https://github.com/paales))
|
|
143
|
+
- [#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))
|
|
170
144
|
|
|
171
145
|
## 8.0.0-canary.90
|
|
172
146
|
|
|
@@ -174,8 +148,7 @@
|
|
|
174
148
|
|
|
175
149
|
### Patch Changes
|
|
176
150
|
|
|
177
|
-
- [`b850ab0`](https://github.com/graphcommerce-org/graphcommerce/commit/b850ab06e3fff1cd274651d8082557ed2c308f55) - Updated roadmap and feature-list
|
|
178
|
-
([@paales](https://github.com/paales))
|
|
151
|
+
- [`b850ab0`](https://github.com/graphcommerce-org/graphcommerce/commit/b850ab06e3fff1cd274651d8082557ed2c308f55) - Updated roadmap and feature-list ([@paales](https://github.com/paales))
|
|
179
152
|
|
|
180
153
|
## 8.0.0-canary.88
|
|
181
154
|
|
|
@@ -1164,31 +1137,31 @@
|
|
|
1164
1137
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1165
1138
|
|
|
1166
1139
|
```tsx
|
|
1167
|
-
import { Trans, t } from
|
|
1140
|
+
import { Trans, t } from '@lingui/macro'
|
|
1168
1141
|
|
|
1169
1142
|
function MyComponent() {
|
|
1170
|
-
const foo =
|
|
1143
|
+
const foo = 'bar'
|
|
1171
1144
|
return (
|
|
1172
1145
|
<div aria-label={t`Account ${foo}`}>
|
|
1173
1146
|
<Trans>My Translation {foo}</Trans>
|
|
1174
1147
|
</div>
|
|
1175
|
-
)
|
|
1148
|
+
)
|
|
1176
1149
|
}
|
|
1177
1150
|
```
|
|
1178
1151
|
|
|
1179
1152
|
Needs to be replaced with:
|
|
1180
1153
|
|
|
1181
1154
|
```tsx
|
|
1182
|
-
import { Trans } from
|
|
1183
|
-
import { i18n } from
|
|
1155
|
+
import { Trans } from '@lingui/react'
|
|
1156
|
+
import { i18n } from '@lingui/core'
|
|
1184
1157
|
|
|
1185
1158
|
function MyComponent() {
|
|
1186
|
-
const foo =
|
|
1159
|
+
const foo = 'bar'
|
|
1187
1160
|
return (
|
|
1188
1161
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1189
|
-
<Trans key=
|
|
1162
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1190
1163
|
</div>
|
|
1191
|
-
)
|
|
1164
|
+
)
|
|
1192
1165
|
}
|
|
1193
1166
|
```
|
|
1194
1167
|
|
package/framework/config.md
CHANGED
|
@@ -66,7 +66,7 @@ Examples:
|
|
|
66
66
|
|
|
67
67
|
You can export configuration by running `yarn graphcommerce export-config`
|
|
68
68
|
|
|
69
|
-
## Extending the configuration in your
|
|
69
|
+
## Extending the configuration in your project
|
|
70
70
|
|
|
71
71
|
Create a graphql/Config.graphqls file in your project and extend the GraphCommerceConfig, GraphCommerceStorefrontConfig inputs to add configuration.
|
|
72
72
|
|
|
@@ -344,9 +344,7 @@ All storefront configuration for the project
|
|
|
344
344
|
|
|
345
345
|
#### locale: string (required)
|
|
346
346
|
|
|
347
|
-
Must be a
|
|
348
|
-
|
|
349
|
-
This value can be used as a sub-path identifier only, make sure linguiLocale is configured for each URL.
|
|
347
|
+
Must be a locale string https://www.unicode.org/reports/tr35/tr35-59/tr35.html#Identifiers
|
|
350
348
|
|
|
351
349
|
#### magentoStoreCode: string (required)
|
|
352
350
|
|
|
@@ -402,9 +400,7 @@ Add a gcms-locales header to make sure queries return in a certain language, can
|
|
|
402
400
|
|
|
403
401
|
#### linguiLocale: string
|
|
404
402
|
|
|
405
|
-
Specify a custom locale for to load translations.
|
|
406
|
-
|
|
407
|
-
This value is also used for the Intl.
|
|
403
|
+
Specify a custom locale for to load translations.
|
|
408
404
|
|
|
409
405
|
### MagentoConfigurableVariantValues
|
|
410
406
|
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "@graphcommerce/docs",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/docs",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce/docs",
|
|
5
|
-
"version": "8.0.
|
|
5
|
+
"version": "8.0.7",
|
|
6
6
|
"sideEffects": true,
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.
|
|
8
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.7"
|
|
9
9
|
},
|
|
10
10
|
"prettier": "@graphcommerce/prettier-config-pwa"
|
|
11
11
|
}
|