@akinon/projectzero 1.82.0-rc.2 → 1.82.0-rc.21

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,56 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 1.82.0-rc.21
4
+
5
+ ## 1.82.0-rc.20
6
+
7
+ ## 1.82.0-rc.19
8
+
9
+ ### Minor Changes
10
+
11
+ - 33377cf: ZERO-3267: Refactor import statement for ROUTES in error-page component
12
+
13
+ ## 1.82.0-rc.18
14
+
15
+ ## 1.82.0-rc.17
16
+
17
+ ### Minor Changes
18
+
19
+ - e2583ac2: ZERO-3282: Switch to execSync for synchronous execution, enhance file checks, and add error page replacement script
20
+
21
+ ## 1.82.0-rc.16
22
+
23
+ ### Minor Changes
24
+
25
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
26
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
27
+
28
+ ## 1.82.0-rc.15
29
+
30
+ ## 1.82.0-rc.14
31
+
32
+ ## 1.82.0-rc.13
33
+
34
+ ## 1.82.0-rc.12
35
+
36
+ ## 1.82.0-rc.11
37
+
38
+ ## 1.82.0-rc.10
39
+
40
+ ## 1.82.0-rc.9
41
+
42
+ ## 1.82.0-rc.8
43
+
44
+ ## 1.82.0-rc.7
45
+
46
+ ## 1.82.0-rc.6
47
+
48
+ ## 1.82.0-rc.5
49
+
50
+ ## 1.82.0-rc.4
51
+
52
+ ## 1.82.0-rc.3
53
+
3
54
  ## 1.82.0-rc.2
4
55
 
5
56
  ### Minor Changes
@@ -1,5 +1,506 @@
1
1
  # projectzeronext
2
2
 
3
+ ## 1.82.0-rc.21
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ef75c03]
8
+ - @akinon/next@1.82.0-rc.21
9
+ - @akinon/pz-akifast@1.82.0-rc.21
10
+ - @akinon/pz-b2b@1.82.0-rc.21
11
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.21
12
+ - @akinon/pz-bkm@1.82.0-rc.21
13
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.21
14
+ - @akinon/pz-click-collect@1.82.0-rc.21
15
+ - @akinon/pz-credit-payment@1.82.0-rc.21
16
+ - @akinon/pz-gpay@1.82.0-rc.21
17
+ - @akinon/pz-masterpass@1.82.0-rc.21
18
+ - @akinon/pz-one-click-checkout@1.82.0-rc.21
19
+ - @akinon/pz-otp@1.82.0-rc.21
20
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.21
21
+ - @akinon/pz-saved-card@1.82.0-rc.21
22
+ - @akinon/pz-tabby-extension@1.82.0-rc.21
23
+ - @akinon/pz-tamara-extension@1.82.0-rc.21
24
+
25
+ ## 1.82.0-rc.20
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [e5529cd]
30
+ - @akinon/next@1.82.0-rc.20
31
+ - @akinon/pz-akifast@1.82.0-rc.20
32
+ - @akinon/pz-b2b@1.82.0-rc.20
33
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.20
34
+ - @akinon/pz-bkm@1.82.0-rc.20
35
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.20
36
+ - @akinon/pz-click-collect@1.82.0-rc.20
37
+ - @akinon/pz-credit-payment@1.82.0-rc.20
38
+ - @akinon/pz-gpay@1.82.0-rc.20
39
+ - @akinon/pz-masterpass@1.82.0-rc.20
40
+ - @akinon/pz-one-click-checkout@1.82.0-rc.20
41
+ - @akinon/pz-otp@1.82.0-rc.20
42
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.20
43
+ - @akinon/pz-saved-card@1.82.0-rc.20
44
+ - @akinon/pz-tabby-extension@1.82.0-rc.20
45
+ - @akinon/pz-tamara-extension@1.82.0-rc.20
46
+
47
+ ## 1.82.0-rc.19
48
+
49
+ ### Minor Changes
50
+
51
+ - 33377cf: ZERO-3267: Refactor import statement for ROUTES in error-page component
52
+
53
+ ### Patch Changes
54
+
55
+ - Updated dependencies [33377cf]
56
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.19
57
+ - @akinon/pz-one-click-checkout@1.82.0-rc.19
58
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.19
59
+ - @akinon/pz-tamara-extension@1.82.0-rc.19
60
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.19
61
+ - @akinon/pz-tabby-extension@1.82.0-rc.19
62
+ - @akinon/pz-credit-payment@1.82.0-rc.19
63
+ - @akinon/pz-click-collect@1.82.0-rc.19
64
+ - @akinon/pz-masterpass@1.82.0-rc.19
65
+ - @akinon/pz-saved-card@1.82.0-rc.19
66
+ - @akinon/next@1.82.0-rc.19
67
+ - @akinon/pz-akifast@1.82.0-rc.19
68
+ - @akinon/pz-gpay@1.82.0-rc.19
69
+ - @akinon/pz-b2b@1.82.0-rc.19
70
+ - @akinon/pz-bkm@1.82.0-rc.19
71
+ - @akinon/pz-otp@1.82.0-rc.19
72
+
73
+ ## 1.82.0-rc.18
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated dependencies [e4761d2]
78
+ - @akinon/next@1.82.0-rc.18
79
+ - @akinon/pz-akifast@1.82.0-rc.18
80
+ - @akinon/pz-b2b@1.82.0-rc.18
81
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.18
82
+ - @akinon/pz-bkm@1.82.0-rc.18
83
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.18
84
+ - @akinon/pz-click-collect@1.82.0-rc.18
85
+ - @akinon/pz-credit-payment@1.82.0-rc.18
86
+ - @akinon/pz-gpay@1.82.0-rc.18
87
+ - @akinon/pz-masterpass@1.82.0-rc.18
88
+ - @akinon/pz-one-click-checkout@1.82.0-rc.18
89
+ - @akinon/pz-otp@1.82.0-rc.18
90
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.18
91
+ - @akinon/pz-saved-card@1.82.0-rc.18
92
+ - @akinon/pz-tabby-extension@1.82.0-rc.18
93
+ - @akinon/pz-tamara-extension@1.82.0-rc.18
94
+
95
+ ## 1.82.0-rc.17
96
+
97
+ ### Minor Changes
98
+
99
+ - e2c6d426: ZERO-2935: Add @sentry/nextjs dependency to akinon-next and remove from projectzeronext
100
+
101
+ ### Patch Changes
102
+
103
+ - Updated dependencies [e2c6d426]
104
+ - Updated dependencies [70bc0aed]
105
+ - @akinon/next@1.82.0-rc.17
106
+ - @akinon/pz-akifast@1.82.0-rc.17
107
+ - @akinon/pz-b2b@1.82.0-rc.17
108
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.17
109
+ - @akinon/pz-bkm@1.82.0-rc.17
110
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.17
111
+ - @akinon/pz-click-collect@1.82.0-rc.17
112
+ - @akinon/pz-credit-payment@1.82.0-rc.17
113
+ - @akinon/pz-gpay@1.82.0-rc.17
114
+ - @akinon/pz-masterpass@1.82.0-rc.17
115
+ - @akinon/pz-one-click-checkout@1.82.0-rc.17
116
+ - @akinon/pz-otp@1.82.0-rc.17
117
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.17
118
+ - @akinon/pz-saved-card@1.82.0-rc.17
119
+ - @akinon/pz-tabby-extension@1.82.0-rc.17
120
+ - @akinon/pz-tamara-extension@1.82.0-rc.17
121
+
122
+ ## 1.82.0-rc.16
123
+
124
+ ### Minor Changes
125
+
126
+ - 6f506af: ZERO-3229: Implement mini basket query for basket total quantity
127
+ - a0a1bac: ZERO-3228 :edit OTP login flow to use Redux for popup visibility and clean up unused props
128
+ - 82174637: ZERO-2887: Add LoaderSpinner to Filters component
129
+ - 4d3deb4f: ZERO-2935: sentry 8 upgrade
130
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
131
+ - 9abd011: ZERO-3267: Refactor error handling in ErrorPage component to set error details in Sentry scope
132
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
133
+ - c3b2f3f: ZERO-3267: Enable sentry client errors and filter them by log type
134
+ - fa96b0b: ZERO-3274: Enhance client-side error page with localized messages and reset functionality and remove 500 status code from client side pages
135
+ - 596e987: ZERO-3291: Update Next.js to version 14.2.25
136
+ - 2d305aaf: ZERO-2935: Update Sentry configuration: remove hideSourceMaps option and add it to withPzConfig
137
+
138
+ ### Patch Changes
139
+
140
+ - Updated dependencies [757ee539]
141
+ - Updated dependencies [6f506af]
142
+ - Updated dependencies [5dfeea04]
143
+ - Updated dependencies [2d9b2b2c]
144
+ - Updated dependencies [5e1feca]
145
+ - Updated dependencies [c0c1962]
146
+ - Updated dependencies [40a46853]
147
+ - Updated dependencies [a0a1bac]
148
+ - Updated dependencies [f49bb74f]
149
+ - Updated dependencies [0e05135]
150
+ - Updated dependencies [e9541a13]
151
+ - Updated dependencies [4d3deb4f]
152
+ - Updated dependencies [72fd4d67]
153
+ - Updated dependencies [c53ef7b9]
154
+ - Updated dependencies [64699d3f]
155
+ - Updated dependencies [9abd011]
156
+ - Updated dependencies [7727ae55]
157
+ - Updated dependencies [d552629]
158
+ - Updated dependencies [c3b2f3f]
159
+ - Updated dependencies [17f87524]
160
+ - Updated dependencies [65d3b862]
161
+ - Updated dependencies [bbe18b9f]
162
+ - Updated dependencies [17bfadc]
163
+ - Updated dependencies [4920742c]
164
+ - Updated dependencies [b6e5b62]
165
+ - Updated dependencies [ac65ca9]
166
+ - Updated dependencies [7e56d6b6]
167
+ - Updated dependencies [43c182ee]
168
+ - Updated dependencies [624a4eb]
169
+ - Updated dependencies [2d305aaf]
170
+ - Updated dependencies [eeb20bea]
171
+ - Updated dependencies [3bf63c8]
172
+ - Updated dependencies [9be2c08]
173
+ - Updated dependencies [f2c92d5c]
174
+ - Updated dependencies [2f3588f]
175
+ - Updated dependencies [7bd3d992]
176
+ - Updated dependencies [fdd255ee]
177
+ - Updated dependencies [0b1bd07]
178
+ - Updated dependencies [49eeebfa]
179
+ - Updated dependencies [3f9b8d7e]
180
+ - @akinon/next@1.82.0-rc.16
181
+ - @akinon/pz-otp@1.82.0-rc.16
182
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.16
183
+ - @akinon/pz-one-click-checkout@1.82.0-rc.16
184
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.16
185
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.16
186
+ - @akinon/pz-credit-payment@1.82.0-rc.16
187
+ - @akinon/pz-click-collect@1.82.0-rc.16
188
+ - @akinon/pz-masterpass@1.82.0-rc.16
189
+ - @akinon/pz-akifast@1.82.0-rc.16
190
+ - @akinon/pz-gpay@1.82.0-rc.16
191
+ - @akinon/pz-b2b@1.82.0-rc.16
192
+ - @akinon/pz-bkm@1.82.0-rc.16
193
+ - @akinon/pz-tabby-extension@1.82.0-rc.16
194
+ - @akinon/pz-saved-card@1.82.0-rc.16
195
+ - @akinon/pz-tamara-extension@1.82.0-rc.16
196
+
197
+ ## 1.82.0-rc.15
198
+
199
+ ### Patch Changes
200
+
201
+ - Updated dependencies [2f3588fb]
202
+ - @akinon/next@1.82.0-rc.15
203
+ - @akinon/pz-akifast@1.82.0-rc.15
204
+ - @akinon/pz-b2b@1.82.0-rc.15
205
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.15
206
+ - @akinon/pz-bkm@1.82.0-rc.15
207
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.15
208
+ - @akinon/pz-click-collect@1.82.0-rc.15
209
+ - @akinon/pz-credit-payment@1.82.0-rc.15
210
+ - @akinon/pz-gpay@1.82.0-rc.15
211
+ - @akinon/pz-masterpass@1.82.0-rc.15
212
+ - @akinon/pz-one-click-checkout@1.82.0-rc.15
213
+ - @akinon/pz-otp@1.82.0-rc.15
214
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.15
215
+ - @akinon/pz-saved-card@1.82.0-rc.15
216
+ - @akinon/pz-tabby-extension@1.82.0-rc.15
217
+ - @akinon/pz-tamara-extension@1.82.0-rc.15
218
+
219
+ ## 1.82.0-rc.14
220
+
221
+ ### Patch Changes
222
+
223
+ - Updated dependencies [5e1feca]
224
+ - @akinon/next@1.82.0-rc.14
225
+ - @akinon/pz-akifast@1.82.0-rc.14
226
+ - @akinon/pz-b2b@1.82.0-rc.14
227
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.14
228
+ - @akinon/pz-bkm@1.82.0-rc.14
229
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.14
230
+ - @akinon/pz-click-collect@1.82.0-rc.14
231
+ - @akinon/pz-credit-payment@1.82.0-rc.14
232
+ - @akinon/pz-gpay@1.82.0-rc.14
233
+ - @akinon/pz-masterpass@1.82.0-rc.14
234
+ - @akinon/pz-one-click-checkout@1.82.0-rc.14
235
+ - @akinon/pz-otp@1.82.0-rc.14
236
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.14
237
+ - @akinon/pz-saved-card@1.82.0-rc.14
238
+ - @akinon/pz-tabby-extension@1.82.0-rc.14
239
+ - @akinon/pz-tamara-extension@1.82.0-rc.14
240
+
241
+ ## 1.82.0-rc.13
242
+
243
+ ### Patch Changes
244
+
245
+ - Updated dependencies [3bf63c8]
246
+ - @akinon/next@1.82.0-rc.13
247
+ - @akinon/pz-akifast@1.82.0-rc.13
248
+ - @akinon/pz-b2b@1.82.0-rc.13
249
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.13
250
+ - @akinon/pz-bkm@1.82.0-rc.13
251
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.13
252
+ - @akinon/pz-click-collect@1.82.0-rc.13
253
+ - @akinon/pz-credit-payment@1.82.0-rc.13
254
+ - @akinon/pz-gpay@1.82.0-rc.13
255
+ - @akinon/pz-masterpass@1.82.0-rc.13
256
+ - @akinon/pz-one-click-checkout@1.82.0-rc.13
257
+ - @akinon/pz-otp@1.82.0-rc.13
258
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.13
259
+ - @akinon/pz-saved-card@1.82.0-rc.13
260
+ - @akinon/pz-tabby-extension@1.82.0-rc.13
261
+ - @akinon/pz-tamara-extension@1.82.0-rc.13
262
+
263
+ ## 1.82.0-rc.12
264
+
265
+ ### Patch Changes
266
+
267
+ - Updated dependencies [ac65ca9]
268
+ - @akinon/next@1.82.0-rc.12
269
+ - @akinon/pz-akifast@1.82.0-rc.12
270
+ - @akinon/pz-b2b@1.82.0-rc.12
271
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.12
272
+ - @akinon/pz-bkm@1.82.0-rc.12
273
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.12
274
+ - @akinon/pz-click-collect@1.82.0-rc.12
275
+ - @akinon/pz-credit-payment@1.82.0-rc.12
276
+ - @akinon/pz-gpay@1.82.0-rc.12
277
+ - @akinon/pz-masterpass@1.82.0-rc.12
278
+ - @akinon/pz-one-click-checkout@1.82.0-rc.12
279
+ - @akinon/pz-otp@1.82.0-rc.12
280
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.12
281
+ - @akinon/pz-saved-card@1.82.0-rc.12
282
+ - @akinon/pz-tabby-extension@1.82.0-rc.12
283
+ - @akinon/pz-tamara-extension@1.82.0-rc.12
284
+
285
+ ## 1.82.0-rc.11
286
+
287
+ ### Minor Changes
288
+
289
+ - fa96b0b: ZERO-3274: Enhance client-side error page with localized messages and reset functionality and remove 500 status code from client side pages
290
+
291
+ ### Patch Changes
292
+
293
+ - @akinon/next@1.82.0-rc.11
294
+ - @akinon/pz-akifast@1.82.0-rc.11
295
+ - @akinon/pz-b2b@1.82.0-rc.11
296
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.11
297
+ - @akinon/pz-bkm@1.82.0-rc.11
298
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.11
299
+ - @akinon/pz-click-collect@1.82.0-rc.11
300
+ - @akinon/pz-credit-payment@1.82.0-rc.11
301
+ - @akinon/pz-gpay@1.82.0-rc.11
302
+ - @akinon/pz-masterpass@1.82.0-rc.11
303
+ - @akinon/pz-one-click-checkout@1.82.0-rc.11
304
+ - @akinon/pz-otp@1.82.0-rc.11
305
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.11
306
+ - @akinon/pz-saved-card@1.82.0-rc.11
307
+ - @akinon/pz-tabby-extension@1.82.0-rc.11
308
+ - @akinon/pz-tamara-extension@1.82.0-rc.11
309
+
310
+ ## 1.82.0-rc.10
311
+
312
+ ### Patch Changes
313
+
314
+ - Updated dependencies [624a4eb6]
315
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.10
316
+ - @akinon/pz-one-click-checkout@1.82.0-rc.10
317
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.10
318
+ - @akinon/pz-tamara-extension@1.82.0-rc.10
319
+ - @akinon/pz-tabby-extension@1.82.0-rc.10
320
+ - @akinon/pz-click-collect@1.82.0-rc.10
321
+ - @akinon/pz-masterpass@1.82.0-rc.10
322
+ - @akinon/pz-saved-card@1.82.0-rc.10
323
+ - @akinon/pz-akifast@1.82.0-rc.10
324
+ - @akinon/pz-gpay@1.82.0-rc.10
325
+ - @akinon/pz-b2b@1.82.0-rc.10
326
+ - @akinon/pz-bkm@1.82.0-rc.10
327
+ - @akinon/pz-otp@1.82.0-rc.10
328
+ - @akinon/next@1.82.0-rc.10
329
+ - @akinon/pz-credit-payment@1.82.0-rc.10
330
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.10
331
+
332
+ ## 1.82.0-rc.9
333
+
334
+ ### Minor Changes
335
+
336
+ - 9abd011: ZERO-3267: Refactor error handling in ErrorPage component to set error details in Sentry scope
337
+
338
+ ### Patch Changes
339
+
340
+ - Updated dependencies [9abd011]
341
+ - @akinon/next@1.82.0-rc.9
342
+ - @akinon/pz-akifast@1.82.0-rc.9
343
+ - @akinon/pz-b2b@1.82.0-rc.9
344
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.9
345
+ - @akinon/pz-bkm@1.82.0-rc.9
346
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.9
347
+ - @akinon/pz-click-collect@1.82.0-rc.9
348
+ - @akinon/pz-credit-payment@1.82.0-rc.9
349
+ - @akinon/pz-gpay@1.82.0-rc.9
350
+ - @akinon/pz-masterpass@1.82.0-rc.9
351
+ - @akinon/pz-one-click-checkout@1.82.0-rc.9
352
+ - @akinon/pz-otp@1.82.0-rc.9
353
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.9
354
+ - @akinon/pz-saved-card@1.82.0-rc.9
355
+ - @akinon/pz-tabby-extension@1.82.0-rc.9
356
+ - @akinon/pz-tamara-extension@1.82.0-rc.9
357
+
358
+ ## 1.82.0-rc.8
359
+
360
+ ### Patch Changes
361
+
362
+ - Updated dependencies [17bfadc]
363
+ - @akinon/next@1.82.0-rc.8
364
+ - @akinon/pz-akifast@1.82.0-rc.8
365
+ - @akinon/pz-b2b@1.82.0-rc.8
366
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.8
367
+ - @akinon/pz-bkm@1.82.0-rc.8
368
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.8
369
+ - @akinon/pz-click-collect@1.82.0-rc.8
370
+ - @akinon/pz-credit-payment@1.82.0-rc.8
371
+ - @akinon/pz-gpay@1.82.0-rc.8
372
+ - @akinon/pz-masterpass@1.82.0-rc.8
373
+ - @akinon/pz-one-click-checkout@1.82.0-rc.8
374
+ - @akinon/pz-otp@1.82.0-rc.8
375
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.8
376
+ - @akinon/pz-saved-card@1.82.0-rc.8
377
+ - @akinon/pz-tabby-extension@1.82.0-rc.8
378
+ - @akinon/pz-tamara-extension@1.82.0-rc.8
379
+
380
+ ## 1.82.0-rc.7
381
+
382
+ ### Minor Changes
383
+
384
+ - c3b2f3f: ZERO-3267: Enable sentry client errors and filter them by log type
385
+
386
+ ### Patch Changes
387
+
388
+ - Updated dependencies [c3b2f3f]
389
+ - @akinon/next@1.82.0-rc.7
390
+ - @akinon/pz-akifast@1.82.0-rc.7
391
+ - @akinon/pz-b2b@1.82.0-rc.7
392
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.7
393
+ - @akinon/pz-bkm@1.82.0-rc.7
394
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.7
395
+ - @akinon/pz-click-collect@1.82.0-rc.7
396
+ - @akinon/pz-credit-payment@1.82.0-rc.7
397
+ - @akinon/pz-gpay@1.82.0-rc.7
398
+ - @akinon/pz-masterpass@1.82.0-rc.7
399
+ - @akinon/pz-one-click-checkout@1.82.0-rc.7
400
+ - @akinon/pz-otp@1.82.0-rc.7
401
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.7
402
+ - @akinon/pz-saved-card@1.82.0-rc.7
403
+ - @akinon/pz-tabby-extension@1.82.0-rc.7
404
+ - @akinon/pz-tamara-extension@1.82.0-rc.7
405
+
406
+ ## 1.82.0-rc.6
407
+
408
+ ### Patch Changes
409
+
410
+ - Updated dependencies [0b1bd07f]
411
+ - @akinon/next@1.82.0-rc.6
412
+ - @akinon/pz-akifast@1.82.0-rc.6
413
+ - @akinon/pz-b2b@1.82.0-rc.6
414
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.6
415
+ - @akinon/pz-bkm@1.82.0-rc.6
416
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.6
417
+ - @akinon/pz-click-collect@1.82.0-rc.6
418
+ - @akinon/pz-credit-payment@1.82.0-rc.6
419
+ - @akinon/pz-gpay@1.82.0-rc.6
420
+ - @akinon/pz-masterpass@1.82.0-rc.6
421
+ - @akinon/pz-one-click-checkout@1.82.0-rc.6
422
+ - @akinon/pz-otp@1.82.0-rc.6
423
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.6
424
+ - @akinon/pz-saved-card@1.82.0-rc.6
425
+ - @akinon/pz-tabby-extension@1.82.0-rc.6
426
+ - @akinon/pz-tamara-extension@1.82.0-rc.6
427
+
428
+ ## 1.82.0-rc.5
429
+
430
+ ### Minor Changes
431
+
432
+ - 6f506afc: ZERO-3229: Implement mini basket query for basket total quantity
433
+
434
+ ### Patch Changes
435
+
436
+ - Updated dependencies [6f506afc]
437
+ - Updated dependencies [c0c19629]
438
+ - Updated dependencies [9be2c081]
439
+ - @akinon/next@1.82.0-rc.5
440
+ - @akinon/pz-akifast@1.82.0-rc.5
441
+ - @akinon/pz-b2b@1.82.0-rc.5
442
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.5
443
+ - @akinon/pz-bkm@1.82.0-rc.5
444
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.5
445
+ - @akinon/pz-click-collect@1.82.0-rc.5
446
+ - @akinon/pz-credit-payment@1.82.0-rc.5
447
+ - @akinon/pz-gpay@1.82.0-rc.5
448
+ - @akinon/pz-masterpass@1.82.0-rc.5
449
+ - @akinon/pz-one-click-checkout@1.82.0-rc.5
450
+ - @akinon/pz-otp@1.82.0-rc.5
451
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.5
452
+ - @akinon/pz-saved-card@1.82.0-rc.5
453
+ - @akinon/pz-tabby-extension@1.82.0-rc.5
454
+ - @akinon/pz-tamara-extension@1.82.0-rc.5
455
+
456
+ ## 1.82.0-rc.4
457
+
458
+ ### Patch Changes
459
+
460
+ - Updated dependencies [b6e5b624]
461
+ - @akinon/next@1.82.0-rc.4
462
+ - @akinon/pz-akifast@1.82.0-rc.4
463
+ - @akinon/pz-b2b@1.82.0-rc.4
464
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.4
465
+ - @akinon/pz-bkm@1.82.0-rc.4
466
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.4
467
+ - @akinon/pz-click-collect@1.82.0-rc.4
468
+ - @akinon/pz-credit-payment@1.82.0-rc.4
469
+ - @akinon/pz-gpay@1.82.0-rc.4
470
+ - @akinon/pz-masterpass@1.82.0-rc.4
471
+ - @akinon/pz-one-click-checkout@1.82.0-rc.4
472
+ - @akinon/pz-otp@1.82.0-rc.4
473
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.4
474
+ - @akinon/pz-saved-card@1.82.0-rc.4
475
+ - @akinon/pz-tabby-extension@1.82.0-rc.4
476
+ - @akinon/pz-tamara-extension@1.82.0-rc.4
477
+
478
+ ## 1.82.0-rc.3
479
+
480
+ ### Minor Changes
481
+
482
+ - a0a1bac4: ZERO-3228 :edit OTP login flow to use Redux for popup visibility and clean up unused props
483
+
484
+ ### Patch Changes
485
+
486
+ - Updated dependencies [a0a1bac4]
487
+ - @akinon/pz-otp@1.82.0-rc.3
488
+ - @akinon/next@1.82.0-rc.3
489
+ - @akinon/pz-akifast@1.82.0-rc.3
490
+ - @akinon/pz-b2b@1.82.0-rc.3
491
+ - @akinon/pz-basket-gift-pack@1.82.0-rc.3
492
+ - @akinon/pz-bkm@1.82.0-rc.3
493
+ - @akinon/pz-checkout-gift-pack@1.82.0-rc.3
494
+ - @akinon/pz-click-collect@1.82.0-rc.3
495
+ - @akinon/pz-credit-payment@1.82.0-rc.3
496
+ - @akinon/pz-gpay@1.82.0-rc.3
497
+ - @akinon/pz-masterpass@1.82.0-rc.3
498
+ - @akinon/pz-one-click-checkout@1.82.0-rc.3
499
+ - @akinon/pz-pay-on-delivery@1.82.0-rc.3
500
+ - @akinon/pz-saved-card@1.82.0-rc.3
501
+ - @akinon/pz-tabby-extension@1.82.0-rc.3
502
+ - @akinon/pz-tamara-extension@1.82.0-rc.3
503
+
3
504
  ## 1.82.0-rc.2
4
505
 
5
506
  ### Minor Changes
@@ -3,4 +3,4 @@
3
3
  /// <reference types="next/navigation-types/compat/navigation" />
4
4
 
5
5
  // NOTE: This file should not be edited
6
- // see https://nextjs.org/docs/basic-features/typescript for more information.
6
+ // see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
@@ -26,7 +26,10 @@ const withPwaConfig = withPWA({
26
26
 
27
27
  const sentryConfig = {
28
28
  silent: true,
29
- dryRun: !process.env.SENTRY_DSN
29
+ dryRun: !process.env.SENTRY_DSN,
30
+ org: 'akinon'
31
+ // project: 'enter_your_project_name_here',
32
+ // authToken: 'enter_your_auth_token_here'
30
33
  };
31
34
 
32
35
  const enhancedConfig = withPzConfig(nextConfig);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "1.82.0-rc.2",
3
+ "version": "1.82.0-rc.21",
4
4
  "private": true,
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -22,29 +22,28 @@
22
22
  "prestart": "pz-prestart"
23
23
  },
24
24
  "dependencies": {
25
- "@akinon/next": "1.82.0-rc.2",
26
- "@akinon/pz-akifast": "1.82.0-rc.2",
27
- "@akinon/pz-b2b": "1.82.0-rc.2",
28
- "@akinon/pz-basket-gift-pack": "1.82.0-rc.2",
29
- "@akinon/pz-bkm": "1.82.0-rc.2",
30
- "@akinon/pz-checkout-gift-pack": "1.82.0-rc.2",
31
- "@akinon/pz-click-collect": "1.82.0-rc.2",
32
- "@akinon/pz-credit-payment": "1.82.0-rc.2",
33
- "@akinon/pz-gpay": "1.82.0-rc.2",
34
- "@akinon/pz-masterpass": "1.82.0-rc.2",
35
- "@akinon/pz-one-click-checkout": "1.82.0-rc.2",
36
- "@akinon/pz-otp": "1.82.0-rc.2",
37
- "@akinon/pz-pay-on-delivery": "1.82.0-rc.2",
38
- "@akinon/pz-saved-card": "1.82.0-rc.2",
39
- "@akinon/pz-tabby-extension": "1.82.0-rc.2",
40
- "@akinon/pz-tamara-extension": "1.82.0-rc.2",
25
+ "@akinon/next": "1.82.0-rc.21",
26
+ "@akinon/pz-akifast": "1.82.0-rc.21",
27
+ "@akinon/pz-b2b": "1.82.0-rc.21",
28
+ "@akinon/pz-basket-gift-pack": "1.82.0-rc.21",
29
+ "@akinon/pz-bkm": "1.82.0-rc.21",
30
+ "@akinon/pz-checkout-gift-pack": "1.82.0-rc.21",
31
+ "@akinon/pz-click-collect": "1.82.0-rc.21",
32
+ "@akinon/pz-credit-payment": "1.82.0-rc.21",
33
+ "@akinon/pz-gpay": "1.82.0-rc.21",
34
+ "@akinon/pz-masterpass": "1.82.0-rc.21",
35
+ "@akinon/pz-one-click-checkout": "1.82.0-rc.21",
36
+ "@akinon/pz-otp": "1.82.0-rc.21",
37
+ "@akinon/pz-pay-on-delivery": "1.82.0-rc.21",
38
+ "@akinon/pz-saved-card": "1.82.0-rc.21",
39
+ "@akinon/pz-tabby-extension": "1.82.0-rc.21",
40
+ "@akinon/pz-tamara-extension": "1.82.0-rc.21",
41
41
  "@hookform/resolvers": "2.9.0",
42
42
  "@next/third-parties": "14.1.0",
43
43
  "@react-google-maps/api": "2.17.1",
44
- "@sentry/nextjs": "8.35.0",
45
44
  "dayjs": "1.11.5",
46
45
  "lossless-json": "2.0.5",
47
- "next": "14.2.5",
46
+ "next": "14.2.25",
48
47
  "next-auth": "4.24.5",
49
48
  "next-pwa": "5.6.0",
50
49
  "pino": "8.11.0",
@@ -62,7 +61,7 @@
62
61
  "yup": "0.32.11"
63
62
  },
64
63
  "devDependencies": {
65
- "@akinon/eslint-plugin-projectzero": "1.82.0-rc.2",
64
+ "@akinon/eslint-plugin-projectzero": "1.82.0-rc.21",
66
65
  "@semantic-release/changelog": "6.0.2",
67
66
  "@semantic-release/exec": "6.0.3",
68
67
  "@semantic-release/git": "10.0.1",
@@ -38,6 +38,12 @@
38
38
  "description": "Please try again later.",
39
39
  "link_text": "Return to home page"
40
40
  },
41
+ "client_error": {
42
+ "title": "We encountered a problem with the page.",
43
+ "description": "This appears to be a client-side issue. Please try refreshing the page or clearing your browser cache.",
44
+ "link_text": "Return to home page"
45
+ },
46
+ "try_again": "Try Again",
41
47
  "breadcrumb": {
42
48
  "homepage": "Homepage"
43
49
  },
@@ -38,6 +38,12 @@
38
38
  "description": "Lütfen daha sonra tekrar deneyiniz.",
39
39
  "link_text": "Ana sayfaya dön"
40
40
  },
41
+ "client_error": {
42
+ "title": "Sayfada bir sorunla karşılaştık.",
43
+ "description": "Bu bir tarayıcı hatası gibi görünüyor. Lütfen sayfayı yenileyin veya tarayıcı önbelleğinizi temizleyin.",
44
+ "link_text": "Ana sayfaya dön"
45
+ },
46
+ "try_again": "Tekrar Dene",
41
47
  "breadcrumb": {
42
48
  "homepage": "Anasayfa"
43
49
  },
@@ -1,20 +1,17 @@
1
1
  'use client';
2
2
 
3
- import { useLocalization } from '@akinon/next/hooks';
4
- import { Link } from '@theme/components';
5
- import { ROUTES } from '@theme/routes';
3
+ import { useSentryUncaughtErrors } from '@akinon/next/hooks';
4
+ import PzErrorPage from '@akinon/next/views/error-page';
6
5
 
7
- export default function Error() {
8
- const { t } = useLocalization();
6
+ export default function ErrorPage({
7
+ error,
8
+ reset
9
+ }: {
10
+ error: Error & { digest?: string; isServerError?: boolean };
11
+ reset: () => void;
12
+ }) {
13
+ // DO NOT REMOVE THIS LINE TO REPORT UNCAUGHT ERRORS TO SENTRY
14
+ useSentryUncaughtErrors(error);
9
15
 
10
- return (
11
- <section className="text-center px-6 my-14 md:px-0 md:m-14">
12
- <div className="text-7xl font-bold md:text-8xl">500</div>
13
- <h1 className="text-lg md:text-xl"> {t('common.page_500.title')} </h1>
14
- <p className="text-lg md:text-xl"> {t('common.page_500.description')} </p>
15
- <Link href={ROUTES.HOME} className="text-lg underline">
16
- {t('common.page_500.link_text')}
17
- </Link>
18
- </section>
19
- );
16
+ return <PzErrorPage error={error} reset={reset} />;
20
17
  }
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  import { ReactNode, useMemo, useRef, useCallback } from 'react';
4
- import { useGetBasketQuery } from '@akinon/next/data/client/basket';
4
+ import { useGetMiniBasketQuery } from '@akinon/next/data/client/basket';
5
5
  import { useAppDispatch, useAppSelector } from '@akinon/next/redux/hooks';
6
6
  import {
7
7
  closeMiniBasket,
@@ -29,8 +29,11 @@ interface MenuItem {
29
29
  export default function ActionMenu() {
30
30
  const dispatch = useAppDispatch();
31
31
 
32
- const { data } = useGetBasketQuery();
33
- const totalQuantity = useMemo(() => data?.total_quantity ?? 0, [data]);
32
+ const { data: miniBasket } = useGetMiniBasketQuery();
33
+ const totalQuantity = useMemo(
34
+ () => miniBasket?.total_quantity ?? 0,
35
+ [miniBasket]
36
+ );
34
37
 
35
38
  const { open: miniBasketOpen } = useAppSelector(
36
39
  (state) => state.root.miniBasket
@@ -5,6 +5,7 @@ import clsx from 'clsx';
5
5
  import {
6
6
  basketApi,
7
7
  useGetBasketQuery,
8
+ useGetMiniBasketQuery,
8
9
  useUpdateQuantityMutation
9
10
  } from '@akinon/next/data/client/basket';
10
11
  import { useAppDispatch, useAppSelector } from '@akinon/next/redux/hooks';
@@ -151,12 +152,16 @@ export default function MiniBasket() {
151
152
  );
152
153
  const dispatch = useAppDispatch();
153
154
  const { data: basket, isLoading, isSuccess } = useGetBasketQuery();
155
+ const { data: miniBasket } = useGetMiniBasketQuery();
154
156
  const { t } = useLocalization();
155
157
  const { highlightedItem } = useAppSelector((state) => state.root.miniBasket);
156
158
  const [highlightedItemPk, setHighlightedItemPk] = useState(0);
157
159
  const [sortedBasket, setSortedBasket] = useState([]);
158
160
 
159
- const totalQuantity = useMemo(() => basket?.total_quantity ?? 0, [basket]);
161
+ const totalQuantity = useMemo(
162
+ () => miniBasket?.total_quantity ?? 0,
163
+ [miniBasket]
164
+ );
160
165
  const miniBasketList = useRef();
161
166
 
162
167
  useEffect(() => {
@@ -10,9 +10,10 @@ import { yupResolver } from '@hookform/resolvers/yup';
10
10
  import clsx from 'clsx';
11
11
  import { useLocalization } from '@akinon/next/hooks';
12
12
  import { useOtpLoginMutation } from '@akinon/next/data/client/user';
13
- import { useAppSelector } from '@akinon/next/redux/hooks';
13
+ import { useAppDispatch, useAppSelector } from '@akinon/next/redux/hooks';
14
14
  import PluginModule, { Component } from '@akinon/next/components/plugin-module';
15
15
  import { AuthError } from '@akinon/next/types';
16
+ import { showPopup } from '@akinon/pz-otp/src/redux/reducer';
16
17
 
17
18
  const loginFormSchema = (t) =>
18
19
  yup.object().shape({
@@ -25,9 +26,9 @@ const loginFormSchema = (t) =>
25
26
  });
26
27
 
27
28
  export const OtpLogin = () => {
29
+ const dispatch = useAppDispatch();
28
30
  const { user_phone_format } = useAppSelector((state) => state.config);
29
31
  const { t, locale } = useLocalization();
30
- const [showOtpModal, setShowOtpModal] = useState(false);
31
32
  const [otpLoginMutation] = useOtpLoginMutation();
32
33
 
33
34
  const {
@@ -79,7 +80,7 @@ export const OtpLogin = () => {
79
80
  })
80
81
  .unwrap()
81
82
  .then(() => {
82
- setShowOtpModal(true);
83
+ dispatch(showPopup());
83
84
  })
84
85
  .catch((error) => {
85
86
  if (error.status === 429) {
@@ -136,17 +137,14 @@ export const OtpLogin = () => {
136
137
  </Button>
137
138
  </form>
138
139
 
139
- {showOtpModal && (
140
- <PluginModule
141
- component={Component.Otp}
142
- props={{
143
- setShowPopup: setShowOtpModal,
144
- data: getValues(),
145
- submitAction: loginHandler,
146
- error: formError
147
- }}
148
- />
149
- )}
140
+ <PluginModule
141
+ component={Component.Otp}
142
+ props={{
143
+ data: getValues(),
144
+ submitAction: loginHandler,
145
+ error: formError
146
+ }}
147
+ />
150
148
  </section>
151
149
  );
152
150
  };
@@ -0,0 +1,30 @@
1
+ const path = require('path');
2
+ const { execSync } = require('child_process');
3
+
4
+ const codemodScripts = [
5
+ path.resolve(__dirname, 'remove-sentry-dependency.js'),
6
+ path.resolve(__dirname, 'remove-sentry-configs.js'),
7
+ path.resolve(__dirname, 'replace-error-page.js')
8
+ ];
9
+
10
+ const transform = () => {
11
+ const workingDir = path.resolve(process.cwd());
12
+
13
+ codemodScripts.forEach((script) => {
14
+ try {
15
+ execSync(
16
+ `jscodeshift --ignore-pattern="**/node_modules/**" -t ${script} ${workingDir} --extensions=json,ts,tsx,js,jsx,properties,md`,
17
+ {
18
+ cwd: workingDir,
19
+ stdio: 'inherit'
20
+ }
21
+ );
22
+ } catch (e) {
23
+ console.error(e);
24
+ }
25
+ });
26
+ };
27
+
28
+ module.exports = {
29
+ transform
30
+ };
@@ -0,0 +1,14 @@
1
+ const fs = require('fs');
2
+
3
+ const transform = (fileInfo, api, options) => {
4
+ const filePath = fileInfo.path;
5
+ const regex = /sentry\.\w+\.config\.(ts|js)$|sentry\.properties$/i;
6
+
7
+ if (regex.test(filePath) && fs.existsSync(filePath)) {
8
+ fs.unlinkSync(filePath);
9
+ }
10
+
11
+ return fileInfo.source;
12
+ };
13
+
14
+ module.exports = transform;
@@ -0,0 +1,25 @@
1
+ const transform = (fileInfo, api, options) => {
2
+ if (fileInfo.path.endsWith('package.json')) {
3
+ const packageJson = JSON.parse(fileInfo.source);
4
+
5
+ if (
6
+ packageJson.dependencies &&
7
+ packageJson.dependencies['@sentry/nextjs']
8
+ ) {
9
+ delete packageJson.dependencies['@sentry/nextjs'];
10
+ }
11
+
12
+ if (
13
+ packageJson.devDependencies &&
14
+ packageJson.devDependencies['@sentry/nextjs']
15
+ ) {
16
+ delete packageJson.devDependencies['@sentry/nextjs'];
17
+ }
18
+
19
+ return JSON.stringify(packageJson, null, 2);
20
+ }
21
+
22
+ return fileInfo.source;
23
+ };
24
+
25
+ module.exports = transform;
@@ -0,0 +1,32 @@
1
+ const fs = require('fs');
2
+
3
+ const template = `
4
+ 'use client';
5
+
6
+ import { useSentryUncaughtErrors } from '@akinon/next/hooks';
7
+ import PzErrorPage from '@akinon/next/views/error-page';
8
+
9
+ export default function ErrorPage({
10
+ error,
11
+ reset
12
+ }: {
13
+ error: Error & { digest?: string; isServerError?: boolean };
14
+ reset: () => void;
15
+ }) {
16
+ // DO NOT REMOVE THIS LINE TO REPORT UNCAUGHT ERRORS TO SENTRY
17
+ useSentryUncaughtErrors(error);
18
+
19
+ return <PzErrorPage error={error} reset={reset} />;
20
+ }
21
+
22
+ `;
23
+
24
+ const transform = (fileInfo, api, options) => {
25
+ const filePath = fileInfo.path;
26
+
27
+ if (filePath.endsWith('error.tsx')) {
28
+ fs.writeFileSync(filePath, template, { encoding: 'utf8' });
29
+ }
30
+ };
31
+
32
+ module.exports = transform;
@@ -0,0 +1,18 @@
1
+ import path from 'path';
2
+
3
+ const yargs = require('yargs/yargs');
4
+ const { hideBin } = require('yargs/helpers');
5
+ const args = yargs(hideBin(process.argv)).argv;
6
+
7
+ export default () => {
8
+ const workingDir = path.resolve(process.cwd());
9
+ const codemodName = args.codemod;
10
+ const codemodPath = path.resolve(
11
+ __dirname,
12
+ `../../codemods/${codemodName}/index.js`
13
+ );
14
+
15
+ const codemod = require(codemodPath);
16
+
17
+ codemod.transform();
18
+ };
package/commands/index.ts CHANGED
@@ -4,6 +4,7 @@ import addLanguage from './add-language';
4
4
  import removeLanguage from './remove-language';
5
5
  import defaultLanguage from './default-language';
6
6
  import plugins from './plugins';
7
+ import codemod from './codemod';
7
8
 
8
9
  export default {
9
10
  commerceUrl,
@@ -11,5 +12,6 @@ export default {
11
12
  addLanguage,
12
13
  removeLanguage,
13
14
  defaultLanguage,
14
- plugins
15
+ plugins,
16
+ codemod
15
17
  };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ 'use client';
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const hooks_1 = require("@akinon/next/hooks");
8
+ const error_page_1 = __importDefault(require("@akinon/next/views/error-page"));
9
+ function ErrorPage({ error, reset }) {
10
+ // DO NOT REMOVE THIS LINE TO REPORT UNCAUGHT ERRORS TO SENTRY
11
+ (0, hooks_1.useSentryUncaughtErrors)(error);
12
+ return React.createElement(error_page_1.default, { error: error, reset: reset });
13
+ }
14
+ exports.default = ErrorPage;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const path_1 = __importDefault(require("path"));
7
+ const yargs = require('yargs/yargs');
8
+ const { hideBin } = require('yargs/helpers');
9
+ const args = yargs(hideBin(process.argv)).argv;
10
+ exports.default = () => {
11
+ const workingDir = path_1.default.resolve(process.cwd());
12
+ const codemodName = args.codemod;
13
+ const codemodPath = path_1.default.resolve(__dirname, `../../codemods/${codemodName}/index.js`);
14
+ const codemod = require(codemodPath);
15
+ codemod.transform();
16
+ };
@@ -9,11 +9,13 @@ const add_language_1 = __importDefault(require("./add-language"));
9
9
  const remove_language_1 = __importDefault(require("./remove-language"));
10
10
  const default_language_1 = __importDefault(require("./default-language"));
11
11
  const plugins_1 = __importDefault(require("./plugins"));
12
+ const codemod_1 = __importDefault(require("./codemod"));
12
13
  exports.default = {
13
14
  commerceUrl: commerce_url_1.default,
14
15
  create: create_1.default,
15
16
  addLanguage: add_language_1.default,
16
17
  removeLanguage: remove_language_1.default,
17
18
  defaultLanguage: default_language_1.default,
18
- plugins: plugins_1.default
19
+ plugins: plugins_1.default,
20
+ codemod: codemod_1.default
19
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/projectzero",
3
- "version": "1.82.0-rc.2",
3
+ "version": "1.82.0-rc.21",
4
4
  "private": false,
5
5
  "description": "CLI tool to manage your Project Zero Next project",
6
6
  "bin": {
@@ -1,16 +0,0 @@
1
- import { initSentry } from '@akinon/next/sentry';
2
-
3
- async function initializeSentry() {
4
- const response = await fetch('/api/sentry', { next: { revalidate: 0 } });
5
- const data = await response.json();
6
-
7
- const options = {
8
- dsn: data.dsn,
9
- integrations: [],
10
- tracesSampleRate: 1.0
11
- };
12
-
13
- initSentry('Client', options);
14
- }
15
-
16
- initializeSentry();
@@ -1,4 +0,0 @@
1
- defaults.url=https://sentry.io/
2
- defaults.org=akinon
3
- defaults.project=console--zero-pwa
4
- cli.executable=node_modules/@sentry/cli/bin/sentry-cli
@@ -1,12 +0,0 @@
1
- import 'server-only';
2
- import { DynamicWidgetContainer } from '../dynamic-widget-renderer';
3
-
4
- export default async function WidgetPlaceholder({ slug }: { slug: string }) {
5
- return (
6
- <>
7
- <DynamicWidgetContainer />
8
- </>
9
- );
10
-
11
- return <div>WidgetPlaceholder</div>;
12
- }