@graphcommerce/magento-product 4.0.0 β†’ 4.0.3

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 CHANGED
@@ -1,5 +1,84 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
8
+ Thanks [@paales](https://github.com/paales)! - made packages public
9
+
10
+ * [#1278](https://github.com/ho-nl/m2-pwa/pull/1278)
11
+ [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20)
12
+ Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Upgraded dependencies to the latest version
13
+
14
+ * Updated dependencies
15
+ [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
16
+ [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
17
+ [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
18
+ [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
19
+ - @graphcommerce/framer-scroller@2.0.3
20
+ - @graphcommerce/graphql@3.0.3
21
+ - @graphcommerce/image@3.1.0
22
+ - @graphcommerce/magento-cart@4.1.2
23
+ - @graphcommerce/magento-store@4.0.3
24
+ - @graphcommerce/next-ui@4.1.2
25
+
26
+ ## 4.0.2
27
+
28
+ ### Patch Changes
29
+
30
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
31
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
32
+ Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
33
+ `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
34
+ duplicate packages in the node_modules folders.
35
+
36
+ * [#1274](https://github.com/ho-nl/m2-pwa/pull/1274)
37
+ [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275)
38
+ Thanks [@paales](https://github.com/paales)! - Fixed extraction of translations and updated
39
+ various translations for english πŸ‡ΊπŸ‡ΈπŸ‡¬πŸ‡§ and dutch πŸ‡³πŸ‡±
40
+
41
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
42
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
43
+ Thanks [@paales](https://github.com/paales)! - Upgraded to
44
+ [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
45
+ implementing
46
+ [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
47
+ soon.
48
+
49
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
50
+ frontend to be able to revalidate pages manually.
51
+
52
+ - Updated dependencies
53
+ [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
54
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
55
+ [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
56
+ [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
57
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d),
58
+ [`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
59
+ - @graphcommerce/magento-cart@4.1.1
60
+ - @graphcommerce/next-ui@4.1.1
61
+ - @graphcommerce/framer-scroller@2.0.2
62
+ - @graphcommerce/graphql@3.0.2
63
+ - @graphcommerce/image@3.0.2
64
+ - @graphcommerce/magento-store@4.0.2
65
+
66
+ ## 4.0.1
67
+
68
+ ### Patch Changes
69
+
70
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
71
+ Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
72
+ so that the packages link to back to the website and repository
73
+ - Updated dependencies
74
+ [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
75
+ - @graphcommerce/framer-scroller@2.0.1
76
+ - @graphcommerce/graphql@3.0.1
77
+ - @graphcommerce/image@3.0.1
78
+ - @graphcommerce/magento-cart@4.0.1
79
+ - @graphcommerce/magento-store@4.0.1
80
+ - @graphcommerce/next-ui@4.0.1
81
+
3
82
  ## 4.0.0
4
83
 
5
84
  ### Major Changes
@@ -9,6 +9,7 @@ import {
9
9
  SvgIcon,
10
10
  extendableComponent,
11
11
  } from '@graphcommerce/next-ui'
12
+ import { Trans } from '@lingui/macro'
12
13
  import { Divider, Typography, ButtonProps, Box } from '@mui/material'
13
14
  import PageLink from 'next/link'
14
15
  import React from 'react'
@@ -100,9 +101,9 @@ export default function ProductAddToCart(
100
101
  </PageLink>
101
102
  }
102
103
  >
103
- <>
104
- <strong>{name}</strong>&nbsp;has been added to your shopping cart!
105
- </>
104
+ <Trans>
105
+ <strong>{name}</strong> has been added to your shopping cart!
106
+ </Trans>
106
107
  </MessageSnackbar>
107
108
  </Box>
108
109
  )
@@ -36,7 +36,7 @@ export function ProductListCount(props: ProductCountProps) {
36
36
  <Divider component='div' className={classes.line} />
37
37
  <Typography variant='body2' color='text.disabled' className={classes.count}>
38
38
  {total_count === 0 && <Trans>no products</Trans>}
39
- {total_count === 1 && <Trans>one products</Trans>}
39
+ {total_count === 1 && <Trans>one product</Trans>}
40
40
  {(total_count ?? 0) > 1 && <Trans>{total_count} products</Trans>}
41
41
  </Typography>
42
42
  <Divider component='div' className={classes.line} />
package/package.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-product",
3
- "version": "4.0.0",
3
+ "homepage": "https://www.graphcommerce.org/",
4
+ "repository": "github:graphcommerce-org/graphcommerce",
5
+ "version": "4.0.3",
4
6
  "sideEffects": false,
5
7
  "prettier": "@graphcommerce/prettier-config-pwa",
6
8
  "eslintConfig": {
@@ -10,25 +12,27 @@
10
12
  }
11
13
  },
12
14
  "devDependencies": {
13
- "@graphcommerce/eslint-config-pwa": "^4.0.0",
14
- "@graphcommerce/prettier-config-pwa": "^4.0.0",
15
- "@graphcommerce/typescript-config-pwa": "^4.0.0",
16
- "@playwright/test": "^1.18.1"
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.3",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.2",
17
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
+ "@playwright/test": "^1.19.1"
17
19
  },
18
20
  "dependencies": {
19
- "@graphcommerce/framer-scroller": "^2.0.0",
20
- "@graphcommerce/graphql": "^3.0.0",
21
- "@graphcommerce/image": "^3.0.0",
22
- "@graphcommerce/magento-cart": "^4.0.0",
23
- "@graphcommerce/magento-store": "^4.0.0",
24
- "@graphcommerce/next-ui": "^4.0.0",
21
+ "@graphcommerce/framer-scroller": "^2.0.3",
22
+ "@graphcommerce/graphql": "^3.0.3",
23
+ "@graphcommerce/image": "^3.1.0",
24
+ "@graphcommerce/magento-cart": "^4.1.2",
25
+ "@graphcommerce/magento-store": "^4.0.3",
26
+ "@graphcommerce/next-ui": "^4.1.2",
27
+ "schema-dts": "^1.0.0",
28
+ "type-fest": "^2.12.0"
29
+ },
30
+ "peerDependencies": {
25
31
  "@lingui/macro": "^3.13.2",
26
32
  "@mui/material": "^5.4.1",
27
33
  "framer-motion": "^6.2.4",
28
34
  "next": "^12.0.10",
29
35
  "react": "^17.0.2",
30
- "react-dom": "^17.0.2",
31
- "schema-dts": "^1.0.0",
32
- "type-fest": "^2.11.2"
36
+ "react-dom": "^17.0.2"
33
37
  }
34
38
  }