2023-06-30 20:17:31 +03:00
|
|
|
{
|
2024-03-19 10:48:56 +03:00
|
|
|
"name": "@affine/web",
|
2023-10-18 18:30:08 +03:00
|
|
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
2023-06-30 20:17:31 +03:00
|
|
|
"targets": {
|
|
|
|
"build": {
|
|
|
|
"executor": "nx:run-script",
|
2023-08-04 02:05:46 +03:00
|
|
|
"dependsOn": [
|
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": [
|
|
|
|
"{projectRoot}/**/*",
|
2024-03-19 10:48:56 +03:00
|
|
|
"{workspaceRoot}/tools/**/*",
|
|
|
|
"{workspaceRoot}/packages/frontend/core/**/*",
|
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
|
|
|
},
|
2023-11-28 09:59:48 +03:00
|
|
|
{
|
|
|
|
"env": "BUILD_TYPE_OVERRIDE"
|
|
|
|
},
|
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"
|
|
|
|
},
|
|
|
|
{
|
2023-12-01 10:25:08 +03:00
|
|
|
"env": "SENTRY_DSN"
|
2023-07-20 05:44:50 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "DISTRIBUTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "COVERAGE"
|
2023-11-06 05:42:21 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "DISABLE_DEV_OVERLAY"
|
2023-11-28 09:59:48 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "CAPTCHA_SITE_KEY"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "SHOULD_REPORT_TRACE"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "TRACE_REPORT_ENDPOINT"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "R2_ACCOUNT_ID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "R2_ACCESS_KEY_ID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"env": "R2_SECRET_ACCESS_KEY"
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|