@graphcommerce/magento-cms 7.1.0-canary.65 → 7.1.0-canary.67
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.67
|
|
4
|
+
|
|
5
|
+
## 7.1.0-canary.66
|
|
6
|
+
|
|
3
7
|
## 7.1.0-canary.65
|
|
4
8
|
|
|
5
9
|
## 7.1.0-canary.64
|
|
@@ -944,31 +948,31 @@
|
|
|
944
948
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
945
949
|
|
|
946
950
|
```tsx
|
|
947
|
-
import { Trans, t } from
|
|
951
|
+
import { Trans, t } from "@lingui/macro";
|
|
948
952
|
|
|
949
953
|
function MyComponent() {
|
|
950
|
-
const foo =
|
|
954
|
+
const foo = "bar";
|
|
951
955
|
return (
|
|
952
956
|
<div aria-label={t`Account ${foo}`}>
|
|
953
957
|
<Trans>My Translation {foo}</Trans>
|
|
954
958
|
</div>
|
|
955
|
-
)
|
|
959
|
+
);
|
|
956
960
|
}
|
|
957
961
|
```
|
|
958
962
|
|
|
959
963
|
Needs to be replaced with:
|
|
960
964
|
|
|
961
965
|
```tsx
|
|
962
|
-
import { Trans } from
|
|
963
|
-
import { i18n } from
|
|
966
|
+
import { Trans } from "@lingui/react";
|
|
967
|
+
import { i18n } from "@lingui/core";
|
|
964
968
|
|
|
965
969
|
function MyComponent() {
|
|
966
|
-
const foo =
|
|
970
|
+
const foo = "bar";
|
|
967
971
|
return (
|
|
968
972
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
969
|
-
<Trans key=
|
|
973
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
970
974
|
</div>
|
|
971
|
-
)
|
|
975
|
+
);
|
|
972
976
|
}
|
|
973
977
|
```
|
|
974
978
|
|
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.67",
|
|
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.67",
|
|
16
|
+
"@graphcommerce/graphql": "^7.1.0-canary.67",
|
|
17
|
+
"@graphcommerce/magento-store": "^7.1.0-canary.67",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.67",
|
|
19
|
+
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.67",
|
|
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
|
}
|