react-email 4.1.0 → 4.1.2
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 +8 -0
- package/dev/index.js +1 -1
- package/dev/package.json +0 -3
- package/dist/index.js +2 -3
- package/package.json +2 -3
- package/src/utils/get-preview-server-location.ts +1 -2
- package/dist/cli/index.mjs +0 -1391
- package/dist/preview/.next/BUILD_ID +0 -1
- package/dist/preview/.next/app-build-manifest.json +0 -44
- package/dist/preview/.next/app-path-routes-manifest.json +0 -6
- package/dist/preview/.next/build-manifest.json +0 -33
- package/dist/preview/.next/diagnostics/build-diagnostics.json +0 -6
- package/dist/preview/.next/diagnostics/framework.json +0 -1
- package/dist/preview/.next/export-marker.json +0 -6
- package/dist/preview/.next/images-manifest.json +0 -57
- package/dist/preview/.next/next-minimal-server.js.nft.json +0 -1
- package/dist/preview/.next/next-server.js.nft.json +0 -1
- package/dist/preview/.next/package.json +0 -1
- package/dist/preview/.next/prerender-manifest.json +0 -41
- package/dist/preview/.next/react-loadable-manifest.json +0 -1
- package/dist/preview/.next/required-server-files.json +0 -311
- package/dist/preview/.next/routes-manifest.json +0 -64
- package/dist/preview/.next/server/app/_not-found/page.js +0 -1
- package/dist/preview/.next/server/app/_not-found/page.js.nft.json +0 -1
- package/dist/preview/.next/server/app/_not-found/page_client-reference-manifest.js +0 -1
- package/dist/preview/.next/server/app/favicon.ico/route.js +0 -1
- package/dist/preview/.next/server/app/favicon.ico/route.js.nft.json +0 -1
- package/dist/preview/.next/server/app/favicon.ico.body +0 -0
- package/dist/preview/.next/server/app/favicon.ico.meta +0 -1
- package/dist/preview/.next/server/app/page.js +0 -1
- package/dist/preview/.next/server/app/page.js.nft.json +0 -1
- package/dist/preview/.next/server/app/page_client-reference-manifest.js +0 -1
- package/dist/preview/.next/server/app/preview/[...slug]/page.js +0 -321
- package/dist/preview/.next/server/app/preview/[...slug]/page.js.nft.json +0 -1
- package/dist/preview/.next/server/app/preview/[...slug]/page_client-reference-manifest.js +0 -1
- package/dist/preview/.next/server/app-paths-manifest.json +0 -6
- package/dist/preview/.next/server/chunks/134.js +0 -6
- package/dist/preview/.next/server/chunks/235.js +0 -15
- package/dist/preview/.next/server/chunks/343.js +0 -20
- package/dist/preview/.next/server/chunks/428.js +0 -14
- package/dist/preview/.next/server/chunks/934.js +0 -1
- package/dist/preview/.next/server/chunks/963.js +0 -1
- package/dist/preview/.next/server/functions-config-manifest.json +0 -4
- package/dist/preview/.next/server/interception-route-rewrite-manifest.js +0 -1
- package/dist/preview/.next/server/middleware-build-manifest.js +0 -1
- package/dist/preview/.next/server/middleware-manifest.json +0 -6
- package/dist/preview/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/dist/preview/.next/server/next-font-manifest.js +0 -1
- package/dist/preview/.next/server/next-font-manifest.json +0 -1
- package/dist/preview/.next/server/pages/500.html +0 -1
- package/dist/preview/.next/server/pages/_app.js +0 -1
- package/dist/preview/.next/server/pages/_app.js.nft.json +0 -1
- package/dist/preview/.next/server/pages/_document.js +0 -1
- package/dist/preview/.next/server/pages/_document.js.nft.json +0 -1
- package/dist/preview/.next/server/pages/_error.js +0 -1
- package/dist/preview/.next/server/pages/_error.js.nft.json +0 -1
- package/dist/preview/.next/server/pages-manifest.json +0 -5
- package/dist/preview/.next/server/server-reference-manifest.js +0 -1
- package/dist/preview/.next/server/server-reference-manifest.json +0 -1
- package/dist/preview/.next/server/webpack-runtime.js +0 -1
- package/dist/preview/.next/static/FZEE-q531kq1Juxsda2po/_buildManifest.js +0 -1
- package/dist/preview/.next/static/FZEE-q531kq1Juxsda2po/_ssgManifest.js +0 -1
- package/dist/preview/.next/static/chunks/107-3043079e7cb8bcae.js +0 -1
- package/dist/preview/.next/static/chunks/293-297b1eb2241f9a70.js +0 -1
- package/dist/preview/.next/static/chunks/3bd82e28-cda2c00a924937c5.js +0 -1
- package/dist/preview/.next/static/chunks/45-1021fac82f766268.js +0 -1
- package/dist/preview/.next/static/chunks/484-f5954e7b4b93f109.js +0 -1
- package/dist/preview/.next/static/chunks/589-817d8691661d370e.js +0 -1
- package/dist/preview/.next/static/chunks/902-c34acb56733e0ce1.js +0 -1
- package/dist/preview/.next/static/chunks/app/_not-found/page-4cbc7dce3ad33336.js +0 -1
- package/dist/preview/.next/static/chunks/app/layout-89c12abbc616c3a1.js +0 -1
- package/dist/preview/.next/static/chunks/app/page-0492cd9ce15b7980.js +0 -1
- package/dist/preview/.next/static/chunks/app/preview/[...slug]/page-c670410568d530db.js +0 -1
- package/dist/preview/.next/static/chunks/f33a14d2-ec7c5f0b91818561.js +0 -6
- package/dist/preview/.next/static/chunks/framework-b887e9fc751a9906.js +0 -1
- package/dist/preview/.next/static/chunks/main-9a03e7ba8acb1900.js +0 -1
- package/dist/preview/.next/static/chunks/main-app-951f948d1c44189f.js +0 -1
- package/dist/preview/.next/static/chunks/pages/_app-542a93a5a214e1c0.js +0 -1
- package/dist/preview/.next/static/chunks/pages/_error-d5fe1b1612642f76.js +0 -1
- package/dist/preview/.next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/dist/preview/.next/static/chunks/webpack-31c45daa2bd82a7b.js +0 -1
- package/dist/preview/.next/static/css/78c81281aa95270f.css +0 -3
- package/dist/preview/.next/static/media/05613964ce6c782e-s.p.otf +0 -0
- package/dist/preview/.next/static/media/11c6126b9369e85e-s.p.otf +0 -0
- package/dist/preview/.next/static/media/26a46d62cd723877-s.woff2 +0 -0
- package/dist/preview/.next/static/media/26cb97734d8cb717-s.p.otf +0 -0
- package/dist/preview/.next/static/media/55c55f0601d81cf3-s.woff2 +0 -0
- package/dist/preview/.next/static/media/581909926a08bbc8-s.woff2 +0 -0
- package/dist/preview/.next/static/media/8e9860b6e62d6359-s.woff2 +0 -0
- package/dist/preview/.next/static/media/97e0cb1ae144a2a9-s.woff2 +0 -0
- package/dist/preview/.next/static/media/bb6462617151f6b7-s.p.otf +0 -0
- package/dist/preview/.next/static/media/cf6daef822ab0142-s.p.otf +0 -0
- package/dist/preview/.next/static/media/df0a9ae256c0569c-s.woff2 +0 -0
- package/dist/preview/.next/static/media/e4051546b3043204-s.p.otf +0 -0
- package/dist/preview/.next/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
- package/dist/preview/.next/static/media/logo.2ce2a759.png +0 -0
- package/dist/preview/.next/trace +0 -27
- package/dist/preview/.next/types/app/layout.ts +0 -84
- package/dist/preview/.next/types/app/page.ts +0 -84
- package/dist/preview/.next/types/app/preview/[...slug]/page.ts +0 -84
- package/dist/preview/.next/types/cache-life.d.ts +0 -141
- package/dist/preview/.next/types/package.json +0 -1
package/CHANGELOG.md
CHANGED
package/dev/index.js
CHANGED
|
@@ -7,7 +7,7 @@ const dirname = path.dirname(filename);
|
|
|
7
7
|
|
|
8
8
|
const root = path.resolve(dirname, '../src/index.ts');
|
|
9
9
|
|
|
10
|
-
const tsxPath = path.resolve(dirname, '
|
|
10
|
+
const tsxPath = path.resolve(dirname, '../../../node_modules/.bin/tsx');
|
|
11
11
|
|
|
12
12
|
const tsx = child_process.spawn(tsxPath, [root, ...process.argv.slice(2)], {
|
|
13
13
|
shell: true,
|
package/dev/package.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -106,7 +106,7 @@ import prompts from "prompts";
|
|
|
106
106
|
// package.json
|
|
107
107
|
var package_default = {
|
|
108
108
|
name: "react-email",
|
|
109
|
-
version: "4.1.
|
|
109
|
+
version: "4.1.2",
|
|
110
110
|
description: "A live preview of your emails right in your browser.",
|
|
111
111
|
bin: {
|
|
112
112
|
email: "./dist/index.js"
|
|
@@ -161,7 +161,6 @@ var package_default = {
|
|
|
161
161
|
react: "19.0.0",
|
|
162
162
|
"react-dom": "19.0.0",
|
|
163
163
|
tsup: "8.4.0",
|
|
164
|
-
tsx: "4.19.3",
|
|
165
164
|
typescript: "5.8.3"
|
|
166
165
|
}
|
|
167
166
|
};
|
|
@@ -189,7 +188,7 @@ var getPreviewServerLocation = async () => {
|
|
|
189
188
|
let previewServerLocation;
|
|
190
189
|
try {
|
|
191
190
|
previewServerLocation = path2.dirname(
|
|
192
|
-
url.
|
|
191
|
+
url.fileURLToPath(usersProject.esmResolve("@react-email/preview-server"))
|
|
193
192
|
);
|
|
194
193
|
} catch (_exception) {
|
|
195
194
|
await ensurePreviewServerInstalled(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-email",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "A live preview of your emails right in your browser.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"email": "./dist/index.js"
|
|
@@ -47,9 +47,8 @@
|
|
|
47
47
|
"react": "19.0.0",
|
|
48
48
|
"react-dom": "19.0.0",
|
|
49
49
|
"tsup": "8.4.0",
|
|
50
|
-
"tsx": "4.19.3",
|
|
51
50
|
"typescript": "5.8.3",
|
|
52
|
-
"@react-email/components": "0.
|
|
51
|
+
"@react-email/components": "0.3.0"
|
|
53
52
|
},
|
|
54
53
|
"scripts": {
|
|
55
54
|
"build": "tsup-node",
|
|
@@ -30,8 +30,7 @@ export const getPreviewServerLocation = async () => {
|
|
|
30
30
|
let previewServerLocation!: string;
|
|
31
31
|
try {
|
|
32
32
|
previewServerLocation = path.dirname(
|
|
33
|
-
url.
|
|
34
|
-
.path!,
|
|
33
|
+
url.fileURLToPath(usersProject.esmResolve('@react-email/preview-server')),
|
|
35
34
|
);
|
|
36
35
|
} catch (_exception) {
|
|
37
36
|
await ensurePreviewServerInstalled(
|