@graphcommerce/graphql-codegen-near-operation-file 3.0.13 → 3.0.16

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.
@@ -133,7 +133,7 @@ function resolveDocumentImports(presetOptions, schemaObject, importResolverOptio
133
133
  }
134
134
  });
135
135
  return resDocuments.filter(function (result) {
136
- return result.filename.startsWith((0, path_1.resolve)(baseDir, baseOutputDir));
136
+ return result.filename.startsWith((0, path_1.resolve)(baseDir, baseOutputDir).replace(/\\/g, '/'));
137
137
  });
138
138
  }
139
139
  exports.resolveDocumentImports = resolveDocumentImports;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/graphql-codegen-near-operation-file",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.0.13",
5
+ "version": "3.0.16",
6
6
  "sideEffects": false,
7
7
  "main": "dist/index.js",
8
8
  "files": [
@@ -22,17 +22,17 @@
22
22
  }
23
23
  },
24
24
  "devDependencies": {
25
- "@graphcommerce/eslint-config-pwa": "^4.1.7",
25
+ "@graphcommerce/eslint-config-pwa": "^4.1.9",
26
26
  "@graphcommerce/prettier-config-pwa": "^4.0.6",
27
- "@graphcommerce/typescript-config-pwa": "^4.0.3",
27
+ "@graphcommerce/typescript-config-pwa": "^4.0.4",
28
28
  "@playwright/test": "^1.21.1"
29
29
  },
30
30
  "dependencies": {
31
- "@graphql-codegen/add": "3.1.1",
32
- "@graphql-codegen/plugin-helpers": "2.4.2",
33
- "@graphql-codegen/visitor-plugin-common": "2.7.5",
31
+ "@graphql-codegen/add": "3.2.0",
32
+ "@graphql-codegen/plugin-helpers": "2.5.0",
33
+ "@graphql-codegen/visitor-plugin-common": "2.11.1",
34
34
  "@types/parse-filepath": "^1.0.0",
35
- "graphql": "16.4.0",
35
+ "graphql": "16.5.0",
36
36
  "parse-filepath": "^1.0.2"
37
37
  },
38
38
  "peerDependencies": {
@@ -170,6 +170,6 @@ export function resolveDocumentImports<T>(
170
170
  })
171
171
 
172
172
  return resDocuments.filter((result) =>
173
- result.filename.startsWith(resolve(baseDir, baseOutputDir)),
173
+ result.filename.startsWith(resolve(baseDir, baseOutputDir).replace(/\\/g, '/')),
174
174
  )
175
175
  }
package/CHANGELOG.md DELETED
@@ -1,149 +0,0 @@
1
- # Change Log
2
-
3
- ## 3.0.13
4
-
5
- ### Patch Changes
6
-
7
- - [#1451](https://github.com/graphcommerce-org/graphcommerce/pull/1451) [`50188e378`](https://github.com/graphcommerce-org/graphcommerce/commit/50188e378b4c77561ebc600958ea11cd114fa61a) Thanks [@paales](https://github.com/paales)! - Loosen node requirement
8
-
9
- ## 3.0.12
10
-
11
- ### Patch Changes
12
-
13
- - [#1439](https://github.com/graphcommerce-org/graphcommerce/pull/1439) [`25ef6cf08`](https://github.com/graphcommerce-org/graphcommerce/commit/25ef6cf08c278105307d6f604b7135d637e9046c) Thanks [@paales](https://github.com/paales)! - Updated dependencies
14
-
15
- ## 3.0.11
16
-
17
- ### Patch Changes
18
-
19
- - [#1426](https://github.com/graphcommerce-org/graphcommerce/pull/1426) [`100f4c38c`](https://github.com/graphcommerce-org/graphcommerce/commit/100f4c38c8fcda4bc6e0425e38028b550b60adc2) Thanks [@paales](https://github.com/paales)! - Upgrade packages
20
-
21
- ## 3.0.10
22
-
23
- ### Patch Changes
24
-
25
- - [#1399](https://github.com/graphcommerce-org/graphcommerce/pull/1399) [`da0ae7d02`](https://github.com/graphcommerce-org/graphcommerce/commit/da0ae7d0236e4908ba0bf0fa16656be516e841d4) Thanks [@paales](https://github.com/paales)! - Updated dependencies
26
-
27
- ## 3.0.9
28
-
29
- ### Patch Changes
30
-
31
- - [#1369](https://github.com/graphcommerce-org/graphcommerce/pull/1369) [`ae6449502`](https://github.com/graphcommerce-org/graphcommerce/commit/ae64495024a455bbe5188588604368c1542840c9) Thanks [@paales](https://github.com/paales)! - Upgraded dependencies
32
-
33
- ## 3.0.8
34
-
35
- ### Patch Changes
36
-
37
- - [#1356](https://github.com/graphcommerce-org/graphcommerce/pull/1356) [`9f2de0f7b`](https://github.com/graphcommerce-org/graphcommerce/commit/9f2de0f7b0fe8f20fd3ac70ddcd9616c28e2f68e) Thanks [@timhofman](https://github.com/timhofman)! - Include filepath when when duplicate fragments are found
38
-
39
- ## 3.0.7
40
-
41
- ### Patch Changes
42
-
43
- - [#1341](https://github.com/graphcommerce-org/graphcommerce/pull/1341) [`2e29c5852`](https://github.com/graphcommerce-org/graphcommerce/commit/2e29c585247d356e3027be92beb7815f2070c855) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
44
-
45
- ## 3.0.6
46
-
47
- ### Patch Changes
48
-
49
- - [#1326](https://github.com/graphcommerce-org/graphcommerce/pull/1326) [`df0b3e7d5`](https://github.com/graphcommerce-org/graphcommerce/commit/df0b3e7d5f5fee963731a999cb3a8891580cb6fe) Thanks [@paales](https://github.com/paales)! - Latest version of GraphQL Mesh is broken, reverting to older version
50
-
51
- ## 3.0.5
52
-
53
- ### Patch Changes
54
-
55
- - [#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.
56
-
57
- * [#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
58
-
59
- ## 3.0.4
60
-
61
- ### Patch Changes
62
-
63
- - [#1285](https://github.com/ho-nl/m2-pwa/pull/1285) [`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017) Thanks [@paales](https://github.com/paales)! - upgraded dependencies
64
-
65
- ## 3.0.3
66
-
67
- ### Patch Changes
68
-
69
- - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
70
-
71
- ## 3.0.2
72
-
73
- ### Patch Changes
74
-
75
- - [#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.
76
-
77
- * [#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.
78
-
79
- 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.
80
-
81
- ## 3.0.1
82
-
83
- ### Patch Changes
84
-
85
- - [`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
86
-
87
- ## 3.0.0
88
-
89
- ### Major Changes
90
-
91
- - [#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
92
-
93
- All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
94
-
95
- ## [2.103.6](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-codegen-near-operation-file@2.103.5...@graphcommerce/graphql-codegen-near-operation-file@2.103.6) (2021-10-18)
96
-
97
- ### Bug Fixes
98
-
99
- - graphql-mesh missing inmemory lru ([6c71c25](https://github.com/ho-nl/m2-pwa/commit/6c71c256911072ace19037616e0ce2ab478bf070))
100
-
101
- ## [2.103.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-codegen-near-operation-file@2.103.0...@graphcommerce/graphql-codegen-near-operation-file@2.103.1) (2021-09-28)
102
-
103
- ### Bug Fixes
104
-
105
- - do not build on install ([254e2a6](https://github.com/ho-nl/m2-pwa/commit/254e2a6f4b2a7e81f46466a0abe06ae2f3a79575))
106
-
107
- # [2.103.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-codegen-near-operation-file@2.102.3...@graphcommerce/graphql-codegen-near-operation-file@2.103.0) (2021-09-28)
108
-
109
- ### Features
110
-
111
- - add postinstall commands to run properly on deploy ([d512ee3](https://github.com/ho-nl/m2-pwa/commit/d512ee3ba5c3a9573651ec5333595fe2f1aa141c))
112
-
113
- ## [2.102.3](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-codegen-near-operation-file@2.102.2...@graphcommerce/graphql-codegen-near-operation-file@2.102.3) (2021-09-27)
114
-
115
- ### Bug Fixes
116
-
117
- - build packages before releasing ([c4761cf](https://github.com/ho-nl/m2-pwa/commit/c4761cf6d1810c140fd56f6eac8fca922f8c0edc))
118
-
119
- ## [2.102.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-codegen-near-operation-file@2.102.0...@graphcommerce/graphql-codegen-near-operation-file@2.102.1) (2021-09-27)
120
-
121
- **Note:** Version bump only for package @graphcommerce/graphql-codegen-near-operation-file
122
-
123
- # 2.102.0 (2021-09-27)
124
-
125
- ### Bug Fixes
126
-
127
- - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
128
- - make sure graphql imports import Type correctly ([bc7cce0](https://github.com/ho-nl/m2-pwa/commit/bc7cce0e5013f46acccc316bcb7b90394106b8d2))
129
-
130
- ### Features
131
-
132
- - added near-operation-file graphql codegen structure ([e25bdd1](https://github.com/ho-nl/m2-pwa/commit/e25bdd130ac41325619a7d0648e3cb68f2380d32))
133
- - allow for resolving fragments from directories other than the current target ([26c155b](https://github.com/ho-nl/m2-pwa/commit/26c155b6ff31958ff61cc800db6dc359d7d6ce99))
134
- - **graphql-codegen-near-operation-file:** do not export fragment documents ([f0f7091](https://github.com/ho-nl/m2-pwa/commit/f0f70911641b368834a12251b48aac733becf3b4))
135
- - **graphql-codegen:** new [@injectable](https://github.com/injectable) and [@inject](https://github.com/inject)(into: [“FragmentName”]) directives ([f80c96c](https://github.com/ho-nl/m2-pwa/commit/f80c96ce04f83023501fc1f25e7f466810092233))
136
- - **next-config:** introduced package to streamline the setup of new examples ([b8a3958](https://github.com/ho-nl/m2-pwa/commit/b8a39584e5b529fcaa22db67d3f986b91ae683ad))
137
- - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
138
- - 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))
139
- - upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
140
-
141
- # [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-codegen-near-operation-file@2.100.10...@graphcommerce/graphql-codegen-near-operation-file@2.101.0) (2021-07-26)
142
-
143
- ### Bug Fixes
144
-
145
- - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
146
-
147
- ### Features
148
-
149
- - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))