@graphcommerce/docs 7.0.1-canary.2 → 7.0.1-canary.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 +8 -0
- package/package.json +2 -2
- package/upgrading/graphcommerce-6-to-7.md +2 -28
- package/upgrading/readme.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.0.1-canary.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2050](https://github.com/graphcommerce-org/graphcommerce/pull/2050) [`b2e9be816`](https://github.com/graphcommerce-org/graphcommerce/commit/b2e9be816d24518241b3b1bbaa167e2143203488) - Remove 'Translation file updates' from upgrade instructions and add back scrollRestoration ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
9
|
+
## 7.0.1-canary.3
|
|
10
|
+
|
|
3
11
|
## 7.0.1-canary.2
|
|
4
12
|
|
|
5
13
|
## 7.0.1-canary.1
|
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": "7.0.1-canary.
|
|
5
|
+
"version": "7.0.1-canary.4",
|
|
6
6
|
"sideEffects": true,
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@graphcommerce/prettier-config-pwa": "7.0.1-canary.
|
|
8
|
+
"@graphcommerce/prettier-config-pwa": "7.0.1-canary.4"
|
|
9
9
|
},
|
|
10
10
|
"prettier": "@graphcommerce/prettier-config-pwa"
|
|
11
11
|
}
|
|
@@ -5,9 +5,8 @@ steps. Please follow the regular [upgrade steps first](./readme.md).
|
|
|
5
5
|
|
|
6
6
|
1. [Add `fetchPolicy: cache-first` to LayoutDocument](#add-cache-first-fetchpolicy-to-layoutdocument)
|
|
7
7
|
2. [Use thew new `hygraphPageContent` function instead of DefaultPageQuery](#use-the-new-hygraphpagecontent-function-instead-of-defaultpagequery)
|
|
8
|
-
3. [
|
|
9
|
-
4. [
|
|
10
|
-
5. [Upgrading your Hygraph schema](#upgrading-your-hygraph-schema)
|
|
8
|
+
3. [All @graphql-mesh/\* should be set to latest](#all-graphql-mesh-should-be-set-to-latest)
|
|
9
|
+
4. [Upgrading your Hygraph schema](#upgrading-your-hygraph-schema)
|
|
11
10
|
|
|
12
11
|
## Add `fetchPolicy: cache-first` to LayoutDocument queries
|
|
13
12
|
|
|
@@ -43,31 +42,6 @@ const page = staticClient.query({
|
|
|
43
42
|
const page = hygraphPageContent(staticClient, `blog/${urlKey}`)
|
|
44
43
|
```
|
|
45
44
|
|
|
46
|
-
## Translation file updates
|
|
47
|
-
|
|
48
|
-
🟠 Only required if you've added custom translations
|
|
49
|
-
|
|
50
|
-
All locales files now require a `msgid` comment. All translations need to have a
|
|
51
|
-
`#. js-lingui-explicit-id` comment added. This could be done with a
|
|
52
|
-
find-and-replace:
|
|
53
|
-
|
|
54
|
-
Find (including the empty line)
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
msgid
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
Replace with (including the empty line)
|
|
62
|
-
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
#. js-lingui-explicit-id
|
|
66
|
-
msgid
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
To validate your translations run `yarn lingui` to extract everything.
|
|
70
|
-
|
|
71
45
|
## All @graphql-mesh/\* should be set to latest.
|
|
72
46
|
|
|
73
47
|
🟠 Only required if you've added custom @graphql-mesh/\* packages
|