@graphcommerce/magento-product-downloadable 8.0.6-canary.4 → 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 -16
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 8.0.
|
|
3
|
+
## 8.0.7
|
|
4
4
|
|
|
5
|
-
## 8.0.6
|
|
6
|
-
|
|
7
|
-
## 8.0.6-canary.2
|
|
8
|
-
|
|
9
|
-
## 8.0.6-canary.1
|
|
10
|
-
|
|
11
|
-
## 8.0.6-canary.0
|
|
5
|
+
## 8.0.6
|
|
12
6
|
|
|
13
7
|
## 8.0.5
|
|
14
8
|
|
|
@@ -1248,31 +1242,31 @@
|
|
|
1248
1242
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1249
1243
|
|
|
1250
1244
|
```tsx
|
|
1251
|
-
import { Trans, t } from
|
|
1245
|
+
import { Trans, t } from '@lingui/macro'
|
|
1252
1246
|
|
|
1253
1247
|
function MyComponent() {
|
|
1254
|
-
const foo =
|
|
1248
|
+
const foo = 'bar'
|
|
1255
1249
|
return (
|
|
1256
1250
|
<div aria-label={t`Account ${foo}`}>
|
|
1257
1251
|
<Trans>My Translation {foo}</Trans>
|
|
1258
1252
|
</div>
|
|
1259
|
-
)
|
|
1253
|
+
)
|
|
1260
1254
|
}
|
|
1261
1255
|
```
|
|
1262
1256
|
|
|
1263
1257
|
Needs to be replaced with:
|
|
1264
1258
|
|
|
1265
1259
|
```tsx
|
|
1266
|
-
import { Trans } from
|
|
1267
|
-
import { i18n } from
|
|
1260
|
+
import { Trans } from '@lingui/react'
|
|
1261
|
+
import { i18n } from '@lingui/core'
|
|
1268
1262
|
|
|
1269
1263
|
function MyComponent() {
|
|
1270
|
-
const foo =
|
|
1264
|
+
const foo = 'bar'
|
|
1271
1265
|
return (
|
|
1272
1266
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1273
|
-
<Trans key=
|
|
1267
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1274
1268
|
</div>
|
|
1275
|
-
)
|
|
1269
|
+
)
|
|
1276
1270
|
}
|
|
1277
1271
|
```
|
|
1278
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",
|