chore: make twenty-server nest command scripts depend on twenty-email… (#4055)

chore: make twenty-server nest command scripts depend on twenty-emails build

Closes #4013
This commit is contained in:
Thaïs
2024-02-20 10:35:09 -03:00
committed by GitHub
parent 9aefab2297
commit ec20117e80
6 changed files with 28 additions and 15 deletions

View File

@ -1,4 +1,6 @@
{
"name": "twenty-server",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"targets": {
"build:packageJson": {
@ -13,6 +15,16 @@
"updateBuildableProjectDepsInPackageJson": true
}
},
"command": {
"executor": "nx:run-commands",
"dependsOn": [
"build"
],
"options": {
"cwd": "packages/twenty-server",
"command": "node dist/src/command.js"
}
},
"test:debug": {
"dependsOn": [
"^build"