@nx-extend/react-email 7.0.1 → 7.0.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,4 +1,22 @@
1
1
 
2
+ ## [7.0.3](https://github.com/tripss/nx-extend/compare/react-email@7.0.2...react-email@7.0.3) (2026-06-13)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **react-email:** Dynamically append `react-email` version in serve executor ([71d25b7](https://github.com/tripss/nx-extend/commit/71d25b7c05ffc1a576976aa1475dec5355b9bd0d))
8
+
9
+
10
+
11
+ ## [7.0.2](https://github.com/tripss/nx-extend/compare/react-email@7.0.1...react-email@7.0.2) (2026-05-21)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **react-email:** Update `react-email` dependency to peerDependencies and sync lockfile ([e395089](https://github.com/tripss/nx-extend/commit/e3950893f55a31ee4754b4d3f19ae224f174da44))
17
+
18
+
19
+
2
20
  ## [7.0.1](https://github.com/tripss/nx-extend/compare/react-email@7.0.0...react-email@7.0.1) (2026-05-08)
3
21
 
4
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx-extend/react-email",
3
- "version": "7.0.1",
3
+ "version": "7.0.3",
4
4
  "keywords": [
5
5
  "nx",
6
6
  "react-email"
@@ -16,12 +16,12 @@
16
16
  "license": "MIT",
17
17
  "main": "src/index.js",
18
18
  "peerDependencies": {
19
- "@nx/devkit": "^22.0.0"
19
+ "@nx/devkit": "^22.0.0",
20
+ "react-email": "^6.1.1"
20
21
  },
21
22
  "builders": "./executors.json",
22
23
  "generators": "./generators.json",
23
24
  "dependencies": {
24
- "react-email": "6.1.1",
25
25
  "shelljs": "^0.10.0",
26
26
  "@nx-extend/core": "10.1.0",
27
27
  "tslib": "2.8.1"
@@ -2,13 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.serveExecutor = serveExecutor;
4
4
  const tslib_1 = require("tslib");
5
+ const devkit_1 = require("@nx/devkit");
5
6
  const core_1 = require("@nx-extend/core");
6
7
  require("dotenv/config");
7
8
  function serveExecutor(options, context) {
8
9
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
9
10
  const { sourceRoot, root } = context.projectsConfigurations.projects[context.projectName];
11
+ const reactEmailVersion = (0, devkit_1.getDependencyVersionFromPackageJson)('react-email');
10
12
  return (0, core_1.execPackageManagerCommand)((0, core_1.buildCommand)([
11
- 'react-email dev',
13
+ `react-email${reactEmailVersion ? `@${reactEmailVersion}` : ''} dev`,
12
14
  `--dir=${sourceRoot || root}`,
13
15
  options.port && `--port=${options.port}`
14
16
  ]), {
@@ -1 +1 @@
1
- {"version":3,"file":"serve.impl.js","sourceRoot":"","sources":["../../../../../../packages/react-email/src/executors/serve/serve.impl.ts"],"names":[],"mappings":";;AASA,sCAaC;;AArBD,0CAAyE;AAEzE,yBAAsB;AAMtB,SAAsB,aAAa,CACjC,OAA6B,EAC7B,OAAwB;;QAExB,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,sBAAsB,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;QAEzF,OAAO,IAAA,gCAAyB,EAAC,IAAA,mBAAY,EAAC;YAC5C,iBAAiB;YACjB,SAAS,UAAU,IAAI,IAAI,EAAE;YAC7B,OAAO,CAAC,IAAI,IAAI,UAAU,OAAO,CAAC,IAAI,EAAE;SACzC,CAAC,EAAE;YACF,GAAG,EAAE,OAAO,CAAC,GAAG;SACjB,CAAC,CAAA;IACJ,CAAC;CAAA;AAED,kBAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"serve.impl.js","sourceRoot":"","sources":["../../../../../../packages/react-email/src/executors/serve/serve.impl.ts"],"names":[],"mappings":";;AASA,sCAeC;;AAxBD,uCAAiF;AACjF,0CAAyE;AAEzE,yBAAsB;AAMtB,SAAsB,aAAa,CACjC,OAA6B,EAC7B,OAAwB;;QAExB,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,sBAAsB,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;QAEzF,MAAM,iBAAiB,GAAG,IAAA,4CAAmC,EAAC,aAAa,CAAC,CAAA;QAE5E,OAAO,IAAA,gCAAyB,EAAC,IAAA,mBAAY,EAAC;YAC5C,cAAc,iBAAiB,CAAC,CAAC,CAAC,IAAI,iBAAiB,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM;YACpE,SAAS,UAAU,IAAI,IAAI,EAAE;YAC7B,OAAO,CAAC,IAAI,IAAI,UAAU,OAAO,CAAC,IAAI,EAAE;SACzC,CAAC,EAAE;YACF,GAAG,EAAE,OAAO,CAAC,GAAG;SACjB,CAAC,CAAA;IACJ,CAAC;CAAA;AAED,kBAAe,aAAa,CAAA"}
@@ -1,4 +1,4 @@
1
- import { ExecutorContext } from '@nx/devkit'
1
+ import { ExecutorContext, getDependencyVersionFromPackageJson } from '@nx/devkit'
2
2
  import { buildCommand, execPackageManagerCommand } from '@nx-extend/core'
3
3
 
4
4
  import 'dotenv/config'
@@ -13,8 +13,10 @@ export async function serveExecutor(
13
13
  ): Promise<{ success: boolean }> {
14
14
  const { sourceRoot, root } = context.projectsConfigurations.projects[context.projectName]
15
15
 
16
+ const reactEmailVersion = getDependencyVersionFromPackageJson('react-email')
17
+
16
18
  return execPackageManagerCommand(buildCommand([
17
- 'react-email dev',
19
+ `react-email${reactEmailVersion ? `@${reactEmailVersion}` : ''} dev`,
18
20
  `--dir=${sourceRoot || root}`,
19
21
  options.port && `--port=${options.port}`
20
22
  ]), {