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