Fix twenty-emails build (#3608)

This commit is contained in:
martmull
2024-01-24 17:41:38 +01:00
committed by GitHub
parent 7488a9605e
commit 8ffd958a3c
2 changed files with 4 additions and 6 deletions

View File

@ -261,9 +261,6 @@
"vite-plugin-checker": "^0.6.2",
"vite-plugin-svgr": "^4.2.0"
},
"scripts": {
"postinstall": "yarn nx run twenty-emails:build"
},
"engines": {
"node": "^18.17.1",
"npm": "please-use-yarn",

View File

@ -9,10 +9,11 @@
"nx": "NX_DEFAULT_PROJECT=twenty-server node ../../node_modules/nx/bin/nx.js",
"prebuild": "rimraf dist",
"build": "yarn prebuild && nest build",
"build-twenty-emails": "yarn nx run twenty-emails:build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "set NODE_ENV=development && nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start": "set NODE_ENV=development && yarn build-twenty-emails && nest start",
"start:dev": "yarn build-twenty-emails && nest start --watch",
"start:debug": "yarn build-twenty-emails && nest start --debug --watch",
"start:prod": "node dist/src/main",
"lint": "eslint \"src/**/*.ts\" --fix",
"test": "jest",