POC: generate twenty-server package.json with Nx (#3654)

* POC: generate twenty-server package.json with Nx

* Re-add passport

* Fix instal

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Thaïs
2024-02-13 18:16:21 -03:00
committed by GitHub
parent 0d41023edd
commit e011ecbd6f
7 changed files with 430 additions and 692 deletions

View File

@ -0,0 +1,22 @@
{
"projectType": "application",
"targets": {
"build:packageJson": {
"executor": "@nx/js:tsc",
"dependsOn": [
"prebuild"
],
"options": {
"main": "packages/twenty-server/dist/src/main.js",
"tsConfig": "packages/twenty-server/tsconfig.json",
"outputPath": "packages/twenty-server/dist",
"updateBuildableProjectDepsInPackageJson": true
}
},
"test:debug": {
"dependsOn": [
"^build"
]
}
}
}