@graphcommerce/graphql 3.0.1 → 3.0.4

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,14 +1,47 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655) Thanks [@paales](https://github.com/paales)! - All default exports are now named exports internally and all `index.tsx` are renamed to the component name.
8
+
9
+ * [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
10
+
11
+ * Updated dependencies [[`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655), [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef)]:
12
+ - @graphcommerce/graphql-codegen-near-operation-file@3.0.5
13
+ - @graphcommerce/graphql-codegen-relay-optimizer-plugin@3.0.5
14
+
15
+ ## 3.0.3
16
+
17
+ ### Patch Changes
18
+
19
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
20
+
21
+ - Updated dependencies [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)]:
22
+ - @graphcommerce/graphql-codegen-near-operation-file@3.0.3
23
+ - @graphcommerce/graphql-codegen-relay-optimizer-plugin@3.0.3
24
+
25
+ ## 3.0.2
26
+
27
+ ### Patch Changes
28
+
29
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2) Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from `dependencies` to `peerDependencies`. The result of this is that there will be significantly less duplicate packages in the node_modules folders.
30
+
31
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d) Thanks [@paales](https://github.com/paales)! - Upgraded to [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be implementing [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta) soon.
32
+
33
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the frontend to be able to revalidate pages manually.
34
+
35
+ * Updated dependencies [[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2), [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
36
+ - @graphcommerce/graphql-codegen-near-operation-file@3.0.2
37
+ - @graphcommerce/graphql-codegen-relay-optimizer-plugin@3.0.2
38
+
3
39
  ## 3.0.1
4
40
 
5
41
  ### Patch Changes
6
42
 
7
- - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
8
- Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
9
- so that the packages link to back to the website and repository
10
- - Updated dependencies
11
- [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
43
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514) Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files, so that the packages link to back to the website and repository
44
+ - Updated dependencies [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
12
45
  - @graphcommerce/graphql-codegen-near-operation-file@3.0.1
13
46
  - @graphcommerce/graphql-codegen-relay-optimizer-plugin@3.0.1
14
47
 
@@ -16,47 +49,39 @@
16
49
 
17
50
  ### Major Changes
18
51
 
19
- - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
20
- [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
21
- Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
52
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258) [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05) Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
22
53
 
23
54
  ### Patch Changes
24
55
 
25
- - Updated dependencies
26
- [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
56
+ - Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
27
57
  - @graphcommerce/graphql-codegen-near-operation-file@3.0.0
28
58
  - @graphcommerce/graphql-codegen-relay-optimizer-plugin@3.0.0
29
59
 
30
- All notable changes to this project will be documented in this file. See
31
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
60
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
32
61
 
33
62
  ## [2.105.12](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.105.11...@graphcommerce/graphql@2.105.12) (2021-12-21)
34
63
 
35
64
  ### Bug Fixes
36
65
 
37
- - **graphql:** make sure we're passing the correct store code to the schema endpoint
38
- ([39753f2](https://github.com/ho-nl/m2-pwa/commit/39753f2117ce7ba79dab035c4134e642829e7f18))
66
+ - **graphql:** make sure we're passing the correct store code to the schema endpoint ([39753f2](https://github.com/ho-nl/m2-pwa/commit/39753f2117ce7ba79dab035c4134e642829e7f18))
39
67
 
40
68
  ## [2.105.6](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.105.5...@graphcommerce/graphql@2.105.6) (2021-12-03)
41
69
 
42
70
  ### Bug Fixes
43
71
 
44
- - make the headerHeight properly configurable
45
- ([c39c942](https://github.com/ho-nl/m2-pwa/commit/c39c942a62a9bb9687ea553be28e37fb49a6b065))
72
+ - make the headerHeight properly configurable ([c39c942](https://github.com/ho-nl/m2-pwa/commit/c39c942a62a9bb9687ea553be28e37fb49a6b065))
46
73
 
47
74
  # [2.105.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.104.1...@graphcommerce/graphql@2.105.0) (2021-10-27)
48
75
 
49
76
  ### Features
50
77
 
51
- - **nextjs:** upgraded to nextjs 12
52
- ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
78
+ - **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
53
79
 
54
80
  # [2.104.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.103.8...@graphcommerce/graphql@2.104.0) (2021-10-21)
55
81
 
56
82
  ### Features
57
83
 
58
- - **graphql-mesh:** remove the api project and use a single project 🎉👩‍👩‍👦‍👦
59
- ([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
84
+ - **graphql-mesh:** remove the api project and use a single project 🎉👩‍👩‍👦‍👦 ([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
60
85
 
61
86
  ## [2.103.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.103.0...@graphcommerce/graphql@2.103.1) (2021-09-27)
62
87
 
@@ -66,57 +91,43 @@ All notable changes to this project will be documented in this file. See
66
91
 
67
92
  ### Bug Fixes
68
93
 
69
- - ignore md files from triggering version updates
70
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
94
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
71
95
 
72
96
  ### Features
73
97
 
74
- - **graphql:** introduced new graphql package that holds all generated files
75
- ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
76
- - **graphql:** introducing local schema migrations
77
- ([e77ef8a](https://github.com/ho-nl/m2-pwa/commit/e77ef8ad4cd5723e2352dec937b45ee976929b24))
78
- - next.js 11
79
- ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
80
- - **playwright:** added new playwright package to enable browser testing
81
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
82
- - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
83
- [@reachdigital](https://github.com/reachdigital)
84
- ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
85
- - upgraded to nextjs 11
86
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
98
+ - **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
99
+ - **graphql:** introducing local schema migrations ([e77ef8a](https://github.com/ho-nl/m2-pwa/commit/e77ef8ad4cd5723e2352dec937b45ee976929b24))
100
+ - next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
101
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
102
+ - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
103
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
87
104
 
88
105
  ### Reverts
89
106
 
90
- - Revert "chore: upgrade @apollo/client"
91
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
107
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
92
108
 
93
109
  # Change Log
94
110
 
95
- All notable changes to this project will be documented in this file. See
96
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
111
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
97
112
 
98
113
  # [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.101.3...@graphcommerce/graphql@2.102.0) (2021-08-12)
99
114
 
100
115
  ### Features
101
116
 
102
- - upgraded to nextjs 11
103
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
117
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
104
118
 
105
119
  ## [2.101.3](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.101.2...@graphcommerce/graphql@2.101.3) (2021-08-09)
106
120
 
107
121
  ### Reverts
108
122
 
109
- - Revert "chore: upgrade @apollo/client"
110
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
123
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
111
124
 
112
125
  # [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql@2.100.10...@graphcommerce/graphql@2.101.0) (2021-07-26)
113
126
 
114
127
  ### Bug Fixes
115
128
 
116
- - ignore md files from triggering version updates
117
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
129
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
118
130
 
119
131
  ### Features
120
132
 
121
- - **playwright:** added new playwright package to enable browser testing
122
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
133
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
@@ -1,9 +1,9 @@
1
1
  /* eslint-disable no-empty-pattern */
2
- import { getOperationName } from '@graphcommerce/graphql'
3
2
  import { test as base, Page } from '@playwright/test'
4
3
  import {
5
4
  ApolloClient,
6
5
  FetchResult,
6
+ getOperationName,
7
7
  InMemoryCache,
8
8
  NormalizedCacheObject,
9
9
  TypedDocumentNode,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/graphql",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.0.1",
5
+ "version": "3.0.4",
6
6
  "sideEffects": false,
7
7
  "main": "index.ts",
8
8
  "prettier": "@graphcommerce/prettier-config-pwa",
@@ -13,24 +13,24 @@
13
13
  }
14
14
  },
15
15
  "devDependencies": {
16
- "@graphcommerce/eslint-config-pwa": "^4.0.1",
17
- "@graphcommerce/prettier-config-pwa": "^4.0.1",
18
- "@graphcommerce/typescript-config-pwa": "^4.0.1",
19
- "@playwright/test": "^1.18.1"
16
+ "@graphcommerce/eslint-config-pwa": "^4.0.5",
17
+ "@graphcommerce/prettier-config-pwa": "^4.0.3",
18
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
19
+ "@playwright/test": "^1.19.2"
20
20
  },
21
21
  "dependencies": {
22
- "@apollo/client": "^3.5.8",
23
- "@graphcommerce/graphql-codegen-near-operation-file": "^3.0.1",
24
- "@graphcommerce/graphql-codegen-relay-optimizer-plugin": "^3.0.1",
22
+ "@apollo/client": "^3.5.10",
23
+ "@graphcommerce/graphql-codegen-near-operation-file": "^3.0.5",
24
+ "@graphcommerce/graphql-codegen-relay-optimizer-plugin": "^3.0.5",
25
25
  "@graphql-codegen/add": "^3.1.1",
26
26
  "@graphql-codegen/fragment-matcher": "3.2.1",
27
27
  "@graphql-codegen/introspection": "2.1.1",
28
28
  "@graphql-codegen/schema-ast": "^2.4.1",
29
- "@graphql-codegen/typed-document-node": "^2.2.3",
30
- "@graphql-codegen/typescript": "^2.4.3",
31
- "@graphql-codegen/typescript-apollo-client-helpers": "^2.1.10",
32
- "@graphql-codegen/typescript-document-nodes": "2.2.3",
33
- "@graphql-codegen/typescript-operations": "2.3.0",
29
+ "@graphql-codegen/typed-document-node": "^2.2.7",
30
+ "@graphql-codegen/typescript": "^2.4.7",
31
+ "@graphql-codegen/typescript-apollo-client-helpers": "^2.1.14",
32
+ "@graphql-codegen/typescript-document-nodes": "2.2.7",
33
+ "@graphql-codegen/typescript-operations": "2.3.4",
34
34
  "apollo3-cache-persist": "^0.14.0",
35
35
  "graphql": "^16.3.0"
36
36
  }