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