@graphcommerce/magento-product 4.1.3 → 4.1.6

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,39 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @graphcommerce/magento-cart@4.2.5
9
+
10
+ ## 4.1.5
11
+
12
+ ### Patch Changes
13
+
14
+ - [#1381](https://github.com/graphcommerce-org/graphcommerce/pull/1381) [`9b3488c6a`](https://github.com/graphcommerce-org/graphcommerce/commit/9b3488c6a03cc09a647f43f6a8b36d96e97e5bb8) Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Non blocking error handling
15
+
16
+ - Updated dependencies [[`3c801f45c`](https://github.com/graphcommerce-org/graphcommerce/commit/3c801f45c7df55131acf30ae2fe0d2344830d480), [`b8d04130a`](https://github.com/graphcommerce-org/graphcommerce/commit/b8d04130a1b1cb8fc85308939235140288744465), [`3192fab82`](https://github.com/graphcommerce-org/graphcommerce/commit/3192fab82560e2211dfcacadc3b0b305260527d8), [`0e425e85e`](https://github.com/graphcommerce-org/graphcommerce/commit/0e425e85ee8fed280349317ee0440c7bceea5823), [`8a354d1cd`](https://github.com/graphcommerce-org/graphcommerce/commit/8a354d1cd4757497ddfc9b1969a0addbc8ff616b)]:
17
+ - @graphcommerce/next-ui@4.6.0
18
+ - @graphcommerce/magento-cart@4.2.4
19
+ - @graphcommerce/image@3.1.4
20
+ - @graphcommerce/framer-scroller@2.1.5
21
+ - @graphcommerce/magento-store@4.1.6
22
+
23
+ ## 4.1.4
24
+
25
+ ### Patch Changes
26
+
27
+ - [#1378](https://github.com/graphcommerce-org/graphcommerce/pull/1378) [`b610a6e40`](https://github.com/graphcommerce-org/graphcommerce/commit/b610a6e4049e8c9e8b5d2aeff31b8e1bfc24abe5) Thanks [@paales](https://github.com/paales)! - Pin all versions internally so we can’t end up in an unfixable state for the user
28
+
29
+ - Updated dependencies [[`b610a6e40`](https://github.com/graphcommerce-org/graphcommerce/commit/b610a6e4049e8c9e8b5d2aeff31b8e1bfc24abe5)]:
30
+ - @graphcommerce/framer-scroller@2.1.4
31
+ - @graphcommerce/graphql@3.0.7
32
+ - @graphcommerce/image@3.1.3
33
+ - @graphcommerce/magento-cart@4.2.3
34
+ - @graphcommerce/magento-store@4.1.5
35
+ - @graphcommerce/next-ui@4.5.1
36
+
3
37
  ## 4.1.3
4
38
 
5
39
  ### Patch Changes
@@ -106,6 +106,7 @@ export function ProductAddToCart(
106
106
  action={
107
107
  <PageLink href='/cart' passHref>
108
108
  <Button
109
+ id='view-shopping-cart-button'
109
110
  size='medium'
110
111
  variant='pill'
111
112
  color='secondary'
@@ -1,4 +1,4 @@
1
- import { gql, ApolloClient, NormalizedCacheObject , Exact } from '@graphcommerce/graphql'
1
+ import { gql, ApolloClient, NormalizedCacheObject, Exact } from '@graphcommerce/graphql'
2
2
  import { AllFilterInputTypes, FilterTypes } from './filterTypes'
3
3
 
4
4
  const allFilterInputTypes: AllFilterInputTypes[] = [
@@ -42,7 +42,7 @@ export async function getFilterTypes(
42
42
 
43
43
  ;(await filterInputTypes).data?.__type.inputFields.forEach(({ name, type }) => {
44
44
  if (!allFilterInputTypes.includes(type.name))
45
- throw new Error(`filter ${name} with FilterTypeInput ${type.name} not implemented`)
45
+ console.warn(`filter ${name} with FilterTypeInput ${type.name} not implemented`)
46
46
  typeMap[name] = type.name
47
47
  })
48
48
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-product",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.1.3",
5
+ "version": "4.1.6",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,26 +12,26 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.1.3",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.4",
16
16
  "@graphcommerce/prettier-config-pwa": "^4.0.5",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
18
  "@playwright/test": "^1.20.1",
19
19
  "type-fest": "2.12.1"
20
20
  },
21
21
  "dependencies": {
22
- "@graphcommerce/framer-scroller": "^2.1.3",
23
- "@graphcommerce/graphql": "^3.0.6",
24
- "@graphcommerce/image": "^3.1.2",
25
- "@graphcommerce/magento-cart": "^4.2.2",
26
- "@graphcommerce/magento-store": "^4.1.4",
27
- "@graphcommerce/next-ui": "^4.5.0",
22
+ "@graphcommerce/framer-scroller": "2.1.5",
23
+ "@graphcommerce/graphql": "3.0.7",
24
+ "@graphcommerce/image": "3.1.4",
25
+ "@graphcommerce/magento-cart": "4.2.5",
26
+ "@graphcommerce/magento-store": "4.1.6",
27
+ "@graphcommerce/next-ui": "4.6.0",
28
28
  "schema-dts": "^1.1.0"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@lingui/macro": "^3.13.2",
32
- "@mui/material": "^5.4.1",
32
+ "@mui/material": "5.5.3",
33
33
  "framer-motion": "^6.2.4",
34
- "next": "^12.0.10",
34
+ "next": "12.1.2",
35
35
  "react": "^17.0.2",
36
36
  "react-dom": "^17.0.2"
37
37
  }
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
2
- import { test as base } from '@graphcommerce/graphql/test/apolloClient.fixture'
2
+ import { test as base } from '@graphcommerce/magento-store/test/apolloClientStore.fixture'
3
3
  import { ProductStaticPathsDocument } from '../components/ProductStaticPaths/ProductStaticPaths.gql'
4
4
  import { ProductTypenames } from '../components/ProductStaticPaths/getProductStaticPaths'
5
5
  import { productLink } from '../hooks/useProductLink'