react-email 5.2.1 → 5.2.3

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # react-email
2
2
 
3
+ ## 5.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 800c960: `email build` always failing
8
+
9
+ ## 5.2.2
10
+
3
11
  ## 5.2.1
4
12
 
5
13
  ## 5.2.0
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.2.1",
90
+ version: "5.2.3",
91
91
  description: "A live preview of your emails right in your browser.",
92
92
  bin: { "email": "./dist/index.js" },
93
93
  type: "module",
@@ -238,8 +238,8 @@ export function generateStaticParams() {
238
238
  const updatePackageJson = async (builtPreviewAppPath) => {
239
239
  const packageJsonPath = path.resolve(builtPreviewAppPath, "./package.json");
240
240
  const packageJson = JSON.parse(await fs.promises.readFile(packageJsonPath, "utf8"));
241
- packageJson.scripts.build = "next build";
242
- packageJson.scripts.start = "next start";
241
+ packageJson.scripts.build = "cross-env NODE_OPTIONS=\"--experimental-vm-modules --disable-warning=ExperimentalWarning\" next build";
242
+ packageJson.scripts.start = "cross-env NODE_OPTIONS=\"--experimental-vm-modules --disable-warning=ExperimentalWarning\" next start";
243
243
  delete packageJson.scripts.postbuild;
244
244
  packageJson.name = "preview-server";
245
245
  for (const [dependency, version$1] of Object.entries(packageJson.devDependencies)) packageJson.devDependencies[dependency] = version$1.replace("workspace:", "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-email",
3
- "version": "5.2.1",
3
+ "version": "5.2.3",
4
4
  "description": "A live preview of your emails right in your browser.",
5
5
  "bin": {
6
6
  "email": "./dist/index.js"
@@ -135,8 +135,10 @@ const updatePackageJson = async (builtPreviewAppPath: string) => {
135
135
  devDependencies: Record<string, string>;
136
136
  };
137
137
  // Turbopack has some errors with the imports in @react-email/tailwind
138
- packageJson.scripts.build = 'next build';
139
- packageJson.scripts.start = 'next start';
138
+ packageJson.scripts.build =
139
+ 'cross-env NODE_OPTIONS="--experimental-vm-modules --disable-warning=ExperimentalWarning" next build';
140
+ packageJson.scripts.start =
141
+ 'cross-env NODE_OPTIONS="--experimental-vm-modules --disable-warning=ExperimentalWarning" next start';
140
142
  delete packageJson.scripts.postbuild;
141
143
 
142
144
  packageJson.name = 'preview-server';