@graphcommerce/magento-cms 7.1.0-canary.9 → 8.0.0-canary.69
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 +116 -8
- package/package.json +8 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,113 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.0-canary.69
|
|
4
|
+
|
|
5
|
+
## 7.1.0-canary.68
|
|
6
|
+
|
|
7
|
+
## 7.1.0-canary.67
|
|
8
|
+
|
|
9
|
+
## 7.1.0-canary.66
|
|
10
|
+
|
|
11
|
+
## 7.1.0-canary.65
|
|
12
|
+
|
|
13
|
+
## 7.1.0-canary.64
|
|
14
|
+
|
|
15
|
+
## 7.1.0-canary.63
|
|
16
|
+
|
|
17
|
+
## 7.1.0-canary.62
|
|
18
|
+
|
|
19
|
+
## 7.1.0-canary.61
|
|
20
|
+
|
|
21
|
+
## 7.1.0-canary.60
|
|
22
|
+
|
|
23
|
+
## 7.1.0-canary.59
|
|
24
|
+
|
|
25
|
+
## 7.1.0-canary.58
|
|
26
|
+
|
|
27
|
+
## 7.1.0-canary.57
|
|
28
|
+
|
|
29
|
+
## 7.1.0-canary.56
|
|
30
|
+
|
|
31
|
+
## 7.1.0-canary.55
|
|
32
|
+
|
|
33
|
+
## 7.1.0-canary.54
|
|
34
|
+
|
|
35
|
+
## 7.1.0-canary.53
|
|
36
|
+
|
|
37
|
+
## 7.1.0-canary.52
|
|
38
|
+
|
|
39
|
+
## 7.1.0-canary.51
|
|
40
|
+
|
|
41
|
+
## 7.1.0-canary.50
|
|
42
|
+
|
|
43
|
+
## 7.1.0-canary.49
|
|
44
|
+
|
|
45
|
+
## 7.1.0-canary.48
|
|
46
|
+
|
|
47
|
+
## 7.1.0-canary.47
|
|
48
|
+
|
|
49
|
+
## 7.1.0-canary.46
|
|
50
|
+
|
|
51
|
+
## 7.1.0-canary.45
|
|
52
|
+
|
|
53
|
+
## 7.1.0-canary.38
|
|
54
|
+
|
|
55
|
+
## 7.1.0-canary.37
|
|
56
|
+
|
|
57
|
+
## 7.1.0-canary.36
|
|
58
|
+
|
|
59
|
+
## 7.1.0-canary.35
|
|
60
|
+
|
|
61
|
+
## 7.1.0-canary.34
|
|
62
|
+
|
|
63
|
+
## 7.1.0-canary.33
|
|
64
|
+
|
|
65
|
+
## 7.1.0-canary.32
|
|
66
|
+
|
|
67
|
+
## 7.1.0-canary.31
|
|
68
|
+
|
|
69
|
+
## 7.1.0-canary.30
|
|
70
|
+
|
|
71
|
+
## 7.1.0-canary.29
|
|
72
|
+
|
|
73
|
+
## 7.1.0-canary.28
|
|
74
|
+
|
|
75
|
+
## 7.1.0-canary.27
|
|
76
|
+
|
|
77
|
+
## 7.1.0-canary.26
|
|
78
|
+
|
|
79
|
+
## 7.1.0-canary.25
|
|
80
|
+
|
|
81
|
+
## 7.1.0-canary.24
|
|
82
|
+
|
|
83
|
+
## 7.1.0-canary.23
|
|
84
|
+
|
|
85
|
+
## 7.1.0-canary.22
|
|
86
|
+
|
|
87
|
+
## 7.1.0-canary.21
|
|
88
|
+
|
|
89
|
+
## 7.1.0-canary.20
|
|
90
|
+
|
|
91
|
+
## 7.1.0-canary.19
|
|
92
|
+
|
|
93
|
+
## 7.1.0-canary.18
|
|
94
|
+
|
|
95
|
+
## 7.1.0-canary.17
|
|
96
|
+
|
|
97
|
+
## 7.1.0-canary.16
|
|
98
|
+
|
|
99
|
+
## 7.1.0-canary.15
|
|
100
|
+
|
|
101
|
+
## 7.1.0-canary.14
|
|
102
|
+
|
|
103
|
+
## 7.1.0-canary.13
|
|
104
|
+
|
|
105
|
+
## 7.1.0-canary.12
|
|
106
|
+
|
|
107
|
+
## 7.1.0-canary.11
|
|
108
|
+
|
|
109
|
+
## 7.1.0-canary.10
|
|
110
|
+
|
|
3
111
|
## 7.1.0-canary.9
|
|
4
112
|
|
|
5
113
|
## 7.1.0-canary.8
|
|
@@ -844,31 +952,31 @@
|
|
|
844
952
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
845
953
|
|
|
846
954
|
```tsx
|
|
847
|
-
import { Trans, t } from
|
|
955
|
+
import { Trans, t } from "@lingui/macro";
|
|
848
956
|
|
|
849
957
|
function MyComponent() {
|
|
850
|
-
const foo =
|
|
958
|
+
const foo = "bar";
|
|
851
959
|
return (
|
|
852
960
|
<div aria-label={t`Account ${foo}`}>
|
|
853
961
|
<Trans>My Translation {foo}</Trans>
|
|
854
962
|
</div>
|
|
855
|
-
)
|
|
963
|
+
);
|
|
856
964
|
}
|
|
857
965
|
```
|
|
858
966
|
|
|
859
967
|
Needs to be replaced with:
|
|
860
968
|
|
|
861
969
|
```tsx
|
|
862
|
-
import { Trans } from
|
|
863
|
-
import { i18n } from
|
|
970
|
+
import { Trans } from "@lingui/react";
|
|
971
|
+
import { i18n } from "@lingui/core";
|
|
864
972
|
|
|
865
973
|
function MyComponent() {
|
|
866
|
-
const foo =
|
|
974
|
+
const foo = "bar";
|
|
867
975
|
return (
|
|
868
976
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
869
|
-
<Trans key=
|
|
977
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
870
978
|
</div>
|
|
871
|
-
)
|
|
979
|
+
);
|
|
872
980
|
}
|
|
873
981
|
```
|
|
874
982
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-cms",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "8.0.0-canary.69",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -11,21 +11,17 @@
|
|
|
11
11
|
"project": "./tsconfig.json"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "7.1.0-canary.9",
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "7.1.0-canary.9",
|
|
17
|
-
"@graphcommerce/typescript-config-pwa": "7.1.0-canary.9"
|
|
18
|
-
},
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"@graphcommerce/graphql": "7.1.0-canary.9",
|
|
21
|
-
"@graphcommerce/magento-store": "7.1.0-canary.9"
|
|
22
|
-
},
|
|
23
14
|
"peerDependencies": {
|
|
24
|
-
"@
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.0-canary.69",
|
|
16
|
+
"@graphcommerce/graphql": "^8.0.0-canary.69",
|
|
17
|
+
"@graphcommerce/magento-store": "^8.0.0-canary.69",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.0-canary.69",
|
|
19
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.0-canary.69",
|
|
25
20
|
"@lingui/core": "^4.2.1",
|
|
26
21
|
"@lingui/macro": "^4.2.1",
|
|
22
|
+
"@lingui/react": "^4.2.1",
|
|
27
23
|
"@mui/material": "^5.10.16",
|
|
28
|
-
"next": "
|
|
24
|
+
"next": "*",
|
|
29
25
|
"react": "^18.2.0",
|
|
30
26
|
"react-dom": "^18.2.0"
|
|
31
27
|
}
|