react-email 4.0.7 → 4.0.8

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.
Files changed (115) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cli/index.js +10 -7
  3. package/dist/cli/index.mjs +10 -7
  4. package/dist/index.js +1234 -0
  5. package/dist/preview/.next/BUILD_ID +1 -1
  6. package/dist/preview/.next/app-build-manifest.json +4 -4
  7. package/dist/preview/.next/app-path-routes-manifest.json +1 -1
  8. package/dist/preview/.next/build-manifest.json +2 -2
  9. package/dist/preview/.next/next-minimal-server.js.nft.json +1 -1
  10. package/dist/preview/.next/next-server.js.nft.json +1 -1
  11. package/dist/preview/.next/prerender-manifest.json +3 -3
  12. package/dist/preview/.next/server/app/_not-found/page.js +1 -1
  13. package/dist/preview/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  14. package/dist/preview/.next/server/app/page.js +1 -1
  15. package/dist/preview/.next/server/app/page.js.nft.json +1 -1
  16. package/dist/preview/.next/server/app/page_client-reference-manifest.js +1 -1
  17. package/dist/preview/.next/server/app/preview/[...slug]/page.js +12 -12
  18. package/dist/preview/.next/server/app/preview/[...slug]/page.js.nft.json +1 -1
  19. package/dist/preview/.next/server/app/preview/[...slug]/page_client-reference-manifest.js +1 -1
  20. package/dist/preview/.next/server/app-paths-manifest.json +1 -1
  21. package/dist/preview/.next/server/chunks/265.js +1 -0
  22. package/dist/preview/.next/server/pages/500.html +1 -1
  23. package/dist/preview/.next/server/server-reference-manifest.js +1 -1
  24. package/dist/preview/.next/server/server-reference-manifest.json +1 -1
  25. package/dist/preview/.next/static/chunks/{587-352f8079202a48d0.js → 587-2b8de61789f0fd1b.js} +1 -1
  26. package/dist/preview/.next/static/chunks/app/layout-a3d4e7b4de277118.js +1 -0
  27. package/dist/preview/.next/static/chunks/app/preview/[...slug]/page-cab7e5e69e3b91e2.js +1 -0
  28. package/dist/preview/.next/trace +27 -27
  29. package/package.json +1 -1
  30. package/src/commands/testing/out/magic-links/aws-verify-email.html +164 -0
  31. package/src/commands/testing/out/magic-links/linear-login-code.html +89 -0
  32. package/src/commands/testing/out/magic-links/notion-magic-link.html +75 -0
  33. package/src/commands/testing/out/magic-links/plaid-verify-identity.html +78 -0
  34. package/src/commands/testing/out/magic-links/raycast-magic-link.html +90 -0
  35. package/src/commands/testing/out/magic-links/slack-confirm.html +239 -0
  36. package/src/commands/testing/out/newsletters/codepen-challengers.html +547 -0
  37. package/src/commands/testing/out/newsletters/google-play-policy-update.html +338 -0
  38. package/src/commands/testing/out/newsletters/stack-overflow-tips.html +230 -0
  39. package/src/commands/testing/out/notifications/github-access-token.html +103 -0
  40. package/src/commands/testing/out/notifications/papermark-year-in-review.html +316 -0
  41. package/src/commands/testing/out/notifications/vercel-invite-user.html +170 -0
  42. package/src/commands/testing/out/notifications/yelp-recent-login.html +194 -0
  43. package/src/commands/testing/out/receipts/apple-receipt.html +676 -0
  44. package/src/commands/testing/out/receipts/nike-receipt.html +723 -0
  45. package/src/commands/testing/out/reset-password/dropbox-reset-password.html +97 -0
  46. package/src/commands/testing/out/reset-password/twitch-reset-password.html +219 -0
  47. package/src/commands/testing/out/reviews/airbnb-review.html +205 -0
  48. package/src/commands/testing/out/reviews/amazon-review.html +355 -0
  49. package/src/commands/testing/out/static/airbnb-logo.png +0 -0
  50. package/src/commands/testing/out/static/airbnb-review-user.jpg +0 -0
  51. package/src/commands/testing/out/static/amazon-book.jpg +0 -0
  52. package/src/commands/testing/out/static/amazon-facebook.jpg +0 -0
  53. package/src/commands/testing/out/static/amazon-instagram.jpg +0 -0
  54. package/src/commands/testing/out/static/amazon-logo.png +0 -0
  55. package/src/commands/testing/out/static/amazon-prime-logo.png +0 -0
  56. package/src/commands/testing/out/static/amazon-rating.gif +0 -0
  57. package/src/commands/testing/out/static/amazon-twitter.jpg +0 -0
  58. package/src/commands/testing/out/static/apple-card-icon.png +0 -0
  59. package/src/commands/testing/out/static/apple-hbo-max-icon.jpeg +0 -0
  60. package/src/commands/testing/out/static/apple-logo.png +0 -0
  61. package/src/commands/testing/out/static/apple-wallet.png +0 -0
  62. package/src/commands/testing/out/static/aws-logo.png +0 -0
  63. package/src/commands/testing/out/static/codepen-challengers.png +0 -0
  64. package/src/commands/testing/out/static/codepen-cube.png +0 -0
  65. package/src/commands/testing/out/static/codepen-pro.png +0 -0
  66. package/src/commands/testing/out/static/dropbox-logo.png +0 -0
  67. package/src/commands/testing/out/static/github.png +0 -0
  68. package/src/commands/testing/out/static/google-play-academy.png +0 -0
  69. package/src/commands/testing/out/static/google-play-chat.png +0 -0
  70. package/src/commands/testing/out/static/google-play-footer.png +0 -0
  71. package/src/commands/testing/out/static/google-play-header.png +0 -0
  72. package/src/commands/testing/out/static/google-play-icon.png +0 -0
  73. package/src/commands/testing/out/static/google-play-logo.png +0 -0
  74. package/src/commands/testing/out/static/google-play-pl.png +0 -0
  75. package/src/commands/testing/out/static/google-play.png +0 -0
  76. package/src/commands/testing/out/static/koala-logo.png +0 -0
  77. package/src/commands/testing/out/static/linear-logo.png +0 -0
  78. package/src/commands/testing/out/static/netlify-logo.png +0 -0
  79. package/src/commands/testing/out/static/nike-logo.png +0 -0
  80. package/src/commands/testing/out/static/nike-phone.png +0 -0
  81. package/src/commands/testing/out/static/nike-product.png +0 -0
  82. package/src/commands/testing/out/static/nike-recomendation-1.png +0 -0
  83. package/src/commands/testing/out/static/nike-recomendation-2.png +0 -0
  84. package/src/commands/testing/out/static/nike-recomendation-3.png +0 -0
  85. package/src/commands/testing/out/static/nike-recomendation-4.png +0 -0
  86. package/src/commands/testing/out/static/notion-logo.png +0 -0
  87. package/src/commands/testing/out/static/plaid-logo.png +0 -0
  88. package/src/commands/testing/out/static/raycast-bg.png +0 -0
  89. package/src/commands/testing/out/static/raycast-logo.png +0 -0
  90. package/src/commands/testing/out/static/slack-facebook.png +0 -0
  91. package/src/commands/testing/out/static/slack-linkedin.png +0 -0
  92. package/src/commands/testing/out/static/slack-logo.png +0 -0
  93. package/src/commands/testing/out/static/slack-twitter.png +0 -0
  94. package/src/commands/testing/out/static/stack-overflow-header.png +0 -0
  95. package/src/commands/testing/out/static/stack-overflow-logo-sm.png +0 -0
  96. package/src/commands/testing/out/static/stack-overflow-logo.png +0 -0
  97. package/src/commands/testing/out/static/stripe-logo.png +0 -0
  98. package/src/commands/testing/out/static/twitch-icon-facebook.png +0 -0
  99. package/src/commands/testing/out/static/twitch-icon-twitter.png +0 -0
  100. package/src/commands/testing/out/static/twitch-logo.png +0 -0
  101. package/src/commands/testing/out/static/vercel-arrow.png +0 -0
  102. package/src/commands/testing/out/static/vercel-logo.png +0 -0
  103. package/src/commands/testing/out/static/vercel-team.png +0 -0
  104. package/src/commands/testing/out/static/vercel-user.png +0 -0
  105. package/src/commands/testing/out/static/yelp-footer.png +0 -0
  106. package/src/commands/testing/out/static/yelp-header.png +0 -0
  107. package/src/commands/testing/out/static/yelp-logo.png +0 -0
  108. package/src/commands/testing/out/welcome/koala-welcome.html +89 -0
  109. package/src/commands/testing/out/welcome/netlify-welcome.html +198 -0
  110. package/src/commands/testing/out/welcome/stripe-welcome.html +152 -0
  111. package/dist/preview/.next/server/chunks/380.js +0 -1
  112. package/dist/preview/.next/static/chunks/app/layout-fa93a7ef0cc5ebdb.js +0 -1
  113. package/dist/preview/.next/static/chunks/app/preview/[...slug]/page-95449af2d870e732.js +0 -1
  114. /package/dist/preview/.next/static/{Oy7kpIZ6Nbnd7hpoEKBWw → t22IN7aANTezJAJOfFnv-}/_buildManifest.js +0 -0
  115. /package/dist/preview/.next/static/{Oy7kpIZ6Nbnd7hpoEKBWw → t22IN7aANTezJAJOfFnv-}/_ssgManifest.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # react-email
2
2
 
3
+ ## 4.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - ea579b5: Log out errors that happen when `export`'s esbuild fails
8
+
3
9
  ## 4.0.7
4
10
 
5
11
  ### Patch Changes
package/dist/cli/index.js CHANGED
@@ -28,7 +28,7 @@ var import_commander = require("commander");
28
28
  // package.json
29
29
  var package_default = {
30
30
  name: "react-email",
31
- version: "4.0.7",
31
+ version: "4.0.8",
32
32
  description: "A live preview of your emails right in your browser.",
33
33
  bin: {
34
34
  email: "./dist/cli/index.js"
@@ -1165,23 +1165,26 @@ var exportTemplates = async (pathToWhereEmailMarkupShouldBeDumped, emailsDirecto
1165
1165
  await (0, import_esbuild.build)({
1166
1166
  bundle: true,
1167
1167
  entryPoints: allTemplates,
1168
- plugins: [renderingUtilitiesExporter(allTemplates)],
1169
- platform: "node",
1170
1168
  format: "cjs",
1169
+ jsx: "transform",
1171
1170
  loader: { ".js": "jsx" },
1171
+ logLevel: "silent",
1172
1172
  outExtension: { ".js": ".cjs" },
1173
- jsx: "transform",
1174
- write: true,
1175
- outdir: pathToWhereEmailMarkupShouldBeDumped
1173
+ outdir: pathToWhereEmailMarkupShouldBeDumped,
1174
+ platform: "node",
1175
+ plugins: [renderingUtilitiesExporter(allTemplates)],
1176
+ write: true
1176
1177
  });
1177
1178
  } catch (exception) {
1178
- const buildFailure = exception;
1179
1179
  if (spinner) {
1180
1180
  spinner.stopAndPersist({
1181
1181
  symbol: import_log_symbols4.default.error,
1182
1182
  text: "Failed to build emails"
1183
1183
  });
1184
1184
  }
1185
+ const buildFailure = exception;
1186
+ console.error(`
1187
+ ${buildFailure.message}`);
1185
1188
  process.exit(1);
1186
1189
  }
1187
1190
  if (spinner) {
@@ -13,7 +13,7 @@ import { program } from "commander";
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "react-email",
16
- version: "4.0.7",
16
+ version: "4.0.8",
17
17
  description: "A live preview of your emails right in your browser.",
18
18
  bin: {
19
19
  email: "./dist/cli/index.js"
@@ -1150,23 +1150,26 @@ var exportTemplates = async (pathToWhereEmailMarkupShouldBeDumped, emailsDirecto
1150
1150
  await build2({
1151
1151
  bundle: true,
1152
1152
  entryPoints: allTemplates,
1153
- plugins: [renderingUtilitiesExporter(allTemplates)],
1154
- platform: "node",
1155
1153
  format: "cjs",
1154
+ jsx: "transform",
1156
1155
  loader: { ".js": "jsx" },
1156
+ logLevel: "silent",
1157
1157
  outExtension: { ".js": ".cjs" },
1158
- jsx: "transform",
1159
- write: true,
1160
- outdir: pathToWhereEmailMarkupShouldBeDumped
1158
+ outdir: pathToWhereEmailMarkupShouldBeDumped,
1159
+ platform: "node",
1160
+ plugins: [renderingUtilitiesExporter(allTemplates)],
1161
+ write: true
1161
1162
  });
1162
1163
  } catch (exception) {
1163
- const buildFailure = exception;
1164
1164
  if (spinner) {
1165
1165
  spinner.stopAndPersist({
1166
1166
  symbol: logSymbols4.error,
1167
1167
  text: "Failed to build emails"
1168
1168
  });
1169
1169
  }
1170
+ const buildFailure = exception;
1171
+ console.error(`
1172
+ ${buildFailure.message}`);
1170
1173
  process.exit(1);
1171
1174
  }
1172
1175
  if (spinner) {