@graphcommerce/magento-cms 7.1.0-canary.64 → 7.1.0-canary.66
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 +12 -8
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.1.0-canary.66
|
|
4
|
+
|
|
5
|
+
## 7.1.0-canary.65
|
|
6
|
+
|
|
3
7
|
## 7.1.0-canary.64
|
|
4
8
|
|
|
5
9
|
## 7.1.0-canary.63
|
|
@@ -942,31 +946,31 @@
|
|
|
942
946
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
943
947
|
|
|
944
948
|
```tsx
|
|
945
|
-
import { Trans, t } from
|
|
949
|
+
import { Trans, t } from "@lingui/macro";
|
|
946
950
|
|
|
947
951
|
function MyComponent() {
|
|
948
|
-
const foo =
|
|
952
|
+
const foo = "bar";
|
|
949
953
|
return (
|
|
950
954
|
<div aria-label={t`Account ${foo}`}>
|
|
951
955
|
<Trans>My Translation {foo}</Trans>
|
|
952
956
|
</div>
|
|
953
|
-
)
|
|
957
|
+
);
|
|
954
958
|
}
|
|
955
959
|
```
|
|
956
960
|
|
|
957
961
|
Needs to be replaced with:
|
|
958
962
|
|
|
959
963
|
```tsx
|
|
960
|
-
import { Trans } from
|
|
961
|
-
import { i18n } from
|
|
964
|
+
import { Trans } from "@lingui/react";
|
|
965
|
+
import { i18n } from "@lingui/core";
|
|
962
966
|
|
|
963
967
|
function MyComponent() {
|
|
964
|
-
const foo =
|
|
968
|
+
const foo = "bar";
|
|
965
969
|
return (
|
|
966
970
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
967
|
-
<Trans key=
|
|
971
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
968
972
|
</div>
|
|
969
|
-
)
|
|
973
|
+
);
|
|
970
974
|
}
|
|
971
975
|
```
|
|
972
976
|
|
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": "7.1.0-canary.
|
|
5
|
+
"version": "7.1.0-canary.66",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.
|
|
16
|
-
"@graphcommerce/graphql": "^7.1.0-canary.
|
|
17
|
-
"@graphcommerce/magento-store": "^7.1.0-canary.
|
|
18
|
-
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.
|
|
19
|
-
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.66",
|
|
16
|
+
"@graphcommerce/graphql": "^7.1.0-canary.66",
|
|
17
|
+
"@graphcommerce/magento-store": "^7.1.0-canary.66",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.66",
|
|
19
|
+
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.66",
|
|
20
20
|
"@lingui/core": "^4.2.1",
|
|
21
21
|
"@lingui/macro": "^4.2.1",
|
|
22
22
|
"@lingui/react": "^4.2.1",
|
|
23
23
|
"@mui/material": "^5.10.16",
|
|
24
|
-
"next": "
|
|
24
|
+
"next": "*",
|
|
25
25
|
"react": "^18.2.0",
|
|
26
26
|
"react-dom": "^18.2.0"
|
|
27
27
|
}
|