@graphcommerce/docs 8.0.6-canary.4 → 8.0.6
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 +1 -14
- package/framework/config.md +3 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 8.0.6
|
|
4
|
-
|
|
5
|
-
## 8.0.6-canary.3
|
|
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))
|
|
3
|
+
## 8.0.6
|
|
17
4
|
|
|
18
5
|
## 8.0.5
|
|
19
6
|
|
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.6
|
|
5
|
+
"version": "8.0.6",
|
|
6
6
|
"sideEffects": true,
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.6
|
|
8
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.6"
|
|
9
9
|
},
|
|
10
10
|
"prettier": "@graphcommerce/prettier-config-pwa"
|
|
11
11
|
}
|