mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-14 21:31:47 +03:00
57 lines
1.1 KiB
JSON
57 lines
1.1 KiB
JSON
{
|
|
"name": "@affine/core",
|
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "nx:run-script",
|
|
"dependsOn": [
|
|
{
|
|
"projects": ["tag:plugin"],
|
|
"target": "build",
|
|
"params": "ignore"
|
|
},
|
|
{
|
|
"projects": ["tag:infra"],
|
|
"target": "build",
|
|
"params": "ignore"
|
|
},
|
|
"^build"
|
|
],
|
|
"inputs": [
|
|
"{projectRoot}/.webpack/**/*",
|
|
"{projectRoot}/**/*",
|
|
"{projectRoot}/public/**/*",
|
|
"{workspaceRoot}/packages/**/*",
|
|
{
|
|
"env": "BUILD_TYPE"
|
|
},
|
|
{
|
|
"env": "PERFSEE_TOKEN"
|
|
},
|
|
{
|
|
"env": "SENTRY_ORG"
|
|
},
|
|
{
|
|
"env": "SENTRY_PROJECT"
|
|
},
|
|
{
|
|
"env": "SENTRY_AUTH_TOKEN"
|
|
},
|
|
{
|
|
"env": "NEXT_PUBLIC_SENTRY_DSN"
|
|
},
|
|
{
|
|
"env": "DISTRIBUTION"
|
|
},
|
|
{
|
|
"env": "COVERAGE"
|
|
}
|
|
],
|
|
"options": {
|
|
"script": "build"
|
|
},
|
|
"outputs": ["{projectRoot}/dist"]
|
|
}
|
|
}
|
|
}
|