2023-05-20 00:45:05 +12:00
|
|
|
{
|
|
|
|
"name": "@budibase/worker",
|
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
|
|
|
"executor": "@nx/esbuild:esbuild",
|
|
|
|
"outputs": ["{options.outputPath}"],
|
|
|
|
"options": {
|
|
|
|
"main": "packages/worker/src/index.ts",
|
|
|
|
"outputPath": "packages/worker/dist",
|
|
|
|
"outputFileName": "index.js",
|
|
|
|
"tsConfig": "packages/worker/tsconfig.build.json",
|
|
|
|
"assets": [
|
|
|
|
{
|
|
|
|
"glob": "**/*.hbs",
|
|
|
|
"input": "packages/worker/src/constants/templates",
|
|
|
|
"output": "."
|
|
|
|
}
|
|
|
|
],
|
2023-05-26 00:25:50 +12:00
|
|
|
"external": ["graphql/*", "deasync", "mock-aws-s3", "nock"],
|
2023-05-22 21:32:44 +12:00
|
|
|
"format": ["cjs"],
|
|
|
|
"esbuildOptions": {
|
|
|
|
"outExtension": {
|
|
|
|
".js": ".js"
|
2023-05-22 22:06:52 +12:00
|
|
|
},
|
|
|
|
"sourcemap": true
|
2023-05-22 21:56:41 +12:00
|
|
|
},
|
2023-05-22 22:06:52 +12:00
|
|
|
"minify": true,
|
2023-05-22 22:31:49 +12:00
|
|
|
"generatePackageJson": true,
|
|
|
|
"skipTypeCheck": true
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2023-05-22 22:33:10 +12:00
|
|
|
"skipTypeCheck": false,
|
|
|
|
"esbuildOptions": {
|
|
|
|
"sourcemap": false
|
|
|
|
}
|
2023-05-22 22:31:49 +12:00
|
|
|
}
|
2023-05-24 21:51:55 +12:00
|
|
|
},
|
|
|
|
"dependsOn": [
|
|
|
|
{
|
2023-05-24 23:08:39 +12:00
|
|
|
"projects": ["@budibase/types", "@budibase/string-templates"],
|
2023-05-24 21:51:55 +12:00
|
|
|
"target": "build"
|
|
|
|
}
|
|
|
|
]
|
2023-05-20 00:45:05 +12:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|