@graphcommerce/magento-cms 7.1.0-canary.9 → 8.0.0-canary.100
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 +178 -8
- package/package.json +8 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,175 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.0-canary.100
|
|
4
|
+
|
|
5
|
+
## 8.0.0-canary.99
|
|
6
|
+
|
|
7
|
+
## 8.0.0-canary.98
|
|
8
|
+
|
|
9
|
+
## 8.0.0-canary.97
|
|
10
|
+
|
|
11
|
+
## 8.0.0-canary.96
|
|
12
|
+
|
|
13
|
+
## 8.0.0-canary.95
|
|
14
|
+
|
|
15
|
+
## 8.0.0-canary.94
|
|
16
|
+
|
|
17
|
+
## 8.0.0-canary.93
|
|
18
|
+
|
|
19
|
+
## 8.0.0-canary.92
|
|
20
|
+
|
|
21
|
+
## 8.0.0-canary.91
|
|
22
|
+
|
|
23
|
+
## 8.0.0-canary.90
|
|
24
|
+
|
|
25
|
+
## 8.0.0-canary.89
|
|
26
|
+
|
|
27
|
+
## 8.0.0-canary.88
|
|
28
|
+
|
|
29
|
+
## 8.0.0-canary.87
|
|
30
|
+
|
|
31
|
+
## 8.0.0-canary.86
|
|
32
|
+
|
|
33
|
+
## 8.0.0-canary.85
|
|
34
|
+
|
|
35
|
+
## 8.0.0-canary.84
|
|
36
|
+
|
|
37
|
+
## 8.0.0-canary.83
|
|
38
|
+
|
|
39
|
+
## 8.0.0-canary.82
|
|
40
|
+
|
|
41
|
+
## 8.0.0-canary.81
|
|
42
|
+
|
|
43
|
+
## 8.0.0-canary.80
|
|
44
|
+
|
|
45
|
+
## 8.0.0-canary.79
|
|
46
|
+
|
|
47
|
+
## 8.0.0-canary.78
|
|
48
|
+
|
|
49
|
+
## 8.0.0-canary.77
|
|
50
|
+
|
|
51
|
+
## 8.0.0-canary.76
|
|
52
|
+
|
|
53
|
+
## 8.0.0-canary.75
|
|
54
|
+
|
|
55
|
+
## 8.0.0-canary.74
|
|
56
|
+
|
|
57
|
+
## 8.0.0-canary.73
|
|
58
|
+
|
|
59
|
+
## 8.0.0-canary.72
|
|
60
|
+
|
|
61
|
+
## 8.0.0-canary.71
|
|
62
|
+
|
|
63
|
+
## 8.0.0-canary.70
|
|
64
|
+
|
|
65
|
+
## 8.0.0-canary.69
|
|
66
|
+
|
|
67
|
+
## 7.1.0-canary.68
|
|
68
|
+
|
|
69
|
+
## 7.1.0-canary.67
|
|
70
|
+
|
|
71
|
+
## 7.1.0-canary.66
|
|
72
|
+
|
|
73
|
+
## 7.1.0-canary.65
|
|
74
|
+
|
|
75
|
+
## 7.1.0-canary.64
|
|
76
|
+
|
|
77
|
+
## 7.1.0-canary.63
|
|
78
|
+
|
|
79
|
+
## 7.1.0-canary.62
|
|
80
|
+
|
|
81
|
+
## 7.1.0-canary.61
|
|
82
|
+
|
|
83
|
+
## 7.1.0-canary.60
|
|
84
|
+
|
|
85
|
+
## 7.1.0-canary.59
|
|
86
|
+
|
|
87
|
+
## 7.1.0-canary.58
|
|
88
|
+
|
|
89
|
+
## 7.1.0-canary.57
|
|
90
|
+
|
|
91
|
+
## 7.1.0-canary.56
|
|
92
|
+
|
|
93
|
+
## 7.1.0-canary.55
|
|
94
|
+
|
|
95
|
+
## 7.1.0-canary.54
|
|
96
|
+
|
|
97
|
+
## 7.1.0-canary.53
|
|
98
|
+
|
|
99
|
+
## 7.1.0-canary.52
|
|
100
|
+
|
|
101
|
+
## 7.1.0-canary.51
|
|
102
|
+
|
|
103
|
+
## 7.1.0-canary.50
|
|
104
|
+
|
|
105
|
+
## 7.1.0-canary.49
|
|
106
|
+
|
|
107
|
+
## 7.1.0-canary.48
|
|
108
|
+
|
|
109
|
+
## 7.1.0-canary.47
|
|
110
|
+
|
|
111
|
+
## 7.1.0-canary.46
|
|
112
|
+
|
|
113
|
+
## 7.1.0-canary.45
|
|
114
|
+
|
|
115
|
+
## 7.1.0-canary.38
|
|
116
|
+
|
|
117
|
+
## 7.1.0-canary.37
|
|
118
|
+
|
|
119
|
+
## 7.1.0-canary.36
|
|
120
|
+
|
|
121
|
+
## 7.1.0-canary.35
|
|
122
|
+
|
|
123
|
+
## 7.1.0-canary.34
|
|
124
|
+
|
|
125
|
+
## 7.1.0-canary.33
|
|
126
|
+
|
|
127
|
+
## 7.1.0-canary.32
|
|
128
|
+
|
|
129
|
+
## 7.1.0-canary.31
|
|
130
|
+
|
|
131
|
+
## 7.1.0-canary.30
|
|
132
|
+
|
|
133
|
+
## 7.1.0-canary.29
|
|
134
|
+
|
|
135
|
+
## 7.1.0-canary.28
|
|
136
|
+
|
|
137
|
+
## 7.1.0-canary.27
|
|
138
|
+
|
|
139
|
+
## 7.1.0-canary.26
|
|
140
|
+
|
|
141
|
+
## 7.1.0-canary.25
|
|
142
|
+
|
|
143
|
+
## 7.1.0-canary.24
|
|
144
|
+
|
|
145
|
+
## 7.1.0-canary.23
|
|
146
|
+
|
|
147
|
+
## 7.1.0-canary.22
|
|
148
|
+
|
|
149
|
+
## 7.1.0-canary.21
|
|
150
|
+
|
|
151
|
+
## 7.1.0-canary.20
|
|
152
|
+
|
|
153
|
+
## 7.1.0-canary.19
|
|
154
|
+
|
|
155
|
+
## 7.1.0-canary.18
|
|
156
|
+
|
|
157
|
+
## 7.1.0-canary.17
|
|
158
|
+
|
|
159
|
+
## 7.1.0-canary.16
|
|
160
|
+
|
|
161
|
+
## 7.1.0-canary.15
|
|
162
|
+
|
|
163
|
+
## 7.1.0-canary.14
|
|
164
|
+
|
|
165
|
+
## 7.1.0-canary.13
|
|
166
|
+
|
|
167
|
+
## 7.1.0-canary.12
|
|
168
|
+
|
|
169
|
+
## 7.1.0-canary.11
|
|
170
|
+
|
|
171
|
+
## 7.1.0-canary.10
|
|
172
|
+
|
|
3
173
|
## 7.1.0-canary.9
|
|
4
174
|
|
|
5
175
|
## 7.1.0-canary.8
|
|
@@ -844,31 +1014,31 @@
|
|
|
844
1014
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
845
1015
|
|
|
846
1016
|
```tsx
|
|
847
|
-
import { Trans, t } from
|
|
1017
|
+
import { Trans, t } from "@lingui/macro";
|
|
848
1018
|
|
|
849
1019
|
function MyComponent() {
|
|
850
|
-
const foo =
|
|
1020
|
+
const foo = "bar";
|
|
851
1021
|
return (
|
|
852
1022
|
<div aria-label={t`Account ${foo}`}>
|
|
853
1023
|
<Trans>My Translation {foo}</Trans>
|
|
854
1024
|
</div>
|
|
855
|
-
)
|
|
1025
|
+
);
|
|
856
1026
|
}
|
|
857
1027
|
```
|
|
858
1028
|
|
|
859
1029
|
Needs to be replaced with:
|
|
860
1030
|
|
|
861
1031
|
```tsx
|
|
862
|
-
import { Trans } from
|
|
863
|
-
import { i18n } from
|
|
1032
|
+
import { Trans } from "@lingui/react";
|
|
1033
|
+
import { i18n } from "@lingui/core";
|
|
864
1034
|
|
|
865
1035
|
function MyComponent() {
|
|
866
|
-
const foo =
|
|
1036
|
+
const foo = "bar";
|
|
867
1037
|
return (
|
|
868
1038
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
869
|
-
<Trans key=
|
|
1039
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
870
1040
|
</div>
|
|
871
|
-
)
|
|
1041
|
+
);
|
|
872
1042
|
}
|
|
873
1043
|
```
|
|
874
1044
|
|
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.100",
|
|
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.100",
|
|
16
|
+
"@graphcommerce/graphql": "^8.0.0-canary.100",
|
|
17
|
+
"@graphcommerce/magento-store": "^8.0.0-canary.100",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.0-canary.100",
|
|
19
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.0-canary.100",
|
|
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
|
}
|