@graphcommerce/magento-product-downloadable 8.0.6 → 8.0.7
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 +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.7
|
|
4
|
+
|
|
3
5
|
## 8.0.6
|
|
4
6
|
|
|
5
7
|
## 8.0.5
|
|
@@ -1240,31 +1242,31 @@
|
|
|
1240
1242
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1241
1243
|
|
|
1242
1244
|
```tsx
|
|
1243
|
-
import { Trans, t } from
|
|
1245
|
+
import { Trans, t } from '@lingui/macro'
|
|
1244
1246
|
|
|
1245
1247
|
function MyComponent() {
|
|
1246
|
-
const foo =
|
|
1248
|
+
const foo = 'bar'
|
|
1247
1249
|
return (
|
|
1248
1250
|
<div aria-label={t`Account ${foo}`}>
|
|
1249
1251
|
<Trans>My Translation {foo}</Trans>
|
|
1250
1252
|
</div>
|
|
1251
|
-
)
|
|
1253
|
+
)
|
|
1252
1254
|
}
|
|
1253
1255
|
```
|
|
1254
1256
|
|
|
1255
1257
|
Needs to be replaced with:
|
|
1256
1258
|
|
|
1257
1259
|
```tsx
|
|
1258
|
-
import { Trans } from
|
|
1259
|
-
import { i18n } from
|
|
1260
|
+
import { Trans } from '@lingui/react'
|
|
1261
|
+
import { i18n } from '@lingui/core'
|
|
1260
1262
|
|
|
1261
1263
|
function MyComponent() {
|
|
1262
|
-
const foo =
|
|
1264
|
+
const foo = 'bar'
|
|
1263
1265
|
return (
|
|
1264
1266
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1265
|
-
<Trans key=
|
|
1267
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1266
1268
|
</div>
|
|
1267
|
-
)
|
|
1269
|
+
)
|
|
1268
1270
|
}
|
|
1269
1271
|
```
|
|
1270
1272
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-product-downloadable",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "8.0.
|
|
5
|
+
"version": "8.0.7",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^8.0.
|
|
16
|
-
"@graphcommerce/graphql": "^8.0.
|
|
17
|
-
"@graphcommerce/magento-cart": "^8.0.
|
|
18
|
-
"@graphcommerce/magento-product": "^8.0.
|
|
19
|
-
"@graphcommerce/magento-store": "^8.0.
|
|
20
|
-
"@graphcommerce/next-ui": "^8.0.
|
|
21
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.
|
|
22
|
-
"@graphcommerce/typescript-config-pwa": "^8.0.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.7",
|
|
16
|
+
"@graphcommerce/graphql": "^8.0.7",
|
|
17
|
+
"@graphcommerce/magento-cart": "^8.0.7",
|
|
18
|
+
"@graphcommerce/magento-product": "^8.0.7",
|
|
19
|
+
"@graphcommerce/magento-store": "^8.0.7",
|
|
20
|
+
"@graphcommerce/next-ui": "^8.0.7",
|
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.7",
|
|
22
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.7",
|
|
23
23
|
"@lingui/core": "^4.2.1",
|
|
24
24
|
"@lingui/macro": "^4.2.1",
|
|
25
25
|
"@lingui/react": "^4.2.1",
|