Move react-email dependencies to their respective packages. (#15295)

Instead of declaring packages at the workplace-level package.json,
moving them into their relevant package-level package.json file.

`twenty-front`, `twenty-server` and `twenty-emails` continue to build
and work fine because of hoisting, but the dependencies now follow the
internal strategy of declaring at the package-level, plus give us a
single source of truth to updating package versions.

`twenty-front` and `twenty-emails` only use `@react-email/components`
while `twenty-server` only depends on `@react-email/render`.
This commit is contained in:
Abdullah.
2025-10-23 17:09:33 +02:00
committed by GitHub
parent e23f2c9183
commit 998138093f
4 changed files with 2 additions and 6 deletions
-2
View File
@@ -7,8 +7,6 @@
"@floating-ui/react": "^0.24.3",
"@linaria/core": "^6.2.0",
"@linaria/react": "^6.2.1",
"@react-email/components": "^0.5.3",
"@react-email/render": "^1.2.3",
"@sentry/profiling-node": "^9.26.0",
"@sentry/react": "^9.26.0",
"@sniptt/guards": "^0.2.0",
+1
View File
@@ -52,6 +52,7 @@
"@nivo/line": "^0.99.0",
"@nivo/pie": "^0.99.0",
"@nivo/radial-bar": "^0.99.0",
"@react-email/components": "^0.5.3",
"@react-pdf/renderer": "^4.1.6",
"@scalar/api-reference-react": "^0.4.36",
"@tiptap/core": "^3.4.2",
-1
View File
@@ -67,7 +67,6 @@
"@ptc-org/nestjs-query-core": "4.4.0",
"@ptc-org/nestjs-query-graphql": "patch:@ptc-org/nestjs-query-graphql@4.2.0#./patches/@ptc-org+nestjs-query-graphql+4.2.0.patch",
"@ptc-org/nestjs-query-typeorm": "4.2.1-alpha.2",
"@react-email/components": "^0.5.3",
"@react-email/render": "^1.2.3",
"@revertdotdev/revert-react": "^0.0.21",
"@sentry/nestjs": "^8.55.0",
+1 -3
View File
@@ -51713,6 +51713,7 @@ __metadata:
"@nivo/line": "npm:^0.99.0"
"@nivo/pie": "npm:^0.99.0"
"@nivo/radial-bar": "npm:^0.99.0"
"@react-email/components": "npm:^0.5.3"
"@react-pdf/renderer": "npm:^4.1.6"
"@scalar/api-reference-react": "npm:^0.4.36"
"@tiptap/core": "npm:^3.4.2"
@@ -51871,7 +51872,6 @@ __metadata:
"@ptc-org/nestjs-query-core": "npm:4.4.0"
"@ptc-org/nestjs-query-graphql": "patch:@ptc-org/nestjs-query-graphql@4.2.0#./patches/@ptc-org+nestjs-query-graphql+4.2.0.patch"
"@ptc-org/nestjs-query-typeorm": "npm:4.2.1-alpha.2"
"@react-email/components": "npm:^0.5.3"
"@react-email/render": "npm:^1.2.3"
"@revertdotdev/revert-react": "npm:^0.0.21"
"@sentry/nestjs": "npm:^8.55.0"
@@ -52155,8 +52155,6 @@ __metadata:
"@nx/vite": "npm:21.3.11"
"@nx/web": "npm:21.3.11"
"@playwright/test": "npm:^1.46.0"
"@react-email/components": "npm:^0.5.3"
"@react-email/render": "npm:^1.2.3"
"@sentry/profiling-node": "npm:^9.26.0"
"@sentry/react": "npm:^9.26.0"
"@sentry/types": "npm:^8"