react-email 5.0.8 → 5.1.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 +6 -0
- package/dist/index.js +3 -3
- package/package.json +3 -3
- package/src/commands/build.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -87,7 +87,7 @@ const getEmailsDirectoryMetadata = async (absolutePathToEmailsDirectory, keepFil
|
|
|
87
87
|
//#region package.json
|
|
88
88
|
var package_default = {
|
|
89
89
|
name: "react-email",
|
|
90
|
-
version: "5.0
|
|
90
|
+
version: "5.1.0",
|
|
91
91
|
description: "A live preview of your emails right in your browser.",
|
|
92
92
|
bin: { "email": "./dist/index.js" },
|
|
93
93
|
type: "module",
|
|
@@ -135,7 +135,7 @@ var package_default = {
|
|
|
135
135
|
"@types/babel__traverse": "7.20.7",
|
|
136
136
|
"@types/mime-types": "2.1.4",
|
|
137
137
|
"@types/prompts": "2.4.9",
|
|
138
|
-
"next": "16.0.
|
|
138
|
+
"next": "16.0.10",
|
|
139
139
|
"react": "19.0.0",
|
|
140
140
|
"react-dom": "19.0.0",
|
|
141
141
|
"typescript": "5.8.3"
|
|
@@ -242,7 +242,7 @@ export function generateStaticParams() {
|
|
|
242
242
|
const updatePackageJson = async (builtPreviewAppPath) => {
|
|
243
243
|
const packageJsonPath = path.resolve(builtPreviewAppPath, "./package.json");
|
|
244
244
|
const packageJson = JSON.parse(await fs.promises.readFile(packageJsonPath, "utf8"));
|
|
245
|
-
packageJson.scripts.build = "next build
|
|
245
|
+
packageJson.scripts.build = "next build";
|
|
246
246
|
packageJson.scripts.start = "next start";
|
|
247
247
|
delete packageJson.scripts.postbuild;
|
|
248
248
|
packageJson.name = "preview-server";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-email",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "A live preview of your emails right in your browser.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"email": "./dist/index.js"
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"@types/babel__traverse": "7.20.7",
|
|
50
50
|
"@types/mime-types": "2.1.4",
|
|
51
51
|
"@types/prompts": "2.4.9",
|
|
52
|
-
"next": "16.0.
|
|
52
|
+
"next": "16.0.10",
|
|
53
53
|
"react": "19.0.0",
|
|
54
54
|
"react-dom": "19.0.0",
|
|
55
55
|
"typescript": "5.8.3",
|
|
56
|
-
"@react-email/components": "1.0.
|
|
56
|
+
"@react-email/components": "1.0.2"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "tsdown",
|
package/src/commands/build.ts
CHANGED
|
@@ -137,7 +137,7 @@ const updatePackageJson = async (builtPreviewAppPath: string) => {
|
|
|
137
137
|
devDependencies: Record<string, string>;
|
|
138
138
|
};
|
|
139
139
|
// Turbopack has some errors with the imports in @react-email/tailwind
|
|
140
|
-
packageJson.scripts.build = 'next build
|
|
140
|
+
packageJson.scripts.build = 'next build';
|
|
141
141
|
packageJson.scripts.start = 'next start';
|
|
142
142
|
delete packageJson.scripts.postbuild;
|
|
143
143
|
|