@graphcommerce/docs 6.0.1-canary.0 → 6.0.1-canary.2
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 +4 -0
- package/framework/config.md +3 -10
- package/package.json +2 -2
- package/upgrading/readme.md +2 -2
package/CHANGELOG.md
CHANGED
package/framework/config.md
CHANGED
|
@@ -45,8 +45,8 @@ endpoint: '{graphCommerce.magentoEndpoint}'
|
|
|
45
45
|
Configuration values can be overwriten by environment variables, with the following rules:
|
|
46
46
|
- Convert from camelCase to `SCREAMING_SNAKE_CASE`
|
|
47
47
|
- Prefix with `GC_`
|
|
48
|
-
- Arrays can be indexed with _0
|
|
49
|
-
- Objects can be accessed with _<key
|
|
48
|
+
- Arrays can be indexed with `_0`, `_1`, `_2`, etc.
|
|
49
|
+
- Objects can be accessed with `_<key>`.
|
|
50
50
|
|
|
51
51
|
Examples:
|
|
52
52
|
- `limitSsg` -> `GC_LIMIT_SSG="1"`
|
|
@@ -64,14 +64,7 @@ Create a graphql/Config.graphqls file in your project and extend the GraphCommer
|
|
|
64
64
|
|
|
65
65
|
```graphql
|
|
66
66
|
extend input GraphCommerceConfig {
|
|
67
|
-
|
|
68
|
-
myRequiredBoolean: Boolean!
|
|
69
|
-
myOptionalString: String
|
|
70
|
-
myRequiredString: String!
|
|
71
|
-
myOptionalInt: Int
|
|
72
|
-
myRequiredInt: Int!
|
|
73
|
-
myOptionalFloat: Float
|
|
74
|
-
myRequiredFloat: Float!
|
|
67
|
+
myConfig: String # or Boolean, or Int, or Float, make required with `!`
|
|
75
68
|
}
|
|
76
69
|
extend input GraphCommerceStorefrontConfig {
|
|
77
70
|
myField: Boolean
|
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": "6.0.1-canary.
|
|
5
|
+
"version": "6.0.1-canary.2",
|
|
6
6
|
"sideEffects": true,
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@graphcommerce/prettier-config-pwa": "6.0.1-canary.
|
|
8
|
+
"@graphcommerce/prettier-config-pwa": "6.0.1-canary.2"
|
|
9
9
|
},
|
|
10
10
|
"prettier": "@graphcommerce/prettier-config-pwa"
|
|
11
11
|
}
|
package/upgrading/readme.md
CHANGED
|
@@ -106,7 +106,7 @@ find . -type f -name '*.rej' -delete
|
|
|
106
106
|
|
|
107
107
|
After resolving the diff issues, manually process upgrade instructions:
|
|
108
108
|
|
|
109
|
-
- [Upgrading to GraphCommerce 5 to 6](
|
|
109
|
+
- [Upgrading to GraphCommerce 5 to 6](../upgrading/graphcommerce-5-to-6.md)
|
|
110
110
|
|
|
111
111
|
Run and validate your local environment:
|
|
112
112
|
|
|
@@ -116,4 +116,4 @@ Run and validate your local environment:
|
|
|
116
116
|
|
|
117
117
|
## Next steps
|
|
118
118
|
|
|
119
|
-
- Learn how to [contribute to GraphCommerce](
|
|
119
|
+
- Learn how to [contribute to GraphCommerce](../contributing.md)
|