2023-06-30 20:17:31 +03:00
|
|
|
{
|
2023-07-18 19:53:10 +03:00
|
|
|
"name": "@affine/core",
|
2023-06-30 20:17:31 +03:00
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
|
|
|
"executor": "nx:run-script",
|
2023-08-04 02:05:46 +03:00
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"projects": ["tag:plugin"],
|
|
|
|
"target": "build",
|
|
|
|
"params": "ignore"
|
|
|
|
},
|
2023-08-29 13:07:05 +03:00
|
|
|
{
|
|
|
|
"projects": ["tag:infra"],
|
|
|
|
"target": "build",
|
|
|
|
"params": "ignore"
|
|
|
|
},
|
2023-08-04 02:05:46 +03:00
|
|
|
"^build"
|
|
|
|
],
|
2023-07-06 20:15:04 +03:00
|
|
|
"inputs": [
|
2023-08-04 02:05:46 +03:00
|
|
|
"{projectRoot}/.webpack/**/*",
|
2023-07-06 20:15:04 +03:00
|
|
|
"{projectRoot}/**/*",
|
2023-08-04 02:05:46 +03:00
|
|
|
"{projectRoot}/public/**/*",
|
2023-08-29 13:07:05 +03:00
|
|
|
"{workspaceRoot}/packages/**/*",
|
2023-07-18 07:59:25 +03:00
|
|
|
{
|
|
|
|
"env": "BUILD_TYPE"
|
2023-07-18 19:53:10 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "PERFSEE_TOKEN"
|
2023-07-20 05:44:50 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "SENTRY_ORG"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "SENTRY_PROJECT"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "SENTRY_AUTH_TOKEN"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "NEXT_PUBLIC_SENTRY_DSN"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "DISTRIBUTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "COVERAGE"
|
2023-07-18 07:59:25 +03:00
|
|
|
}
|
2023-07-06 20:15:04 +03:00
|
|
|
],
|
2023-06-30 20:17:31 +03:00
|
|
|
"options": {
|
|
|
|
"script": "build"
|
|
|
|
},
|
2023-08-04 02:05:46 +03:00
|
|
|
"outputs": ["{projectRoot}/dist"]
|
2023-06-30 20:17:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|