@graphcommerce/magento-cms 8.0.0-canary.40 → 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 +56 -10
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,54 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 8.0.0-canary.
|
|
3
|
+
## 8.0.0-canary.69
|
|
4
4
|
|
|
5
|
-
## 7.1.0-canary.
|
|
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
|
|
6
52
|
|
|
7
53
|
## 7.1.0-canary.38
|
|
8
54
|
|
|
@@ -906,31 +952,31 @@
|
|
|
906
952
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
907
953
|
|
|
908
954
|
```tsx
|
|
909
|
-
import { Trans, t } from
|
|
955
|
+
import { Trans, t } from "@lingui/macro";
|
|
910
956
|
|
|
911
957
|
function MyComponent() {
|
|
912
|
-
const foo =
|
|
958
|
+
const foo = "bar";
|
|
913
959
|
return (
|
|
914
960
|
<div aria-label={t`Account ${foo}`}>
|
|
915
961
|
<Trans>My Translation {foo}</Trans>
|
|
916
962
|
</div>
|
|
917
|
-
)
|
|
963
|
+
);
|
|
918
964
|
}
|
|
919
965
|
```
|
|
920
966
|
|
|
921
967
|
Needs to be replaced with:
|
|
922
968
|
|
|
923
969
|
```tsx
|
|
924
|
-
import { Trans } from
|
|
925
|
-
import { i18n } from
|
|
970
|
+
import { Trans } from "@lingui/react";
|
|
971
|
+
import { i18n } from "@lingui/core";
|
|
926
972
|
|
|
927
973
|
function MyComponent() {
|
|
928
|
-
const foo =
|
|
974
|
+
const foo = "bar";
|
|
929
975
|
return (
|
|
930
976
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
931
|
-
<Trans key=
|
|
977
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
932
978
|
</div>
|
|
933
|
-
)
|
|
979
|
+
);
|
|
934
980
|
}
|
|
935
981
|
```
|
|
936
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": "8.0.0-canary.
|
|
5
|
+
"version": "8.0.0-canary.69",
|
|
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.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",
|
|
20
20
|
"@lingui/core": "^4.2.1",
|
|
21
21
|
"@lingui/macro": "^4.2.1",
|
|
22
22
|
"@lingui/react": "^4.2.1",
|