@depup/react-email 5.2.10-depup.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 +652 -0
- package/README.md +43 -0
- package/changes.json +58 -0
- package/dev/CHANGELOG.md +13 -0
- package/dev/index.js +46 -0
- package/dev/package.json +10 -0
- package/dist/index.mjs +7326 -0
- package/license.md +7 -0
- package/package.json +128 -0
- package/readme.md +59 -0
- package/src/commands/build.ts +269 -0
- package/src/commands/dev.ts +27 -0
- package/src/commands/export.ts +204 -0
- package/src/commands/resend/reset.ts +8 -0
- package/src/commands/resend/setup.ts +29 -0
- package/src/commands/start.ts +38 -0
- package/src/index.ts +110 -0
- package/src/utils/conf.ts +9 -0
- package/src/utils/esbuild/escape-string-for-regex.ts +3 -0
- package/src/utils/esbuild/renderring-utilities-exporter.ts +63 -0
- package/src/utils/get-emails-directory-metadata.spec.ts +82 -0
- package/src/utils/get-emails-directory-metadata.ts +140 -0
- package/src/utils/get-preview-server-location.ts +50 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/packageJson.ts +4 -0
- package/src/utils/preview/get-env-variables-for-preview-app.ts +20 -0
- package/src/utils/preview/hot-reloading/create-dependency-graph.spec.ts +226 -0
- package/src/utils/preview/hot-reloading/create-dependency-graph.ts +343 -0
- package/src/utils/preview/hot-reloading/get-imported-modules.spec.ts +151 -0
- package/src/utils/preview/hot-reloading/get-imported-modules.ts +49 -0
- package/src/utils/preview/hot-reloading/resolve-path-aliases.spec.ts +11 -0
- package/src/utils/preview/hot-reloading/resolve-path-aliases.ts +32 -0
- package/src/utils/preview/hot-reloading/setup-hot-reloading.ts +121 -0
- package/src/utils/preview/hot-reloading/test/dependency-graph/inner/data-to-import.json +1 -0
- package/src/utils/preview/hot-reloading/test/dependency-graph/inner/file-a.ts +5 -0
- package/src/utils/preview/hot-reloading/test/dependency-graph/inner/file-b.ts +5 -0
- package/src/utils/preview/hot-reloading/test/dependency-graph/inner/general-importing-file.ts +9 -0
- package/src/utils/preview/hot-reloading/test/dependency-graph/inner/outer-dependency.ts +3 -0
- package/src/utils/preview/hot-reloading/test/dependency-graph/inner/path-aliases.ts +1 -0
- package/src/utils/preview/hot-reloading/test/dependency-graph/outer.ts +5 -0
- package/src/utils/preview/hot-reloading/test/some-file.ts +0 -0
- package/src/utils/preview/hot-reloading/test/tsconfig.json +8 -0
- package/src/utils/preview/index.ts +2 -0
- package/src/utils/preview/serve-static-file.ts +51 -0
- package/src/utils/preview/start-dev-server.ts +252 -0
- package/src/utils/register-spinner-autostopping.ts +28 -0
- package/src/utils/style-text.ts +11 -0
- package/src/utils/tree.spec.ts +29 -0
- package/src/utils/tree.ts +76 -0
- package/src/utils/types/hot-reload-change.ts +6 -0
- package/src/utils/types/hot-reload-event.ts +3 -0
- package/tsconfig.json +39 -0
- package/tsdown.config.ts +8 -0
- package/vitest.config.ts +15 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,652 @@
|
|
|
1
|
+
# react-email
|
|
2
|
+
|
|
3
|
+
## 5.2.10
|
|
4
|
+
|
|
5
|
+
## 5.2.9
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- 79bb7cc: manually determine esbuild binary path to avoid forcing a host version
|
|
10
|
+
|
|
11
|
+
## 5.2.8
|
|
12
|
+
|
|
13
|
+
## 5.2.7
|
|
14
|
+
|
|
15
|
+
## 5.2.6
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 11f56c5: fix RESEND_API_KEY being overwritten in email preview
|
|
20
|
+
|
|
21
|
+
## 5.3.0-canary.2
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 1b9df29: ensure that installed preview server also has dev dependencies
|
|
26
|
+
|
|
27
|
+
## 5.3.0-canary.1
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- 0289914: fix random errors due to root directory not being the preview's path
|
|
32
|
+
|
|
33
|
+
## 5.3.0-canary.0
|
|
34
|
+
|
|
35
|
+
### Minor Changes
|
|
36
|
+
|
|
37
|
+
- 7c18bd3: don't require installing @react-email/preview-server in the project, pack it into `$HOME/.react-email`
|
|
38
|
+
|
|
39
|
+
## 5.2.5
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- 81aea00: revert changes to fix compatibility with alpine
|
|
44
|
+
|
|
45
|
+
## 5.2.4
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- 26283f9: fix support for alpine
|
|
50
|
+
|
|
51
|
+
## 5.2.3
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- 800c960: `email build` always failing
|
|
56
|
+
|
|
57
|
+
## 5.2.2
|
|
58
|
+
|
|
59
|
+
## 5.2.1
|
|
60
|
+
|
|
61
|
+
## 5.2.0
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- 16cc7d1: increase timeout to 10 minutes by default, disable build workers
|
|
66
|
+
|
|
67
|
+
## 5.2.0-canary.3
|
|
68
|
+
|
|
69
|
+
### Patch Changes
|
|
70
|
+
|
|
71
|
+
- 16cc7d1: increase timeout to 10 minutes by default, disable build workers
|
|
72
|
+
|
|
73
|
+
## 5.2.0-canary.2
|
|
74
|
+
|
|
75
|
+
## 5.2.0-canary.1
|
|
76
|
+
|
|
77
|
+
## 5.2.0-canary.0
|
|
78
|
+
|
|
79
|
+
## 5.1.1
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- 8b7a660: remove use of devEngines which npm detects
|
|
84
|
+
|
|
85
|
+
## 5.1.0
|
|
86
|
+
|
|
87
|
+
### Minor Changes
|
|
88
|
+
|
|
89
|
+
- 3c2aa37: use turbo for `email build`
|
|
90
|
+
|
|
91
|
+
## 5.0.8
|
|
92
|
+
|
|
93
|
+
## 5.0.7
|
|
94
|
+
|
|
95
|
+
## 5.0.6
|
|
96
|
+
|
|
97
|
+
## 5.0.5
|
|
98
|
+
|
|
99
|
+
## 5.0.4
|
|
100
|
+
|
|
101
|
+
## 5.0.3
|
|
102
|
+
|
|
103
|
+
## 5.0.2
|
|
104
|
+
|
|
105
|
+
## 5.0.1
|
|
106
|
+
|
|
107
|
+
## 5.0.0
|
|
108
|
+
|
|
109
|
+
### Minor Changes
|
|
110
|
+
|
|
111
|
+
- 95c7417: Dark mode switcher emulating email client color inversion
|
|
112
|
+
|
|
113
|
+
### Patch Changes
|
|
114
|
+
|
|
115
|
+
- b6b027c: improved integration setup flow
|
|
116
|
+
- 1b3176e: fallback to not text coloring for Node.js < 20
|
|
117
|
+
|
|
118
|
+
## 5.0.0-canary.12
|
|
119
|
+
|
|
120
|
+
## 5.0.0-canary.11
|
|
121
|
+
|
|
122
|
+
## 5.0.0-canary.10
|
|
123
|
+
|
|
124
|
+
## 5.0.0-canary.9
|
|
125
|
+
|
|
126
|
+
## 5.0.0-canary.8
|
|
127
|
+
|
|
128
|
+
### Patch Changes
|
|
129
|
+
|
|
130
|
+
- b6b027c: improved integration setup flow
|
|
131
|
+
|
|
132
|
+
## 5.0.0-canary.7
|
|
133
|
+
|
|
134
|
+
## 5.0.0-canary.6
|
|
135
|
+
|
|
136
|
+
## 5.0.0-canary.5
|
|
137
|
+
|
|
138
|
+
## 5.0.0-canary.4
|
|
139
|
+
|
|
140
|
+
## 5.0.0-canary.3
|
|
141
|
+
|
|
142
|
+
### Minor Changes
|
|
143
|
+
|
|
144
|
+
- 95c7417: Dark mode switcher emulating email client color inversion
|
|
145
|
+
|
|
146
|
+
## 5.0.0-canary.2
|
|
147
|
+
|
|
148
|
+
### Patch Changes
|
|
149
|
+
|
|
150
|
+
- 1b3176e: fallback to not text coloring for Node.js < 20
|
|
151
|
+
|
|
152
|
+
## 5.0.0-canary.1
|
|
153
|
+
|
|
154
|
+
## 5.0.0-canary.0
|
|
155
|
+
|
|
156
|
+
## 4.3.2
|
|
157
|
+
|
|
158
|
+
## 4.3.1
|
|
159
|
+
|
|
160
|
+
### Patch Changes
|
|
161
|
+
|
|
162
|
+
- 1e13d15: hot reloading errors when importing .json and other file extensions
|
|
163
|
+
|
|
164
|
+
## 4.3.0
|
|
165
|
+
|
|
166
|
+
## 4.2.12
|
|
167
|
+
|
|
168
|
+
### Patch Changes
|
|
169
|
+
|
|
170
|
+
- 90f39d5: Normalize Windows paths in generated Next.js config
|
|
171
|
+
|
|
172
|
+
## 4.2.11
|
|
173
|
+
|
|
174
|
+
## 4.2.10
|
|
175
|
+
|
|
176
|
+
## 4.2.9
|
|
177
|
+
|
|
178
|
+
### Patch Changes
|
|
179
|
+
|
|
180
|
+
- 1e53b4c: use `styleText` from `node:util` instead of `chalk`
|
|
181
|
+
|
|
182
|
+
## 4.2.8
|
|
183
|
+
|
|
184
|
+
### Patch Changes
|
|
185
|
+
|
|
186
|
+
- 64cd6ec: fix hot reloading with circular dependencies
|
|
187
|
+
|
|
188
|
+
## 4.2.7
|
|
189
|
+
|
|
190
|
+
## 4.2.6
|
|
191
|
+
|
|
192
|
+
## 4.2.5
|
|
193
|
+
|
|
194
|
+
### Patch Changes
|
|
195
|
+
|
|
196
|
+
- 8719082: fix errors in `export` when without manual React import
|
|
197
|
+
|
|
198
|
+
## 4.2.4
|
|
199
|
+
|
|
200
|
+
## 4.2.3
|
|
201
|
+
|
|
202
|
+
### Patch Changes
|
|
203
|
+
|
|
204
|
+
- 8259eeb: fix files with extension-like suffixes (i.e. config, .spec) breaking dependency graph
|
|
205
|
+
|
|
206
|
+
## 4.2.2
|
|
207
|
+
|
|
208
|
+
### Patch Changes
|
|
209
|
+
|
|
210
|
+
- eb7f0ac: dev server erroring when trying to startup with port already being used
|
|
211
|
+
|
|
212
|
+
## 4.2.1
|
|
213
|
+
|
|
214
|
+
## 4.2.0
|
|
215
|
+
|
|
216
|
+
### Minor Changes
|
|
217
|
+
|
|
218
|
+
- e52818c: add custom error handling for prettier's syntax errors
|
|
219
|
+
|
|
220
|
+
## 4.1.3
|
|
221
|
+
|
|
222
|
+
## 4.1.2
|
|
223
|
+
|
|
224
|
+
## 4.1.1
|
|
225
|
+
|
|
226
|
+
### Patch Changes
|
|
227
|
+
|
|
228
|
+
- ef77691: fix path resolution done wrong breaking `email dev` on Windows
|
|
229
|
+
|
|
230
|
+
## 4.1.0
|
|
231
|
+
|
|
232
|
+
### Minor Changes
|
|
233
|
+
|
|
234
|
+
- abf8599: use a separate package for storing the preview server (@react-email/preview-server)
|
|
235
|
+
|
|
236
|
+
### Patch Changes
|
|
237
|
+
|
|
238
|
+
- e173b44: Use the same version for the preview-server and react-email
|
|
239
|
+
|
|
240
|
+
## 4.1.0-canary.12
|
|
241
|
+
|
|
242
|
+
## 4.1.0-canary.11
|
|
243
|
+
|
|
244
|
+
### Patch Changes
|
|
245
|
+
|
|
246
|
+
- 19d4b45: fix static file serving security issue with logging
|
|
247
|
+
|
|
248
|
+
## 4.1.0-canary.10
|
|
249
|
+
|
|
250
|
+
## 4.1.0-canary.9
|
|
251
|
+
|
|
252
|
+
### Patch Changes
|
|
253
|
+
|
|
254
|
+
- 40fb596: Use the same version for the preview-server and react-email
|
|
255
|
+
|
|
256
|
+
## 4.1.0-canary.8
|
|
257
|
+
|
|
258
|
+
### Minor Changes
|
|
259
|
+
|
|
260
|
+
- ed2f46a: use a separate package for storing the preview server (@react-email/preview-server)
|
|
261
|
+
|
|
262
|
+
## 4.1.0-canary.7
|
|
263
|
+
|
|
264
|
+
### Patch Changes
|
|
265
|
+
|
|
266
|
+
- f00aff6: Fix prettier errors causing NextJS serialization error
|
|
267
|
+
|
|
268
|
+
## 4.1.0-canary.6
|
|
269
|
+
|
|
270
|
+
### Patch Changes
|
|
271
|
+
|
|
272
|
+
- 11c4600: Add support for hot reloading with tsconfig path aliases
|
|
273
|
+
|
|
274
|
+
## 4.1.0-canary.5
|
|
275
|
+
|
|
276
|
+
### Patch Changes
|
|
277
|
+
|
|
278
|
+
- b947f98: Pre-render email templates on hover
|
|
279
|
+
|
|
280
|
+
## 4.1.0-canary.4
|
|
281
|
+
|
|
282
|
+
### Patch Changes
|
|
283
|
+
|
|
284
|
+
- 5c6150d: Add .json import support for hot reloading
|
|
285
|
+
- aae2f59: Ensure dependencies outside emails directory are completely resolved
|
|
286
|
+
- b4b2373: Fix non-email files being rendered during hot reloading
|
|
287
|
+
|
|
288
|
+
## 4.1.0-canary.3
|
|
289
|
+
|
|
290
|
+
### Patch Changes
|
|
291
|
+
|
|
292
|
+
- 681d4ed: fix backwards compatibility with `render` versions
|
|
293
|
+
|
|
294
|
+
## 4.1.0-canary.2
|
|
295
|
+
|
|
296
|
+
### Patch Changes
|
|
297
|
+
|
|
298
|
+
- 9b1adb0: Use range of versions for dependencies
|
|
299
|
+
|
|
300
|
+
## 4.1.0-canary.1
|
|
301
|
+
|
|
302
|
+
### Patch Changes
|
|
303
|
+
|
|
304
|
+
- a587e17: Fix dependent of dependents not causing hot reloads
|
|
305
|
+
- dbf3a64: Add error message for when an email template does not have a default export
|
|
306
|
+
|
|
307
|
+
## 4.1.0-canary.0
|
|
308
|
+
|
|
309
|
+
### Minor Changes
|
|
310
|
+
|
|
311
|
+
- 4a0d4e3: Theme switcher for email template
|
|
312
|
+
|
|
313
|
+
## 4.0.17
|
|
314
|
+
|
|
315
|
+
### Patch Changes
|
|
316
|
+
|
|
317
|
+
- e352a67: fix `<svg>` not being flagged as incompatible
|
|
318
|
+
- 8f64ebd: fix the forced `color-scheme: dark` for the preview
|
|
319
|
+
- 6de4e9f: fix static file serving security issue with logging
|
|
320
|
+
- b2e96d5: Add support for hot reloading with tsconfig path aliases
|
|
321
|
+
- 6b0cfd6: fix hot reloading with collapsed directories
|
|
322
|
+
- 8c93330: Fix prettier errors causing NextJS serialization error
|
|
323
|
+
- a07eebf: Pre-render email templates on hover
|
|
324
|
+
|
|
325
|
+
## 4.0.16
|
|
326
|
+
|
|
327
|
+
### Patch Changes
|
|
328
|
+
|
|
329
|
+
- 1340a0a: fix mobile's sidebar broken in the preview server
|
|
330
|
+
|
|
331
|
+
## 4.0.15
|
|
332
|
+
|
|
333
|
+
### Patch Changes
|
|
334
|
+
|
|
335
|
+
- 812c551: fix preview server's background gradient interferring with the user's colors
|
|
336
|
+
|
|
337
|
+
## 4.0.14
|
|
338
|
+
|
|
339
|
+
### Patch Changes
|
|
340
|
+
|
|
341
|
+
- b57f866: fix hot reloading with directories at least two levels deep
|
|
342
|
+
|
|
343
|
+
## 4.0.13
|
|
344
|
+
|
|
345
|
+
### Patch Changes
|
|
346
|
+
|
|
347
|
+
- 8e4afce: fix hot reloading support for users with `NodeNext`-style imports
|
|
348
|
+
|
|
349
|
+
## 4.0.12
|
|
350
|
+
|
|
351
|
+
### Patch Changes
|
|
352
|
+
|
|
353
|
+
- aa518a3: Add an explicit error when running Node <= 17
|
|
354
|
+
|
|
355
|
+
## 4.0.11
|
|
356
|
+
|
|
357
|
+
### Patch Changes
|
|
358
|
+
|
|
359
|
+
- 1a17219: fix improper `require` in `email export`
|
|
360
|
+
- 45ab698: update next to 15.3.1
|
|
361
|
+
|
|
362
|
+
## 4.0.10
|
|
363
|
+
|
|
364
|
+
### Patch Changes
|
|
365
|
+
|
|
366
|
+
- 5ef9fe8: fix support for `import ... = require(...)` syntax
|
|
367
|
+
- 4c7f597: fix `email dev` not working with `traversal` error
|
|
368
|
+
|
|
369
|
+
## 4.0.9
|
|
370
|
+
|
|
371
|
+
### Patch Changes
|
|
372
|
+
|
|
373
|
+
- 643d841: Add .json import support for hot reloading
|
|
374
|
+
- f21a983: fix Node 18 support
|
|
375
|
+
- cd02449: Ensure dependencies outside emails directory are completely resolved
|
|
376
|
+
- 73a31ed: Fix dependent of dependents not causing hot reloads
|
|
377
|
+
- bdffd8c: fix backwards compatibility with `render` versions
|
|
378
|
+
- e7fa043: Fix access to files outside `static` directory
|
|
379
|
+
- 9aa033c: Use range of versions for dependencies
|
|
380
|
+
- ab70556: Fix non-email files being rendered during hot reloading
|
|
381
|
+
- 9c9aa5d: Add error message for when an email template does not have a default export
|
|
382
|
+
|
|
383
|
+
## 4.0.8
|
|
384
|
+
|
|
385
|
+
### Patch Changes
|
|
386
|
+
|
|
387
|
+
- ea579b5: Log out errors that happen when `export`'s esbuild fails
|
|
388
|
+
|
|
389
|
+
## 4.0.7
|
|
390
|
+
|
|
391
|
+
### Patch Changes
|
|
392
|
+
|
|
393
|
+
- 403e415: Fix `deno` not working as an option for `email build`
|
|
394
|
+
|
|
395
|
+
## 4.0.6
|
|
396
|
+
|
|
397
|
+
### Patch Changes
|
|
398
|
+
|
|
399
|
+
- 809130e: `next@15.2.4`
|
|
400
|
+
|
|
401
|
+
## 4.0.5
|
|
402
|
+
|
|
403
|
+
### Patch Changes
|
|
404
|
+
|
|
405
|
+
- e1dc351: Add support for path aliases when linter runs tailwind config
|
|
406
|
+
|
|
407
|
+
## 4.0.4
|
|
408
|
+
|
|
409
|
+
### Patch Changes
|
|
410
|
+
|
|
411
|
+
- 1a7f9e6: Update dependencies: `next@15.2.3`
|
|
412
|
+
- 9832b5e: Fixed support for importing modules when linter loads Tailwind config
|
|
413
|
+
|
|
414
|
+
## 4.0.3
|
|
415
|
+
|
|
416
|
+
### Patch Changes
|
|
417
|
+
|
|
418
|
+
- 962f768: update esbuild to 0.25.0
|
|
419
|
+
- 2225fe6: Fix detection of files with various export patterns
|
|
420
|
+
|
|
421
|
+
## 4.0.2
|
|
422
|
+
|
|
423
|
+
### Patch Changes
|
|
424
|
+
|
|
425
|
+
- ddf9652: Fix crashing when the link or image does not exist
|
|
426
|
+
|
|
427
|
+
## 4.0.1
|
|
428
|
+
|
|
429
|
+
### Patch Changes
|
|
430
|
+
|
|
431
|
+
- 8fd7409: Fix static files regression
|
|
432
|
+
- 8448a0b: Improved classes, better borders on table, improved scollbar colors
|
|
433
|
+
|
|
434
|
+
## 4.0.0
|
|
435
|
+
|
|
436
|
+
### Major Changes
|
|
437
|
+
|
|
438
|
+
- 56ab5ab: Add toolbar with image/link validation, compatibility checking and a spam scoring system
|
|
439
|
+
|
|
440
|
+
## 3.0.7
|
|
441
|
+
|
|
442
|
+
### Patch Changes
|
|
443
|
+
|
|
444
|
+
- c61760e: use the `punycode` package for the static modules
|
|
445
|
+
- 382c305: Fixes active state for root email templats on file tree
|
|
446
|
+
- 519f0c6: Respect user's NODE_ENV when previewing templates
|
|
447
|
+
- e149816: Upgrade socket.io to 4.8.1
|
|
448
|
+
|
|
449
|
+
## 3.0.7-canary.1
|
|
450
|
+
|
|
451
|
+
### Patch Changes
|
|
452
|
+
|
|
453
|
+
- 57db6f7: Upgrade socket.io to 4.8.1
|
|
454
|
+
|
|
455
|
+
## 3.0.7-canary.0
|
|
456
|
+
|
|
457
|
+
### Patch Changes
|
|
458
|
+
|
|
459
|
+
- 98b434c: Fixes active state for root email templats on file tree
|
|
460
|
+
- 1c5c986: Respect user's NODE_ENV when previewing templates
|
|
461
|
+
|
|
462
|
+
## 3.0.6
|
|
463
|
+
|
|
464
|
+
### Patch Changes
|
|
465
|
+
|
|
466
|
+
- c6fcd94: Fix preview server crashing without React 19
|
|
467
|
+
|
|
468
|
+
## 3.0.5
|
|
469
|
+
|
|
470
|
+
### Patch Changes
|
|
471
|
+
|
|
472
|
+
- 7337d04: Fix emails being re-rendered each time there is navigation in the preview server
|
|
473
|
+
|
|
474
|
+
## 3.0.4
|
|
475
|
+
|
|
476
|
+
### Patch Changes
|
|
477
|
+
|
|
478
|
+
- 8f395d2: Update to React 19
|
|
479
|
+
|
|
480
|
+
## 3.0.3
|
|
481
|
+
|
|
482
|
+
### Patch Changes
|
|
483
|
+
|
|
484
|
+
- 1e82151: fix null byte characters being rendered in the preview server
|
|
485
|
+
- b34aa90: Move react and react-dom to just dependencies for better DX
|
|
486
|
+
- 6781316: Improve error messages for all CLI commands
|
|
487
|
+
|
|
488
|
+
## 3.0.3-canary.2
|
|
489
|
+
|
|
490
|
+
### Patch Changes
|
|
491
|
+
|
|
492
|
+
- 6781316: Improve error messages for all CLI commands
|
|
493
|
+
|
|
494
|
+
## 3.0.3-canary.1
|
|
495
|
+
|
|
496
|
+
### Patch Changes
|
|
497
|
+
|
|
498
|
+
- 6facd7c: fix null byte characters being rendered in the preview server
|
|
499
|
+
|
|
500
|
+
## 3.0.3-canary.0
|
|
501
|
+
|
|
502
|
+
### Patch Changes
|
|
503
|
+
|
|
504
|
+
- f7833da: Move react and react-dom to just dependencies for better DX
|
|
505
|
+
|
|
506
|
+
## 3.0.2
|
|
507
|
+
|
|
508
|
+
### Patch Changes
|
|
509
|
+
|
|
510
|
+
- dc72ca4: bump chokidar to v4
|
|
511
|
+
- 2a8675a: Add util/types as a module
|
|
512
|
+
- 4b174a4: Fix missing Request and Response globals
|
|
513
|
+
- 7eb68af: Fix NODE_ENV for emails as "PRODUCTION" instead of "DEVELOPMENT"
|
|
514
|
+
- 76183e0: Update socket.io and socket.io-client
|
|
515
|
+
- f295614: Add AbortSignal, Event and EventTarget
|
|
516
|
+
- bb79540: Add missing timers/promises Node module for `email dev`
|
|
517
|
+
|
|
518
|
+
## 3.0.2-canary.4
|
|
519
|
+
|
|
520
|
+
### Patch Changes
|
|
521
|
+
|
|
522
|
+
- 76183e0: Update socket.io and socket.io-client
|
|
523
|
+
|
|
524
|
+
## 3.0.2-canary.3
|
|
525
|
+
|
|
526
|
+
### Patch Changes
|
|
527
|
+
|
|
528
|
+
- ac01c91: bump chokidar to v4
|
|
529
|
+
|
|
530
|
+
## 3.0.2-canary.2
|
|
531
|
+
|
|
532
|
+
### Patch Changes
|
|
533
|
+
|
|
534
|
+
- 59e27bc: Add missing timers/promises Node module for `email dev`
|
|
535
|
+
|
|
536
|
+
## 3.0.2-canary.1
|
|
537
|
+
|
|
538
|
+
### Patch Changes
|
|
539
|
+
|
|
540
|
+
- 8ceb667: Add util/types as a module
|
|
541
|
+
- da82d77: Add AbortSignal, Event and EventTarget
|
|
542
|
+
|
|
543
|
+
## 3.0.2-canary.0
|
|
544
|
+
|
|
545
|
+
### Patch Changes
|
|
546
|
+
|
|
547
|
+
- 76bbf7b: Fix missing Request and Response globals
|
|
548
|
+
- 1af53fb: Fix NODE_ENV for emails as "PRODUCTION" instead of "DEVELOPMENT"
|
|
549
|
+
|
|
550
|
+
## 3.0.1
|
|
551
|
+
|
|
552
|
+
### Patch Changes
|
|
553
|
+
|
|
554
|
+
- a40904e: Fix hot reloading
|
|
555
|
+
|
|
556
|
+
## 3.0.0
|
|
557
|
+
|
|
558
|
+
### Major Changes
|
|
559
|
+
|
|
560
|
+
- 1a47335: Use a built version of preview app when running `email dev`
|
|
561
|
+
|
|
562
|
+
### Patch Changes
|
|
563
|
+
|
|
564
|
+
- 19cab7b: Fixes decorators causing dependency tree babel parsing to fail
|
|
565
|
+
- 14b7d1d: update socket.io/socket.io-client to 4.7.5
|
|
566
|
+
- b68e166: Fix sharp warning when running `email dev`
|
|
567
|
+
- 3caaf53: Updated peer dependencies to allow for React 19 release candidated and React 19 itself
|
|
568
|
+
- 9a5fd78: fix email template preview failing with emails having spaces
|
|
569
|
+
- d118a39: Fixes tooltip color being black for specific theming configurations
|
|
570
|
+
- 481e339: Fixes root directories being hidden when they are alone at their depth
|
|
571
|
+
- f9483ec: Deprecated `renderAsync` and made `render` itself always async
|
|
572
|
+
|
|
573
|
+
## Why
|
|
574
|
+
|
|
575
|
+
Three reasons:
|
|
576
|
+
1. Better support of NextJS's latest versions
|
|
577
|
+
2. Being ready for future React API deprecations
|
|
578
|
+
3. Support for Suspense which allows for using async inside components
|
|
579
|
+
|
|
580
|
+
See https://github.com/resend/react-email/discussions/1144 for more info.
|
|
581
|
+
|
|
582
|
+
## How to upgrade
|
|
583
|
+
|
|
584
|
+
If you are using the old `render`, you will need to now treat the Promise
|
|
585
|
+
that comes out of it, as it is now async. If you are using `renderAsync`,
|
|
586
|
+
you can replace it with `render` and things should work the same.
|
|
587
|
+
|
|
588
|
+
## 3.0.0-canary.1
|
|
589
|
+
|
|
590
|
+
### Patch Changes
|
|
591
|
+
|
|
592
|
+
- b87cbbf: Fix sharp warning when running `email dev`
|
|
593
|
+
|
|
594
|
+
## 3.0.0-canary.0
|
|
595
|
+
|
|
596
|
+
### Major Changes
|
|
597
|
+
|
|
598
|
+
- f552226: Use a built version of preview app when running `email dev`
|
|
599
|
+
|
|
600
|
+
### Patch Changes
|
|
601
|
+
|
|
602
|
+
- 2799bb4: fix email template preview failing with emails having spaces
|
|
603
|
+
- 3f67038: Deprecated `renderAsync` and made `render` itself always async
|
|
604
|
+
|
|
605
|
+
## Why
|
|
606
|
+
|
|
607
|
+
Three reasons:
|
|
608
|
+
1. Better support of NextJS's latest versions
|
|
609
|
+
2. Being ready for future React API deprecations
|
|
610
|
+
3. Support for Suspense which allows for using async inside components
|
|
611
|
+
|
|
612
|
+
See https://github.com/resend/react-email/discussions/1144 for more info.
|
|
613
|
+
|
|
614
|
+
## How to upgrade
|
|
615
|
+
|
|
616
|
+
If you are using the old `render`, you will need to now treat the Promise
|
|
617
|
+
that comes out of it, as it is now async. If you are using `renderAsync`,
|
|
618
|
+
you can replace it with `render` and things should work the same.
|
|
619
|
+
|
|
620
|
+
## 2.1.7-canary.2
|
|
621
|
+
|
|
622
|
+
### Patch Changes
|
|
623
|
+
|
|
624
|
+
- 349e5d5: Fixes decorators causing dependency tree babel parsing to fail
|
|
625
|
+
- 983626d: Fixes root directories being hidden when they are alone at their depth
|
|
626
|
+
|
|
627
|
+
## 2.1.7-canary.1
|
|
628
|
+
|
|
629
|
+
### Patch Changes
|
|
630
|
+
|
|
631
|
+
- 6f5204e: Fixes tooltip color being black for specific theming configurations
|
|
632
|
+
|
|
633
|
+
## 2.1.7-canary.0
|
|
634
|
+
|
|
635
|
+
### Patch Changes
|
|
636
|
+
|
|
637
|
+
- 27234ec: update socket.io/socket.io-client to 4.7.5
|
|
638
|
+
- a1c016b: Updated peer dependencies to allow for React 19 release candidated and React 19 itself
|
|
639
|
+
|
|
640
|
+
## 2.1.6
|
|
641
|
+
|
|
642
|
+
### Patch changes
|
|
643
|
+
|
|
644
|
+
- Fixes live refresh not working with files outside `emails` directory
|
|
645
|
+
- Fixes export failing when templates have different suffixes
|
|
646
|
+
|
|
647
|
+
## 2.1.6-canary.0
|
|
648
|
+
|
|
649
|
+
### Patch changes
|
|
650
|
+
|
|
651
|
+
- Fixes live refresh not working with files outside `emails` directory
|
|
652
|
+
- Fixes export failing when templates have different suffixes
|
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# @depup/react-email
|
|
2
|
+
|
|
3
|
+
> Dependency-bumped version of [react-email](https://www.npmjs.com/package/react-email)
|
|
4
|
+
|
|
5
|
+
Generated by [DepUp](https://github.com/depup/npm) -- all production
|
|
6
|
+
dependencies bumped to latest versions.
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @depup/react-email
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
| Field | Value |
|
|
15
|
+
|-------|-------|
|
|
16
|
+
| Original | [react-email](https://www.npmjs.com/package/react-email) @ 5.2.10 |
|
|
17
|
+
| Processed | 2026-03-18 |
|
|
18
|
+
| Smoke test | failed |
|
|
19
|
+
| Deps updated | 13 |
|
|
20
|
+
|
|
21
|
+
## Dependency Changes
|
|
22
|
+
|
|
23
|
+
| Dependency | From | To |
|
|
24
|
+
|------------|------|-----|
|
|
25
|
+
| @babel/parser | 7.27.0 | ^7.29.2 |
|
|
26
|
+
| @babel/traverse | 7.27.0 | ^7.29.0 |
|
|
27
|
+
| chokidar | ^4.0.3 | ^5.0.0 |
|
|
28
|
+
| commander | ^13.0.0 | ^14.0.3 |
|
|
29
|
+
| conf | ^15.0.2 | ^15.1.0 |
|
|
30
|
+
| debounce | ^2.0.0 | ^3.0.0 |
|
|
31
|
+
| esbuild | 0.27.3 | ^0.27.4 |
|
|
32
|
+
| jiti | 2.4.2 | ^2.6.1 |
|
|
33
|
+
| log-symbols | ^7.0.0 | ^7.0.1 |
|
|
34
|
+
| mime-types | ^3.0.0 | ^3.0.2 |
|
|
35
|
+
| nypm | 0.6.2 | ^0.6.5 |
|
|
36
|
+
| ora | ^8.0.0 | ^9.3.0 |
|
|
37
|
+
| socket.io | ^4.8.1 | ^4.8.3 |
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/react-email
|
|
42
|
+
|
|
43
|
+
License inherited from the original package.
|