mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-22 03:17:40 +03:00
feat: set up command to bundle engine's code
This commit is contained in:
parent
d6b1ca6acd
commit
7ccde0507e
@ -219,6 +219,7 @@
|
||||
"@nx/storybook": "18.3.3",
|
||||
"@nx/vite": "18.3.3",
|
||||
"@nx/web": "18.3.3",
|
||||
"@nx/webpack": "^19.4.3",
|
||||
"@sentry/types": "^7.109.0",
|
||||
"@storybook/addon-actions": "^7.6.3",
|
||||
"@storybook/addon-coverage": "^1.0.0",
|
||||
|
@ -50,6 +50,7 @@
|
||||
"devDependencies": {
|
||||
"@nestjs/cli": "10.3.0",
|
||||
"@nx/js": "18.3.3",
|
||||
"@nx/webpack": "^19.4.3",
|
||||
"@types/jest": "^29.5.12",
|
||||
"@types/lodash.differencewith": "^4.5.9",
|
||||
"@types/lodash.isempty": "^4.4.7",
|
||||
@ -63,7 +64,8 @@
|
||||
"@types/lodash.upperfirst": "^4.3.7",
|
||||
"@types/react": "^18.2.39",
|
||||
"rimraf": "^5.0.5",
|
||||
"typescript": "5.3.3"
|
||||
"typescript": "5.3.3",
|
||||
"webpack-ignore-dynamic-require": "^1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.17.1",
|
||||
|
@ -20,6 +20,27 @@
|
||||
"updateBuildableProjectDepsInPackageJson": true
|
||||
}
|
||||
},
|
||||
"build-workflow-engine": {
|
||||
"executor": "@nx/webpack:webpack",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"target": "node",
|
||||
"compiler": "tsc",
|
||||
"outputPath": "packages/twenty-server/src/workflow-worker/activepieces/engine/dist",
|
||||
"main": "packages/twenty-server/src/workflow-worker/activepieces/engine/src/main.ts",
|
||||
"tsConfig": "packages/twenty-server/tsconfig.build.json",
|
||||
"webpackConfig": "packages/twenty-server/src/workflow-worker/activepieces/engine/webpack.config.js",
|
||||
"generatePackageJson": true,
|
||||
"babelUpwardRootMode": true
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"optimization": true,
|
||||
"extractLicenses": true,
|
||||
"inspect": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"start": {
|
||||
"executor": "nx:run-commands",
|
||||
"dependsOn": ["build"],
|
||||
|
Loading…
Reference in New Issue
Block a user