@graphcommerce/magento-cms 8.0.0-canary.40 → 8.0.0-canary.70
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 +58 -10
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,56 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 8.0.0-canary.
|
|
3
|
+
## 8.0.0-canary.70
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 8.0.0-canary.69
|
|
6
|
+
|
|
7
|
+
## 7.1.0-canary.68
|
|
8
|
+
|
|
9
|
+
## 7.1.0-canary.67
|
|
10
|
+
|
|
11
|
+
## 7.1.0-canary.66
|
|
12
|
+
|
|
13
|
+
## 7.1.0-canary.65
|
|
14
|
+
|
|
15
|
+
## 7.1.0-canary.64
|
|
16
|
+
|
|
17
|
+
## 7.1.0-canary.63
|
|
18
|
+
|
|
19
|
+
## 7.1.0-canary.62
|
|
20
|
+
|
|
21
|
+
## 7.1.0-canary.61
|
|
22
|
+
|
|
23
|
+
## 7.1.0-canary.60
|
|
24
|
+
|
|
25
|
+
## 7.1.0-canary.59
|
|
26
|
+
|
|
27
|
+
## 7.1.0-canary.58
|
|
28
|
+
|
|
29
|
+
## 7.1.0-canary.57
|
|
30
|
+
|
|
31
|
+
## 7.1.0-canary.56
|
|
32
|
+
|
|
33
|
+
## 7.1.0-canary.55
|
|
34
|
+
|
|
35
|
+
## 7.1.0-canary.54
|
|
36
|
+
|
|
37
|
+
## 7.1.0-canary.53
|
|
38
|
+
|
|
39
|
+
## 7.1.0-canary.52
|
|
40
|
+
|
|
41
|
+
## 7.1.0-canary.51
|
|
42
|
+
|
|
43
|
+
## 7.1.0-canary.50
|
|
44
|
+
|
|
45
|
+
## 7.1.0-canary.49
|
|
46
|
+
|
|
47
|
+
## 7.1.0-canary.48
|
|
48
|
+
|
|
49
|
+
## 7.1.0-canary.47
|
|
50
|
+
|
|
51
|
+
## 7.1.0-canary.46
|
|
52
|
+
|
|
53
|
+
## 7.1.0-canary.45
|
|
6
54
|
|
|
7
55
|
## 7.1.0-canary.38
|
|
8
56
|
|
|
@@ -906,31 +954,31 @@
|
|
|
906
954
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
907
955
|
|
|
908
956
|
```tsx
|
|
909
|
-
import { Trans, t } from
|
|
957
|
+
import { Trans, t } from "@lingui/macro";
|
|
910
958
|
|
|
911
959
|
function MyComponent() {
|
|
912
|
-
const foo =
|
|
960
|
+
const foo = "bar";
|
|
913
961
|
return (
|
|
914
962
|
<div aria-label={t`Account ${foo}`}>
|
|
915
963
|
<Trans>My Translation {foo}</Trans>
|
|
916
964
|
</div>
|
|
917
|
-
)
|
|
965
|
+
);
|
|
918
966
|
}
|
|
919
967
|
```
|
|
920
968
|
|
|
921
969
|
Needs to be replaced with:
|
|
922
970
|
|
|
923
971
|
```tsx
|
|
924
|
-
import { Trans } from
|
|
925
|
-
import { i18n } from
|
|
972
|
+
import { Trans } from "@lingui/react";
|
|
973
|
+
import { i18n } from "@lingui/core";
|
|
926
974
|
|
|
927
975
|
function MyComponent() {
|
|
928
|
-
const foo =
|
|
976
|
+
const foo = "bar";
|
|
929
977
|
return (
|
|
930
978
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
931
|
-
<Trans key=
|
|
979
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
932
980
|
</div>
|
|
933
|
-
)
|
|
981
|
+
);
|
|
934
982
|
}
|
|
935
983
|
```
|
|
936
984
|
|
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": "8.0.0-canary.
|
|
5
|
+
"version": "8.0.0-canary.70",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "8.0.0-canary.
|
|
16
|
-
"@graphcommerce/graphql": "8.0.0-canary.
|
|
17
|
-
"@graphcommerce/magento-store": "8.0.0-canary.
|
|
18
|
-
"@graphcommerce/prettier-config-pwa": "8.0.0-canary.
|
|
19
|
-
"@graphcommerce/typescript-config-pwa": "8.0.0-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.0-canary.70",
|
|
16
|
+
"@graphcommerce/graphql": "^8.0.0-canary.70",
|
|
17
|
+
"@graphcommerce/magento-store": "^8.0.0-canary.70",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.0-canary.70",
|
|
19
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.0-canary.70",
|
|
20
20
|
"@lingui/core": "^4.2.1",
|
|
21
21
|
"@lingui/macro": "^4.2.1",
|
|
22
22
|
"@lingui/react": "^4.2.1",
|