mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-26 18:02:51 +03:00
52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"name": "@affine/core",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"root": "apps/core",
|
|
"sourceRoot": "apps/core/src",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "nx:run-script",
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"{projectRoot}/**/*",
|
|
"{workspaceRoot}/packages/component/src/**/*",
|
|
"{workspaceRoot}/packages/debug/src/**/*",
|
|
"{workspaceRoot}/packages/graphql/src/**/*",
|
|
"{workspaceRoot}/packages/hooks/src/**/*",
|
|
"{workspaceRoot}/packages/jotai/src/**/*",
|
|
"{workspaceRoot}/packages/templates/src/**/*",
|
|
"{workspaceRoot}/packages/workspace/src/**/*",
|
|
{
|
|
"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", "{projectRoot}/public/plugins"]
|
|
}
|
|
}
|
|
}
|