react-email 4.0.6 → 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.
- package/CHANGELOG.md +12 -0
- package/dist/cli/index.js +15 -8
- package/dist/cli/index.mjs +15 -8
- package/dist/index.js +1234 -0
- package/dist/preview/.next/BUILD_ID +1 -1
- package/dist/preview/.next/app-build-manifest.json +4 -4
- package/dist/preview/.next/build-manifest.json +2 -2
- package/dist/preview/.next/next-minimal-server.js.nft.json +1 -1
- package/dist/preview/.next/next-server.js.nft.json +1 -1
- package/dist/preview/.next/prerender-manifest.json +3 -3
- package/dist/preview/.next/server/app/_not-found/page.js +1 -1
- package/dist/preview/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/preview/.next/server/app/page.js +1 -1
- package/dist/preview/.next/server/app/page.js.nft.json +1 -1
- package/dist/preview/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/preview/.next/server/app/preview/[...slug]/page.js +12 -12
- package/dist/preview/.next/server/app/preview/[...slug]/page.js.nft.json +1 -1
- package/dist/preview/.next/server/app/preview/[...slug]/page_client-reference-manifest.js +1 -1
- package/dist/preview/.next/server/chunks/265.js +1 -0
- package/dist/preview/.next/server/pages/500.html +1 -1
- package/dist/preview/.next/server/server-reference-manifest.js +1 -1
- package/dist/preview/.next/server/server-reference-manifest.json +1 -1
- package/dist/preview/.next/static/chunks/{587-d27727c99e75067e.js → 587-2b8de61789f0fd1b.js} +1 -1
- package/dist/preview/.next/static/chunks/app/layout-a3d4e7b4de277118.js +1 -0
- package/dist/preview/.next/static/chunks/app/preview/[...slug]/page-cab7e5e69e3b91e2.js +1 -0
- package/dist/preview/.next/trace +27 -27
- package/package.json +1 -1
- package/src/commands/testing/out/magic-links/aws-verify-email.html +164 -0
- package/src/commands/testing/out/magic-links/linear-login-code.html +89 -0
- package/src/commands/testing/out/magic-links/notion-magic-link.html +75 -0
- package/src/commands/testing/out/magic-links/plaid-verify-identity.html +78 -0
- package/src/commands/testing/out/magic-links/raycast-magic-link.html +90 -0
- package/src/commands/testing/out/magic-links/slack-confirm.html +239 -0
- package/src/commands/testing/out/newsletters/codepen-challengers.html +547 -0
- package/src/commands/testing/out/newsletters/google-play-policy-update.html +338 -0
- package/src/commands/testing/out/newsletters/stack-overflow-tips.html +230 -0
- package/src/commands/testing/out/notifications/github-access-token.html +103 -0
- package/src/commands/testing/out/notifications/papermark-year-in-review.html +316 -0
- package/src/commands/testing/out/notifications/vercel-invite-user.html +170 -0
- package/src/commands/testing/out/notifications/yelp-recent-login.html +194 -0
- package/src/commands/testing/out/receipts/apple-receipt.html +676 -0
- package/src/commands/testing/out/receipts/nike-receipt.html +723 -0
- package/src/commands/testing/out/reset-password/dropbox-reset-password.html +97 -0
- package/src/commands/testing/out/reset-password/twitch-reset-password.html +219 -0
- package/src/commands/testing/out/reviews/airbnb-review.html +205 -0
- package/src/commands/testing/out/reviews/amazon-review.html +355 -0
- package/src/commands/testing/out/static/airbnb-logo.png +0 -0
- package/src/commands/testing/out/static/airbnb-review-user.jpg +0 -0
- package/src/commands/testing/out/static/amazon-book.jpg +0 -0
- package/src/commands/testing/out/static/amazon-facebook.jpg +0 -0
- package/src/commands/testing/out/static/amazon-instagram.jpg +0 -0
- package/src/commands/testing/out/static/amazon-logo.png +0 -0
- package/src/commands/testing/out/static/amazon-prime-logo.png +0 -0
- package/src/commands/testing/out/static/amazon-rating.gif +0 -0
- package/src/commands/testing/out/static/amazon-twitter.jpg +0 -0
- package/src/commands/testing/out/static/apple-card-icon.png +0 -0
- package/src/commands/testing/out/static/apple-hbo-max-icon.jpeg +0 -0
- package/src/commands/testing/out/static/apple-logo.png +0 -0
- package/src/commands/testing/out/static/apple-wallet.png +0 -0
- package/src/commands/testing/out/static/aws-logo.png +0 -0
- package/src/commands/testing/out/static/codepen-challengers.png +0 -0
- package/src/commands/testing/out/static/codepen-cube.png +0 -0
- package/src/commands/testing/out/static/codepen-pro.png +0 -0
- package/src/commands/testing/out/static/dropbox-logo.png +0 -0
- package/src/commands/testing/out/static/github.png +0 -0
- package/src/commands/testing/out/static/google-play-academy.png +0 -0
- package/src/commands/testing/out/static/google-play-chat.png +0 -0
- package/src/commands/testing/out/static/google-play-footer.png +0 -0
- package/src/commands/testing/out/static/google-play-header.png +0 -0
- package/src/commands/testing/out/static/google-play-icon.png +0 -0
- package/src/commands/testing/out/static/google-play-logo.png +0 -0
- package/src/commands/testing/out/static/google-play-pl.png +0 -0
- package/src/commands/testing/out/static/google-play.png +0 -0
- package/src/commands/testing/out/static/koala-logo.png +0 -0
- package/src/commands/testing/out/static/linear-logo.png +0 -0
- package/src/commands/testing/out/static/netlify-logo.png +0 -0
- package/src/commands/testing/out/static/nike-logo.png +0 -0
- package/src/commands/testing/out/static/nike-phone.png +0 -0
- package/src/commands/testing/out/static/nike-product.png +0 -0
- package/src/commands/testing/out/static/nike-recomendation-1.png +0 -0
- package/src/commands/testing/out/static/nike-recomendation-2.png +0 -0
- package/src/commands/testing/out/static/nike-recomendation-3.png +0 -0
- package/src/commands/testing/out/static/nike-recomendation-4.png +0 -0
- package/src/commands/testing/out/static/notion-logo.png +0 -0
- package/src/commands/testing/out/static/plaid-logo.png +0 -0
- package/src/commands/testing/out/static/raycast-bg.png +0 -0
- package/src/commands/testing/out/static/raycast-logo.png +0 -0
- package/src/commands/testing/out/static/slack-facebook.png +0 -0
- package/src/commands/testing/out/static/slack-linkedin.png +0 -0
- package/src/commands/testing/out/static/slack-logo.png +0 -0
- package/src/commands/testing/out/static/slack-twitter.png +0 -0
- package/src/commands/testing/out/static/stack-overflow-header.png +0 -0
- package/src/commands/testing/out/static/stack-overflow-logo-sm.png +0 -0
- package/src/commands/testing/out/static/stack-overflow-logo.png +0 -0
- package/src/commands/testing/out/static/stripe-logo.png +0 -0
- package/src/commands/testing/out/static/twitch-icon-facebook.png +0 -0
- package/src/commands/testing/out/static/twitch-icon-twitter.png +0 -0
- package/src/commands/testing/out/static/twitch-logo.png +0 -0
- package/src/commands/testing/out/static/vercel-arrow.png +0 -0
- package/src/commands/testing/out/static/vercel-logo.png +0 -0
- package/src/commands/testing/out/static/vercel-team.png +0 -0
- package/src/commands/testing/out/static/vercel-user.png +0 -0
- package/src/commands/testing/out/static/yelp-footer.png +0 -0
- package/src/commands/testing/out/static/yelp-header.png +0 -0
- package/src/commands/testing/out/static/yelp-logo.png +0 -0
- package/src/commands/testing/out/welcome/koala-welcome.html +89 -0
- package/src/commands/testing/out/welcome/netlify-welcome.html +198 -0
- package/src/commands/testing/out/welcome/stripe-welcome.html +152 -0
- package/dist/preview/.next/server/chunks/442.js +0 -1
- package/dist/preview/.next/static/chunks/app/layout-f9b38ee711366227.js +0 -1
- package/dist/preview/.next/static/chunks/app/preview/[...slug]/page-04482cd4439de72f.js +0 -1
- /package/dist/preview/.next/static/{SsVKC3PTN7PJbKsZaiN3_ → t22IN7aANTezJAJOfFnv-}/_buildManifest.js +0 -0
- /package/dist/preview/.next/static/{SsVKC3PTN7PJbKsZaiN3_ → t22IN7aANTezJAJOfFnv-}/_ssgManifest.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
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
|
+
|
|
9
|
+
## 4.0.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 403e415: Fix `deno` not working as an option for `email build`
|
|
14
|
+
|
|
3
15
|
## 4.0.6
|
|
4
16
|
|
|
5
17
|
### 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.
|
|
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"
|
|
@@ -960,7 +960,11 @@ var npmInstall = async (builtPreviewAppPath, packageManager) => {
|
|
|
960
960
|
return new Promise((resolve, reject) => {
|
|
961
961
|
const childProc = (0, import_node_child_process.spawn)(
|
|
962
962
|
packageManager,
|
|
963
|
-
[
|
|
963
|
+
[
|
|
964
|
+
"install",
|
|
965
|
+
packageManager === "deno" ? "" : "--include=dev",
|
|
966
|
+
packageManager === "deno" ? "--quiet" : "--silent"
|
|
967
|
+
],
|
|
964
968
|
{
|
|
965
969
|
cwd: builtPreviewAppPath,
|
|
966
970
|
shell: true
|
|
@@ -1161,23 +1165,26 @@ var exportTemplates = async (pathToWhereEmailMarkupShouldBeDumped, emailsDirecto
|
|
|
1161
1165
|
await (0, import_esbuild.build)({
|
|
1162
1166
|
bundle: true,
|
|
1163
1167
|
entryPoints: allTemplates,
|
|
1164
|
-
plugins: [renderingUtilitiesExporter(allTemplates)],
|
|
1165
|
-
platform: "node",
|
|
1166
1168
|
format: "cjs",
|
|
1169
|
+
jsx: "transform",
|
|
1167
1170
|
loader: { ".js": "jsx" },
|
|
1171
|
+
logLevel: "silent",
|
|
1168
1172
|
outExtension: { ".js": ".cjs" },
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1173
|
+
outdir: pathToWhereEmailMarkupShouldBeDumped,
|
|
1174
|
+
platform: "node",
|
|
1175
|
+
plugins: [renderingUtilitiesExporter(allTemplates)],
|
|
1176
|
+
write: true
|
|
1172
1177
|
});
|
|
1173
1178
|
} catch (exception) {
|
|
1174
|
-
const buildFailure = exception;
|
|
1175
1179
|
if (spinner) {
|
|
1176
1180
|
spinner.stopAndPersist({
|
|
1177
1181
|
symbol: import_log_symbols4.default.error,
|
|
1178
1182
|
text: "Failed to build emails"
|
|
1179
1183
|
});
|
|
1180
1184
|
}
|
|
1185
|
+
const buildFailure = exception;
|
|
1186
|
+
console.error(`
|
|
1187
|
+
${buildFailure.message}`);
|
|
1181
1188
|
process.exit(1);
|
|
1182
1189
|
}
|
|
1183
1190
|
if (spinner) {
|
package/dist/cli/index.mjs
CHANGED
|
@@ -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.
|
|
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"
|
|
@@ -945,7 +945,11 @@ var npmInstall = async (builtPreviewAppPath, packageManager) => {
|
|
|
945
945
|
return new Promise((resolve, reject) => {
|
|
946
946
|
const childProc = spawn(
|
|
947
947
|
packageManager,
|
|
948
|
-
[
|
|
948
|
+
[
|
|
949
|
+
"install",
|
|
950
|
+
packageManager === "deno" ? "" : "--include=dev",
|
|
951
|
+
packageManager === "deno" ? "--quiet" : "--silent"
|
|
952
|
+
],
|
|
949
953
|
{
|
|
950
954
|
cwd: builtPreviewAppPath,
|
|
951
955
|
shell: true
|
|
@@ -1146,23 +1150,26 @@ var exportTemplates = async (pathToWhereEmailMarkupShouldBeDumped, emailsDirecto
|
|
|
1146
1150
|
await build2({
|
|
1147
1151
|
bundle: true,
|
|
1148
1152
|
entryPoints: allTemplates,
|
|
1149
|
-
plugins: [renderingUtilitiesExporter(allTemplates)],
|
|
1150
|
-
platform: "node",
|
|
1151
1153
|
format: "cjs",
|
|
1154
|
+
jsx: "transform",
|
|
1152
1155
|
loader: { ".js": "jsx" },
|
|
1156
|
+
logLevel: "silent",
|
|
1153
1157
|
outExtension: { ".js": ".cjs" },
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1158
|
+
outdir: pathToWhereEmailMarkupShouldBeDumped,
|
|
1159
|
+
platform: "node",
|
|
1160
|
+
plugins: [renderingUtilitiesExporter(allTemplates)],
|
|
1161
|
+
write: true
|
|
1157
1162
|
});
|
|
1158
1163
|
} catch (exception) {
|
|
1159
|
-
const buildFailure = exception;
|
|
1160
1164
|
if (spinner) {
|
|
1161
1165
|
spinner.stopAndPersist({
|
|
1162
1166
|
symbol: logSymbols4.error,
|
|
1163
1167
|
text: "Failed to build emails"
|
|
1164
1168
|
});
|
|
1165
1169
|
}
|
|
1170
|
+
const buildFailure = exception;
|
|
1171
|
+
console.error(`
|
|
1172
|
+
${buildFailure.message}`);
|
|
1166
1173
|
process.exit(1);
|
|
1167
1174
|
}
|
|
1168
1175
|
if (spinner) {
|