@graphcommerce/next-config 10.0.0-canary.72 → 10.0.1-canary.0

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,46 +1,12 @@
1
1
  # Change Log
2
2
 
3
- ## 10.0.0-canary.72
3
+ ## 10.0.1-canary.0
4
4
 
5
- ## 10.0.0-canary.71
6
-
7
- ## 10.0.0-canary.70
8
-
9
- ### Major Changes
10
-
11
- - [#2565](https://github.com/graphcommerce-org/graphcommerce/pull/2565) [`c96dfcd`](https://github.com/graphcommerce-org/graphcommerce/commit/c96dfcdca981baca387c270ad9e2b9515cdd00cc) - Updated to Apollo Client 4 ([@paales](https://github.com/paales))
12
-
13
- ### Minor Changes
14
-
15
- - [#2565](https://github.com/graphcommerce-org/graphcommerce/pull/2565) [`ea75841`](https://github.com/graphcommerce-org/graphcommerce/commit/ea758413b1ee8b8f2584e8f4135cb582fb87445f) - Migrated to vitest ([@paales](https://github.com/paales))
16
-
17
- ## 10.0.0-canary.69
18
-
19
- ## 10.0.0-canary.68
20
-
21
- ## 10.0.0-canary.67
22
-
23
- ## 10.0.0-canary.66
24
-
25
- ## 10.0.0-canary.65
26
-
27
- ## 10.0.0-canary.64
28
-
29
- ## 10.0.0-canary.63
30
-
31
- ## 10.0.0-canary.62
32
-
33
- ## 10.0.0-canary.61
34
-
35
- ## 10.0.0-canary.60
36
-
37
- ## 10.0.0-canary.59
38
-
39
- ## 10.0.0-canary.58
5
+ ### Patch Changes
40
6
 
41
- ## 10.0.0-canary.57
7
+ - [#2568](https://github.com/graphcommerce-org/graphcommerce/pull/2568) [`64d843e`](https://github.com/graphcommerce-org/graphcommerce/commit/64d843e4b98edbc2779ae75930d657dd7c7fdda2) - "No graphcommerce.config.js found in the project, using demo config" should have referenced 'graphcommerce.config.ts' ([@paales](https://github.com/paales))
42
8
 
43
- ## 10.0.0-canary.56
9
+ ## 10.0.0
44
10
 
45
11
  ### Major Changes
46
12
 
@@ -120,154 +86,36 @@
120
86
  - `@mui/*` modern alias rewrites
121
87
  - Debug plugins (`CircularDependencyPlugin`, `DuplicatesPlugin`) ([@paales](https://github.com/paales))
122
88
 
123
- ## 9.1.0-canary.55
124
-
125
- ## 9.1.0-canary.54
126
-
127
- ## 9.1.0-canary.53
89
+ - [#2565](https://github.com/graphcommerce-org/graphcommerce/pull/2565) [`c96dfcd`](https://github.com/graphcommerce-org/graphcommerce/commit/c96dfcdca981baca387c270ad9e2b9515cdd00cc) - Updated to Apollo Client 4 ([@paales](https://github.com/paales))
128
90
 
129
- ## 9.1.0-canary.52
91
+ ### Minor Changes
130
92
 
131
- ## 9.1.0-canary.51
93
+ - [#2565](https://github.com/graphcommerce-org/graphcommerce/pull/2565) [`ea75841`](https://github.com/graphcommerce-org/graphcommerce/commit/ea758413b1ee8b8f2584e8f4135cb582fb87445f) - Migrated to vitest ([@paales](https://github.com/paales))
132
94
 
133
95
  ### Patch Changes
134
96
 
135
- - [#2537](https://github.com/graphcommerce-org/graphcommerce/pull/2537) [`6492d81`](https://github.com/graphcommerce-org/graphcommerce/commit/6492d819a858ffdc01a97e6914053e9cc14c8fc5) - Reduce exported scope of config so we dont introduce a hidden dependency on Magento ([@paales](https://github.com/paales))
136
-
137
- ## 9.1.0-canary.50
138
-
139
- ## 9.1.0-canary.49
140
-
141
- ## 9.1.0-canary.48
142
-
143
- ## 9.1.0-canary.47
97
+ - [#2487](https://github.com/graphcommerce-org/graphcommerce/pull/2487) [`8b25322`](https://github.com/graphcommerce-org/graphcommerce/commit/8b253224997b59ac74d72813214dfc224f526c0a) - When a dependency is optional or has peerDependenciesMeta set to optional, make sure it doesn't crash when it is not found when calling resolveDependenciesSync ([@paales](https://github.com/paales))
144
98
 
145
- ## 9.1.0-canary.46
99
+ - [#2487](https://github.com/graphcommerce-org/graphcommerce/pull/2487) [`2c79a4c`](https://github.com/graphcommerce-org/graphcommerce/commit/2c79a4cba2779bc367104ebb13e6c0d6feb6574f) - Remove redirects for `/product/$type/[url]` routes, those haven't been used for years anymore. ([@paales](https://github.com/paales))
146
100
 
147
- ### Patch Changes
101
+ - [#2472](https://github.com/graphcommerce-org/graphcommerce/pull/2472) [`905157b`](https://github.com/graphcommerce-org/graphcommerce/commit/905157bec2c9e1dcf51b6e6f7b6913aa9be7b609) - Solve issue with chalk compilation because we’re not migrated to esm modules. ([@paales](https://github.com/paales))
148
102
 
149
103
  - [`f6b9c0d`](https://github.com/graphcommerce-org/graphcommerce/commit/f6b9c0d2bc5f678fc6cde279f1590b30ef631f8a) - Temporarily pin prettier to 3.5.3 to fix the GraphCommerce build: https://github.com/hosseinmd/prettier-plugin-jsdoc/pull/246/files ([@paales](https://github.com/paales))
150
104
 
151
- ## 9.1.0-canary.45
152
-
153
- ### Patch Changes
154
-
155
- - [`f508396`](https://github.com/graphcommerce-org/graphcommerce/commit/f50839619c75c8f7b1782c079f1c25998cb9217b) - Solve issue where optional chaining for import.meta.graphCommmerce configuration paths didn't work. ([@paales](https://github.com/paales))
156
-
157
- ## 9.1.0-canary.44
158
-
159
- ## 9.1.0-canary.43
160
-
161
- ## 9.1.0-canary.42
162
-
163
- ## 9.1.0-canary.41
164
-
165
- ## 9.1.0-canary.40
166
-
167
- ## 9.1.0-canary.39
168
-
169
- ## 9.1.0-canary.38
170
-
171
- ## 9.1.0-canary.37
172
-
173
- ## 9.1.0-canary.36
174
-
175
- ## 9.1.0-canary.35
176
-
177
- ## 9.1.0-canary.34
178
-
179
- ## 9.1.0-canary.33
180
-
181
- ## 9.1.0-canary.32
182
-
183
- ## 9.1.0-canary.31
184
-
185
- ## 9.1.0-canary.30
186
-
187
- ## 9.1.0-canary.29
188
-
189
- ## 9.1.0-canary.28
190
-
191
- ## 9.1.0-canary.27
192
-
193
- ## 9.1.0-canary.26
194
-
195
- ## 9.1.0-canary.25
196
-
197
- ## 9.1.0-canary.24
198
-
199
- ## 9.1.0-canary.23
200
-
201
- ## 9.1.0-canary.22
202
-
203
- ## 9.1.0-canary.21
204
-
205
- ## 9.1.0-canary.20
206
-
207
- ## 9.1.0-canary.19
208
-
209
- ### Patch Changes
210
-
211
- - [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`9cf0450`](https://github.com/graphcommerce-org/graphcommerce/commit/9cf0450a41c4c74292b96f5795c7428f9d6a930c) - Remove the 'ignored' string when loading the graphcommerce config env variable loading, as that isn't always correct ([@paales](https://github.com/paales))
212
-
213
- ## 9.1.0-canary.18
214
-
215
- ### Patch Changes
105
+ - [#2487](https://github.com/graphcommerce-org/graphcommerce/pull/2487) [`30b7356`](https://github.com/graphcommerce-org/graphcommerce/commit/30b7356790efbac0f0017ef61cb1619b920100ab) - Solve issue where withGraphCommerce had a hard dependency on Magento specific configurations ([@paales](https://github.com/paales))
216
106
 
217
107
  - [`62b71d5`](https://github.com/graphcommerce-org/graphcommerce/commit/62b71d5ed1d482fdb5b76dc19ac4d55fc41fb191) - Solve issue: TypeError: InMemoryLRUCache is not a constructor ([@paales](https://github.com/paales))
218
108
 
219
- ## 9.1.0-canary.17
220
-
221
- ## 9.1.0-canary.16
222
-
223
- ## 9.1.0-canary.15
224
-
225
- ## 9.0.4-canary.14
226
-
227
- ## 9.0.4-canary.13
228
-
229
- ## 9.0.4-canary.12
230
-
231
- ## 9.0.4-canary.11
232
-
233
- ## 9.0.4-canary.10
234
-
235
- ### Patch Changes
236
-
237
- - [#2487](https://github.com/graphcommerce-org/graphcommerce/pull/2487) [`8b25322`](https://github.com/graphcommerce-org/graphcommerce/commit/8b253224997b59ac74d72813214dfc224f526c0a) - When a dependency is optional or has peerDependenciesMeta set to optional, make sure it doesn't crash when it is not found when calling resolveDependenciesSync ([@paales](https://github.com/paales))
109
+ - [#2537](https://github.com/graphcommerce-org/graphcommerce/pull/2537) [`6492d81`](https://github.com/graphcommerce-org/graphcommerce/commit/6492d819a858ffdc01a97e6914053e9cc14c8fc5) - Reduce exported scope of config so we dont introduce a hidden dependency on Magento ([@paales](https://github.com/paales))
238
110
 
239
- - [#2487](https://github.com/graphcommerce-org/graphcommerce/pull/2487) [`2c79a4c`](https://github.com/graphcommerce-org/graphcommerce/commit/2c79a4cba2779bc367104ebb13e6c0d6feb6574f) - Remove redirects for `/product/$type/[url]` routes, those haven't been used for years anymore. ([@paales](https://github.com/paales))
111
+ - [`f508396`](https://github.com/graphcommerce-org/graphcommerce/commit/f50839619c75c8f7b1782c079f1c25998cb9217b) - Solve issue where optional chaining for import.meta.graphCommmerce configuration paths didn't work. ([@paales](https://github.com/paales))
240
112
 
241
- - [#2487](https://github.com/graphcommerce-org/graphcommerce/pull/2487) [`30b7356`](https://github.com/graphcommerce-org/graphcommerce/commit/30b7356790efbac0f0017ef61cb1619b920100ab) - Solve issue where withGraphCommerce had a hard dependency on Magento specific configurations ([@paales](https://github.com/paales))
113
+ - [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`9cf0450`](https://github.com/graphcommerce-org/graphcommerce/commit/9cf0450a41c4c74292b96f5795c7428f9d6a930c) - Remove the 'ignored' string when loading the graphcommerce config env variable loading, as that isn't always correct ([@paales](https://github.com/paales))
242
114
 
243
115
  - [#2487](https://github.com/graphcommerce-org/graphcommerce/pull/2487) [`9825f59`](https://github.com/graphcommerce-org/graphcommerce/commit/9825f59b8626c315e6092950faceeab4311a5424) - Remove rewriteLegacyEnv as that hasn't been used for years ([@paales](https://github.com/paales))
244
116
 
245
117
  - [#2487](https://github.com/graphcommerce-org/graphcommerce/pull/2487) [`5ffa0ee`](https://github.com/graphcommerce-org/graphcommerce/commit/5ffa0ee1d620f4f1c38bc5df36cbd527bcc43cf9) - Migrated `@graphcommerce/next-config` package to `"type": "module"` ([@paales](https://github.com/paales))
246
118
 
247
- ## 9.0.4-canary.9
248
-
249
- ## 9.0.4-canary.8
250
-
251
- ## 9.0.4-canary.7
252
-
253
- ## 9.0.4-canary.6
254
-
255
- ## 9.0.4-canary.5
256
-
257
- ## 9.0.4-canary.4
258
-
259
- ## 9.0.4-canary.3
260
-
261
- ## 9.0.4-canary.2
262
-
263
- ## 9.0.4-canary.1
264
-
265
- ## 9.0.4-canary.0
266
-
267
- ### Patch Changes
268
-
269
- - [#2472](https://github.com/graphcommerce-org/graphcommerce/pull/2472) [`905157b`](https://github.com/graphcommerce-org/graphcommerce/commit/905157bec2c9e1dcf51b6e6f7b6913aa9be7b609) - Solve issue with chalk compilation because we’re not migrated to esm modules. ([@paales](https://github.com/paales))
270
-
271
119
  ## 9.0.0
272
120
 
273
121
  ### Major Changes
@@ -1,6 +1,6 @@
1
1
  import 'cosmiconfig';
2
2
  import '../generated/config.js';
3
- export { l as loadConfig, r as replaceConfigInString } from '../loadConfig-CZYUe1jE.js';
3
+ export { l as loadConfig, r as replaceConfigInString } from '../loadConfig-DFvwanrZ.js';
4
4
  import 'zod';
5
5
  import '@apollo/client/utilities/internal';
6
6
  import 'chalk';
package/dist/index.js CHANGED
@@ -4,8 +4,8 @@ import path from 'path';
4
4
  import { glob, sync } from 'glob';
5
5
  import { findParentPath } from './utils/findParentPath.js';
6
6
  import { spawn } from 'child_process';
7
- import { l as loadConfig, t as toEnvStr } from './loadConfig-CZYUe1jE.js';
8
- export { r as replaceConfigInString } from './loadConfig-CZYUe1jE.js';
7
+ import { l as loadConfig, t as toEnvStr } from './loadConfig-DFvwanrZ.js';
8
+ export { r as replaceConfigInString } from './loadConfig-DFvwanrZ.js';
9
9
  import { parseFileSync, parseSync as parseSync$1, transformFileSync } from '@swc/core';
10
10
  import fs$1, { writeFileSync, readFileSync, existsSync, rmSync, mkdirSync } from 'fs';
11
11
  import { resolve as resolve$2 } from 'import-meta-resolve';
@@ -284,7 +284,7 @@ function loadConfig(cwd) {
284
284
  let confFile = result?.config;
285
285
  if (!confFile) {
286
286
  if (isMainProcess)
287
- console.warn("No graphcommerce.config.js found in the project, using demo config");
287
+ console.warn("No graphcommerce.config.ts found in the project, using demo config");
288
288
  confFile = demoConfig;
289
289
  }
290
290
  confFile ||= {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/next-config",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "10.0.0-canary.72",
5
+ "version": "10.0.1-canary.0",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {
@@ -63,7 +63,7 @@
63
63
  },
64
64
  "peerDependencies": {
65
65
  "@apollo/client": "*",
66
- "@graphcommerce/prettier-config-pwa": "^10.0.0-canary.72",
66
+ "@graphcommerce/prettier-config-pwa": "^10.0.1-canary.0",
67
67
  "@lingui/loader": "*",
68
68
  "@lingui/macro": "*",
69
69
  "@lingui/react": "*",
@@ -19,7 +19,7 @@ export function loadConfig(cwd: string): GraphCommerceConfig {
19
19
  let confFile = result?.config
20
20
  if (!confFile) {
21
21
  if (isMainProcess)
22
- console.warn('No graphcommerce.config.js found in the project, using demo config')
22
+ console.warn('No graphcommerce.config.ts found in the project, using demo config')
23
23
  confFile = demoConfig
24
24
  }
25
25
  confFile ||= {}