@nx-extend/react-email 2.0.1 → 2.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,6 +1,22 @@
1
- # Changelog
1
+
2
+ ## [2.0.3](https://github.com/TriPSs/nx-extend/compare/react-email@2.0.2...react-email@2.0.3) (2024-06-17)
3
+
4
+ ### Dependency Updates
5
+
6
+ * `core` updated to version `7.0.3`
7
+
8
+
9
+ ## [2.0.2](https://github.com/TriPSs/nx-extend/compare/react-email@2.0.1...react-email@2.0.2) (2024-06-14)
10
+
11
+ ### Dependency Updates
12
+
13
+ * `core` updated to version `7.0.2`
14
+
15
+ ### Bug Fixes
16
+
17
+ * Re-add dep options that where supposed to be deprecated ([3854a73](https://github.com/TriPSs/nx-extend/commit/3854a73f3ba70453cf1cf7c8c82122eb17364bb8))
18
+
2
19
 
3
- This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
20
 
5
21
  ## [2.0.1](https://github.com/TriPSs/nx-extend/compare/react-email@2.0.0...react-email@2.0.1) (2024-06-14)
6
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx-extend/react-email",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "keywords": [
5
5
  "nx",
6
6
  "react-email"
@@ -15,11 +15,16 @@
15
15
  },
16
16
  "license": "MIT",
17
17
  "main": "src/index.js",
18
- "devDependencies": {
19
- "@react-email/components": "0.0.19",
20
- "react-email": "2.1.4"
21
- },
22
18
  "builders": "./executors.json",
23
19
  "generators": "./generators.json",
20
+ "dependencies": {
21
+ "@nx/devkit": "19.3.0",
22
+ "@nx/workspace": "19.3.0",
23
+ "@react-email/components": "0.0.19",
24
+ "react-email": "2.1.4",
25
+ "shelljs": "^0.8.5",
26
+ "@nx-extend/core": "7.0.3",
27
+ "tslib": "2.6.2"
28
+ },
24
29
  "type": "commonjs"
25
30
  }
@@ -4,7 +4,6 @@ const tslib_1 = require("tslib");
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const core_1 = require("@nx-extend/core");
6
6
  const path = require("path");
7
- const package_json_1 = require("../../../package.json");
8
7
  function addFiles(host, options) {
9
8
  (0, devkit_1.generateFiles)(host, path.join(__dirname, 'files'), options.projectRoot, Object.assign(Object.assign(Object.assign({}, options), (0, devkit_1.names)(options.name)), { offsetFromRoot: (0, devkit_1.offsetFromRoot)(options.projectRoot), template: '' }));
10
9
  }
@@ -39,8 +38,8 @@ function default_1(host, options) {
39
38
  addFiles(host, normalizedOptions);
40
39
  yield (0, devkit_1.formatFiles)(host);
41
40
  return (0, devkit_1.runTasksInSerial)((0, devkit_1.addDependenciesToPackageJson)(host, {}, {
42
- 'react-email': package_json_1.devDependencies['react-email'],
43
- '@react-email/components': package_json_1.devDependencies['@react-email/components']
41
+ '@react-email/components': '0.0.19',
42
+ 'react-email': '2.1.4'
44
43
  }));
45
44
  });
46
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"init.impl.js","sourceRoot":"","sources":["../../../../../../packages/react-email/src/generators/init/init.impl.ts"],"names":[],"mappings":";;;AAAA,uCAQmB;AACnB,0CAAoE;AACpE,6BAA4B;AAI5B,wDAAuD;AAEvD,SAAS,QAAQ,CAAC,IAAU,EAAE,OAAyB;IACrD,IAAA,sBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,gDACjE,OAAO,GACP,IAAA,cAAK,EAAC,OAAO,CAAC,IAAI,CAAC,KACtB,cAAc,EAAE,IAAA,uBAAc,EAAC,OAAO,CAAC,WAAW,CAAC,EACnD,QAAQ,EAAE,EAAE,IACZ,CAAA;AACJ,CAAC;AAED,mBAA+B,IAAU,EAAE,OAAyB;;QAClE,MAAM,iBAAiB,GAAG,IAAA,uBAAgB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAA;QAEzD,IAAA,gCAAuB,EAAC,IAAI,EAAE,iBAAiB,CAAC,WAAW,EAAE;YAC3D,IAAI,EAAE,iBAAiB,CAAC,WAAW;YACnC,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,GAAG,iBAAiB,CAAC,WAAW,MAAM;YAClD,OAAO,EAAE;gBACP,KAAK,EAAE;oBACL,QAAQ,EAAE,8BAA8B;oBACxC,OAAO,EAAE,EAAE;iBACZ;gBACD,MAAM,EAAE;oBACN,QAAQ,EAAE,+BAA+B;oBACzC,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,oBAAoB,EAAE,YAAY;oBAClC,OAAO,EAAE;wBACP,UAAU,EAAE,QAAQ,iBAAiB,CAAC,WAAW,EAAE;qBACpD;oBACD,cAAc,EAAE;wBACd,UAAU,EAAE;4BACV,MAAM,EAAE,KAAK;yBACd;qBACF;iBACF;aACF;YACD,IAAI,EAAE,iBAAiB,CAAC,UAAU;SACnC,CAAC,CAAA;QAEF,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAA;QACjC,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAA;QAEvB,OAAO,IAAA,yBAAgB,EACrB,IAAA,qCAA4B,EAC1B,IAAI,EACJ,EAAE,EACF;YACE,aAAa,EAAE,8BAAe,CAAC,aAAa,CAAC;YAC7C,yBAAyB,EAAE,8BAAe,CAAC,yBAAyB,CAAC;SACtE,CACF,CACF,CAAA;IACH,CAAC;CAAA;AA1CD,4BA0CC"}
1
+ {"version":3,"file":"init.impl.js","sourceRoot":"","sources":["../../../../../../packages/react-email/src/generators/init/init.impl.ts"],"names":[],"mappings":";;;AAAA,uCAQmB;AACnB,0CAAoE;AACpE,6BAA4B;AAI5B,SAAS,QAAQ,CAAC,IAAU,EAAE,OAAyB;IACrD,IAAA,sBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,gDACjE,OAAO,GACP,IAAA,cAAK,EAAC,OAAO,CAAC,IAAI,CAAC,KACtB,cAAc,EAAE,IAAA,uBAAc,EAAC,OAAO,CAAC,WAAW,CAAC,EACnD,QAAQ,EAAE,EAAE,IACZ,CAAA;AACJ,CAAC;AAED,mBAA+B,IAAU,EAAE,OAAyB;;QAClE,MAAM,iBAAiB,GAAG,IAAA,uBAAgB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAA;QAEzD,IAAA,gCAAuB,EAAC,IAAI,EAAE,iBAAiB,CAAC,WAAW,EAAE;YAC3D,IAAI,EAAE,iBAAiB,CAAC,WAAW;YACnC,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,GAAG,iBAAiB,CAAC,WAAW,MAAM;YAClD,OAAO,EAAE;gBACP,KAAK,EAAE;oBACL,QAAQ,EAAE,8BAA8B;oBACxC,OAAO,EAAE,EAAE;iBACZ;gBACD,MAAM,EAAE;oBACN,QAAQ,EAAE,+BAA+B;oBACzC,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,oBAAoB,EAAE,YAAY;oBAClC,OAAO,EAAE;wBACP,UAAU,EAAE,QAAQ,iBAAiB,CAAC,WAAW,EAAE;qBACpD;oBACD,cAAc,EAAE;wBACd,UAAU,EAAE;4BACV,MAAM,EAAE,KAAK;yBACd;qBACF;iBACF;aACF;YACD,IAAI,EAAE,iBAAiB,CAAC,UAAU;SACnC,CAAC,CAAA;QAEF,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAA;QACjC,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAA;QAEvB,OAAO,IAAA,yBAAgB,EACrB,IAAA,qCAA4B,EAC1B,IAAI,EACJ,EAAE,EACF;YACE,yBAAyB,EAAE,QAAQ;YACnC,aAAa,EAAE,OAAO;SACvB,CACF,CACF,CAAA;IACH,CAAC;CAAA;AA1CD,4BA0CC"}
@@ -12,8 +12,6 @@ import * as path from 'path'
12
12
 
13
13
  import type { ReactEmailSchema } from './schema'
14
14
 
15
- import { devDependencies } from '../../../package.json'
16
-
17
15
  function addFiles(host: Tree, options: NormalizedSchema) {
18
16
  generateFiles(host, path.join(__dirname, 'files'), options.projectRoot, {
19
17
  ...options,
@@ -60,8 +58,8 @@ export default async function (host: Tree, options: ReactEmailSchema) {
60
58
  host,
61
59
  {},
62
60
  {
63
- 'react-email': devDependencies['react-email'],
64
- '@react-email/components': devDependencies['@react-email/components']
61
+ '@react-email/components': '0.0.19',
62
+ 'react-email': '2.1.4'
65
63
  }
66
64
  )
67
65
  )